← Back to team overview

dhis2-users team mailing list archive

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

Follow ups