Technical architecture
Last updated
Was this helpful?
Last updated
Was this helpful?
Most public health systems have a tiered structure β beginning with home care, followed by community, primary, and secondary+ care. The more distributed the tier, the more interruptions it faces while accessing the internet.
Therefore, a system that supports community and primary care tiers has to be offline-first, by design. Agni achieves this through a two-way synchronization (sync) process, illustrated below.
Sync operates in the background, on a 15-minute schedule. As and when the network is available, 2-way incremental sync takes place β the mobile app sends new and updated data to the server, and the server does the same.
The app always initiates this βconversationβ. This distributed architecture reduces load on the server by reducing the likelihood of concurrent requests.