Live statistics: Usage of mobile app “LibBooks”

 

Charts below on this page show live statistics of the usage of “LibBooks” – a mobile app helping people checking library book loans and reservations.

Events generated by the mobile app are sent through REST API (POST https://api.rtstatistics.com/dataset/{id}/items) directly from mobile devices. rtstatistics.com does the number crunching to generate the statistics. This page queries the statistics through REST API (GET https://api.rtstatistics.com/statistics/{id}/detail). The delay from the event gets received to updated statistics can be queried is typically less than 1 second.

Charts on this page use c3.js+d3.js or Google Charts for drawing the charts, and cjtsd-js is used for transforming the query results into the format that c3.js and Google Charts require.

Source code of this demo can be found here.

You can adjust the refresh interval of these charts manually. During refreshes, if new statistics are fetched from the server, the charts will reflect the changes. If you don’t touch it for a few minutes, the interval will be automatically increased until reaching 60 seconds.

Refresh interval (seconds):      

 

Total event counts per 5 minutes (UTC)

This chart shows total number of usage events collected from the mobile app per 5 minutes. Statistics of last 48 hours are shown.

The chart is drawn with c3.js and displays UTC time.

 

Unique users per 1 hour (Melbourne time)

Every event sent from the mobile app contains an installation id which is a UUID generated during installation. By counting the number of unique installation ids, we can find out how many unique users are actively using this mobile app.

The chart shows number of unique users per 1 hour. Statistics of last 48 hours are shown.

The chart is drawn with c3.js and displays Melbourne time (with Daylight saving observed when applicable).

 

UpdateAll operation time (seconds) by number of library accounts (UTC)

Today

若在墙里可能看不见图

Yesterday

若在墙里可能看不见图

This month

若在墙里可能看不见图

Last month

若在墙里可能看不见图

Multiple library accounts can be configured in the mobile app. Loans and reservations of all library accounts are updated together in parallel. These charts show the minimal, maximal, and average time (number of seconds) used by the UpdateAll operation. Statistics for users with different numbers of library accounts are calculated separately.

As you can see from the charts, time used by UpdateAll operation probably depends more on network condition and number of books involved rather than number of library accounts.

The charts are drawn with Google Charts library and display UTC time.

 

Other resources