-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RnD] Test number of Records Synced/min-sec limits with Android FHIR SDK using Room Database #3557
Comments
Some ref
We can talk to @Mstjamush about how to create mock records on the Server side and also attach a practitioner who will sync these records. We can create some (3) practitioners who will represent having created 50, 100, and 1000 records to test |
We can also document the tools used away from what is provided by the emulator and Android Studio |
Am also not sure how we can mimic various internet speeds and how it affects the initial sync load times - TBD |
To test different connection speeds, we can test on an emulator and on a physical device. With an emulator, it's readily possible to limit the device speed. |
Actions:
|
Look out for any processing in the SDK or OpenSRP that may be inefficient and which introduce [unnecessary] overheads |
It's easier going by records incrementally in bundles as suggested by @f-odhiambo, then run the tests in batches. |
Here are the results for time taken during initial sync for different load sizes.
|
Describe the issue to be researched
We need to determine how many records, including binary files (pre-authentication) and patient-related data (post-authentication), can be synchronized at any given time when using the Android FHIR SDK. This involves testing the app's performance under normal internet speeds, assessing how different data types affect the sync process, and identifying any bottlenecks.
Background:
The Android FHIR SDK allows for the integration of FHIR resources into Android apps using Room as a local database. Syncing various types of data, such as binary files (pre-authentication) and sensitive patient data (post-authentication), introduces potential variations in performance and security needs. Understanding these limitations and how data types impact sync efficiency is crucial.
Describe the goal of the research
The primary goal is to establish how many records can be synced under normal internet speeds, with an additional focus on both pre-authentication binary data and post-authentication patient data. We aim to:
Artifacts to be produced:
Describe the methodology
Additional resources:
Acceptance Criteria
Needs to be refined
Contacts:
The decision will be based on performance thresholds observed during testing for both pre-and post-authentication data, along with potential optimizations to improve overall sync performance.
The text was updated successfully, but these errors were encountered: