Info |
---|
All the estimates projected are based on tests performed for 24 hours on single Kubernetes namespace/single cluster concept with multiple concurrent users and a shared RDS for Bahmni Lite 1.0 release. |
Table of Contents |
---|
...
|
...
|
...
Lesser clinics cluster
|
...
Clinic setup - 2 frontdesk users, 2 doctors (4 users)**
Smaller clinic setup - 1 frontdesk user, 1 doctor (2 users)**
|
Cost Estimation Sheet with Results
Comprehensive test results and calculation estimates can be viewed in this google sheet document: Bahmni Lite Setup and Cost Estimation
The below analysis explains the various design factors that were taken into consideration during the performance test calculation process.
Smaller cluster (approx 40 concurrent users)
Info |
---|
t3.large instance is suggested for Bahmni lite implementation since the number of active pods may vary from “14 to 22” based on the requirement. t3.large supports upto 35 kubernetes pods and enables seamless deployments. |
Expand | ||
---|---|---|
| ||
Hardware Used For TestingNode (EC2: t3-large)
Database (AWS RDS service: db.t3.xlarge)
|
Report
Pre Patient Records in DB - 75000
4 users clinic setup (suggested)
1 to 10 clinics
4 users clinic setup (maximum*)
1 to 12 clinics
2 users clinic setup (suggested)
1 to 20 clinics
2 users clinic setup (maximum*)
1 to 24 clinics
Cost Estimation
Comprehensive approximate estimates are found in this document
Bahmni Lite Setup and Cost Estimation
...
(prior to running the test): 75000
The given hardware supported 40 concurrent users during our test with acceptable performance. The clinical activities performed under the test were
Activities | Total performed | Single user performed |
Patient Created | 5760 | 720 |
Patient Search | 8640 | 720 |
Patient Consultation | 5760 | 288 |
Patient Document Upload | 1440 | 720 |
Based on the above numbers & hardware, we recommend the following:
If the expected patient / traffic load matches the test data then, on the same hardware you can run up to 20 clinics (2 users per clinic) or 10 clinics (4 users per clinic).
If the expected patient / traffic load is LESS than 75% of the above test, then you can likely run up to 24+ clinics (with 2 users-per-clinic) or 12+ clinics (4 users per clinic).
Larger cluster (approx 70 concurrent users)
Info |
---|
m5.xlarge instance is suggested for Bahmni lite implementation on this setup since both the CPU and RAM availability is twice than t3.large and supports upto 58 kubernetes pods. |
Expand | ||
---|---|---|
| ||
HardwareNode (EC2: m5-xlarge)
Database (AWS RDS service: db.t3.xlarge)
|
Report
Pre Patient Records in DB - prior to running the tests: 90000
4 users clinic setup (suggested)
13 to 17 clinics
4 users clinic setup (maximum*)
13 to 20 clinics
2 users clinic setup (suggested)
25 to 35 clinics
2 users clinic setup (maximum*)
25 to 40 clinics
Cost Estimation
Comprehensive approximate estimates are found in this document
Bahmni Lite Setup and Cost Estimation
*- The maximum number of clinics are an approximate projection based on the performance test results and the test's higher demand requirement from norm. The maximum estimates should be considered when the average patient visits to the clinics are moderate to semi high.
**- The given hardware supported 70 concurrent users during our test with acceptable performance. The clinical activities performed under the test were
Activities | Total performed | Single user performed |
Patient Created | 10080 | 720 |
Patient Search | 14400 | 720 |
Patient Consultation | 10080 | 288 |
Patient Document Upload | 2160 | 720 |
Based on the above numbers & hardware, we recommend the following:
If the expected patient / traffic load matches the test data then, on the same hardware you can run up to 35 clinics (2 users per clinic) or 17 clinics (4 users per clinic).
If the expected patient / traffic load is LESS than 75% of the above test, then you can likely run up to 40+ clinics (2 users-per-clinic) or 20 clinics (4 users per clinic).
NOTE: The number of users assumed are based on the number of requests sent by a user on an average to the server and typical clinic setup observed from real time sources.
100+ Concurrent Users Long Duration Test Data
For detailed Test results and more scenarios please see this wiki page: Bahmni Lite Performance Long Duration Simulation Baselining