IN-PROGRESS
Overview
Backend:
- mod-circulation-19.2.7
- mod-circulation-storage-12.1.4
- mod-inventory-16.1.3
- mod-inventory-storage-19.4.4
- mod-authtoken-2.6.0
- mod-pubsub-1.3.3
- okapi-4.3.3 (also with 4.2.2)
Frontend:
- folio_circulation-4.0.1
- Item Check-in (folio_checkin-4.0.1)
- Item Check-out (folio_checkout-5.0.1)
Environment:
- 61 back-end modules deployed in 110 ECS services
- 3 okapi ECS services
- 8 m5.large EC2 instances
- 2 db.r5.xlarge AWS RDS instance
- INFO logging level
High Level Summary
Test Runs
Test | Virtual Users | Duration | OKAPI log level | Profiled |
1. | 1 | 30 mins | INFO | |
2. | 5 | 30 mins | INFO | |
3. | 8 | 30 mins | INFO | |
4. | 20 | 30 mins | INFO | |
5. | 20 | 24 Hours | INFO |
Results
Response Times
Average (seconds) | 50th %tile (seconds) | 75th %tile (seconds) | 95th %tile (seconds) | |||||
Check-in | Check-out | Check-in | Check-out | Check-in | Check-out | Check-in | Check-out | |
1 user | 0.967 | 1.989 | 0.889 | 1.832 | 0.984 | 2.201 | 1.254 | 2.815 |
5 users | 1.053 | 2.171 | 0.981 | 1.969 | 1.114 | 2.253 | 1.528 | 3.370 |
8 users | 1.193 | 2.244 | 1.076 | 2.022 | 1.339 | 2.372 | 1.895 | 3.544 |
20 users | 2.391 | 3.901 | 1.639 | 3.073 | 2.263 | 4.12 | 4.811 | 8.784 |
Slow APIs taking more than 100 ms to return in 8-users test
75th percentile times in seconds.
API | 1 user GR (75th %tile) | 1 user HS (75th %tile) | 5 users GR (75th %tile) | 5 users HS (75th %tile) | 8 users HS (75th %tile) | 8 users HS (75th %tile) | 20 users GR (75th %tile) | 20 users HS (75th %tile) |
---|---|---|---|---|---|---|---|---|
Get circulation/loans | 0.345 | 0.349 | 0.365 | 0.406 | ||||
Get inventory/items | 0.208 | 0.186 | 0.208 | 0.222 | ||||
POST checkin-by-barcode | 0.682 | 0.593 | 0.631 | 0.664 | ||||
POST checkout-by-barcode | 0.750 | 0.717 | 0.688 | 0.784 | ||||
GET automated-patron-blocks | 0.069 | 0.163 | 0.085 | 0.180 |
Average | 50th Percentile | 75th percentile | 95th percentile | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 user | ||||||||||||||||
5 users | ||||||||||||||||
8 users | ||||||||||||||||
20 users |
Longevity test
JVM Profiling
Database
The following queries took more than 100ms to execute under load
The following table showing average CPU and memory percentages.CPU and Memory Utilization
1 user | 5 users | 8 users | 20 users | 400 users | |
---|---|---|---|---|---|
Okapi CPU | |||||
Okapi Memory |