Major performance improvement on the DHIS2 Android Tracker Capture & Event Capture

Hi all,

The Android team has been working closely with our colleagues at HISP South Africa and together we have manged to cut down the amount of data used and the amount of requestes when logging in, doing the first synchronising of meta data and sending data back to the server.

  • We have implemented bulk sending of tracker data (tracked entity instances, enrollments and events) to the server.

  • We have removed a lot of unnecessary calls to the web API and optimized them.

  • In Event Capture we have reduced the amount of Events that is auto downloaded on the device. Before it was 200, now we have reduced it to 50. If this is a problem for anyone, please contact me.

For the perfomance improvements, we found n the South African test server that:

  • First login with synchronising meta data, data usage was reduced from 4.2 MB to 40 KB.

  • Sending of data: 1 Tracked entity instance with 1 Enrollment and 4 events was reduced from 25 KB to 5 KB. Amount of requests dropped by almost 50%

Both Tracker Capture and Event Capture should be available on Google Play today and works for DHIS 2.22 and 2.23. For older versions of DHIS2 (2.20 and 2.21), the new Android apps will be available on our Github page soon. Old versions will not have bulk sending of all tracker data, only events.

Regards,

Erling - DHIS2 Android Team

Hi Erling,

Thanks for assisting to make these improvements – it will definitely have a major impact on efficiency of the android apps going forward. It has been a pleasure for the team to work with you from HISP-SA side in improving this – thanks for your responsiveness to the issues encountered. J

Regards,

Elmarie Claasen

Hisp logo

Project Manager

Health Information Systems Program

Tel: 041-367 1027

Cell: 082 374 2209

E-mail: elmarie@hisp.org

Skype: elmarie.claasen52

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer . Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission.
If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.

···

From: Dhis2-users [mailto:dhis2-users-bounces+elmarie=hisp.org@lists.launchpad.net] On Behalf Of Erling Fjelstad
Sent: 28 April 2016 10:04 AM
To: DHIS 2 Developers list; DHIS 2 Users list
Subject: [Dhis2-users] Major performance improvement on the DHIS2 Android Tracker Capture & Event Capture

Hi all,

The Android team has been working closely with our colleagues at HISP South Africa and together we have manged to cut down the amount of data used and the amount of requestes when logging in, doing the first synchronising of meta data and sending data back to the server.

  • We have implemented bulk sending of tracker data (tracked entity instances, enrollments and events) to the server.

  • We have removed a lot of unnecessary calls to the web API and optimized them.

  • In Event Capture we have reduced the amount of Events that is auto downloaded on the device. Before it was 200, now we have reduced it to 50. If this is a problem for anyone, please contact me.

For the perfomance improvements, we found n the South African test server that:

  • First login with synchronising meta data, data usage was reduced from 4.2 MB to 40 KB.

  • Sending of data: 1 Tracked entity instance with 1 Enrollment and 4 events was reduced from 25 KB to 5 KB. Amount of requests dropped by almost 50%

Both Tracker Capture and Event Capture should be available on Google Play today and works for DHIS 2.22 and 2.23. For older versions of DHIS2 (2.20 and 2.21), the new Android apps will be available on our Github page soon. Old versions will not have bulk sending of all tracker data, only events.

Regards,

Erling - DHIS2 Android Team

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.

Thank you Erling. Well done to the team as well. Already testing the app.

image

···

On Thu, Apr 28, 2016 at 11:25 AM, Elmarie Claasen elmarie@hisp.org wrote:

Hi Erling,

Thanks for assisting to make these improvements – it will definitely have a major impact on efficiency of the android apps going forward. It has been a pleasure for the team to work with you from HISP-SA side in improving this – thanks for your responsiveness to the issues encountered. J

Regards,

Elmarie Claasen

Project Manager

Health Information Systems Program

Tel: 041-367 1027

Cell: 082 374 2209

E-mail: elmarie@hisp.org

Skype: elmarie.claasen52

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer . Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission.
If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.

From: Dhis2-users [mailto:dhis2-users-bounces+elmarie=hisp.org@lists.launchpad.net] On Behalf Of Erling Fjelstad
Sent: 28 April 2016 10:04 AM
To: DHIS 2 Developers list; DHIS 2 Users list
Subject: [Dhis2-users] Major performance improvement on the DHIS2 Android Tracker Capture & Event Capture

Hi all,

The Android team has been working closely with our colleagues at HISP South Africa and together we have manged to cut down the amount of data used and the amount of requestes when logging in, doing the first synchronising of meta data and sending data back to the server.

  • We have implemented bulk sending of tracker data (tracked entity instances, enrollments and events) to the server.
  • We have removed a lot of unnecessary calls to the web API and optimized them.
  • In Event Capture we have reduced the amount of Events that is auto downloaded on the device. Before it was 200, now we have reduced it to 50. If this is a problem for anyone, please contact me.

For the perfomance improvements, we found n the South African test server that:

  • First login with synchronising meta data, data usage was reduced from 4.2 MB to 40 KB.
  • Sending of data: 1 Tracked entity instance with 1 Enrollment and 4 events was reduced from 25 KB to 5 KB. Amount of requests dropped by almost 50%

Both Tracker Capture and Event Capture should be available on Google Play today and works for DHIS 2.22 and 2.23. For older versions of DHIS2 (2.20 and 2.21), the new Android apps will be available on our Github page soon. Old versions will not have bulk sending of all tracker data, only events.

Regards,

Erling - DHIS2 Android Team

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp