Table of Contents |
---|
Overview
...
- How long does it take to export 100, 1000, 2500, 5000 records?
- Use it for up to 5 concurrent users.
- Look for a memory trend and CPU usage
Summary
Test report for Bulk Edits users-app functionality 2022-10-26.
- 5k records per user, 5 users simultaneously (25k records total) can be uploaded in about 6 min 13 seconds,
- The files with identifiers should be strictly determined.
- The memory of all modules during the tests for 5000 records with 5 parallel was stable, the memory gap in figure 1 was cause by the import data process.
- Instance CPU usage
- maximal value for text 4VU (0.1-1-2.5k-5k) was 26%
- maximal value for text 5VU (0.1-1-2.5k-5k) was 27%
- Service CPU
...
- usage for test 5VU (0.1-1-2.5k-5k)
- CPU of mod-bulk-operations 126%, for all other modules did not exceed
...
- 22%.
- RDS CPU utilization did not exceed
...
- 43% for 5jobs
...
- 5000 records and
...
- 34% for
...
- 4jobs 5k
...
- .
Recommendations & Jiras
For further testing Users' bulk editing can be performed with 10k records
...
Infrastructure
PTF -environment
- 9 m6i.2xlarge EC2 instances located in US East (N. Virginia)us-east-1
- 2 instances of db.r6.xlarge database instances, one reader, and one writer
- MSK ptf-kakfka-1
- 4 m5.2xlarge brokers in 2 zones
Apache Kafka version 2.8.0
EBS storage volume per broker 300 GiB
- auto.create.topics.enable=truec
- log.retention.minutes=480
- default.replication.factor=3
...
Comparison with previous results
5VU, Records | Nolana | Orchid |
---|---|---|
2500 | 2 min 9 sec | 4 minutes 4 seconds |
5000 records | 3 min 47 sec | 6minutes 13 seconds |
Memory usage
Figure 1 shows memory usage during the testing with 1-5 concurrent and 100-1000-2500-5000 records
...
Errors in logs during testing
Code Block |
---|
2023-03-22T19:47:19.986Z
19:47:19 [] [] [] [] ERROR ? HTTP response code=404 msg=No suitable module found for path /holdings-sources/ for tenant fs09000000
ncp5/okapi-b/8dcac0276f1c46cba21d6e5814ec6cd0
Field Value
@ingestionTime 1679514444708
@log 054267740449:ncp5-folio-eis
@logStream ncp5/okapi-b/8dcac0276f1c46cba21d6e5814ec6cd0
@message 19:47:19 [] [] [] [] ERROR ? HTTP response code=404 msg=No suitable module found for path /holdings-sources/ for tenant fs09000000
@timestamp 1679514439986 |
...
...
2023-03-22T19:47:19.985Z
19:47:19 [${FolioLoggingContext:requestid}] [${FolioLoggingContext:tenantid}] [${FolioLoggingContext:userid}] [${FolioLoggingContext:moduleid}] ERROR oldingsDataProcessor Holdings source was not found by id=null
ncp5/mod-bulk-operations/bfcbe6d984e1443bb3e2e49dbd14601e
Field Value
@ingestionTime 1679514442775
@log 054267740449:ncp5-folio-eis
@logStream ncp5/mod-bulk-operations/bfcbe6d984e1443bb3e2e49dbd14601e
@message 19:47:19 [${FolioLoggingContext:requestid}] [${FolioLoggingContext:tenantid}] [${FolioLoggingContext:userid}] [${FolioLoggingContext:moduleid}] ERROR oldingsDataProcessor Holdings source was not found by id=null
@timestamp 1679514439985
Appendix
Infrastructure
PTF -environment ncp5 [ environment name]
...
Modules memory and CPU parameters:
Module |
SoftLimit
XMX
Task Def. Revision | Module Version |
desiredCount
CPUUnits
RWSplitEnabled
HardLimit
Task Count | Mem Hard Limit | Mem Soft limit | CPU units | Xmx | MetaspaceSize | MaxMetaspaceSize |
ncp5-pvt | |||||||||
Wed Sep 13 09:54:48 UTC 2023 | |||||||||
mod-agreements | 6 | 579891902283.dkr.ecr.us-east-1.amazonaws.com/folio/mod-agreements:5.5.2 | 2 | 1592 | 1488 | 128 | 968 | 384 | 512 |
mod- |
bulk- |
operations |
17 | 579891902283.dkr.ecr.us-east-1.amazonaws.com/folio/mod-bulk-operations:1.0.6 | 2 | 3072 | 2600 | 1024 | 1536 | 384 | 512 |
mod-users- |
bl |
8 | 579891902283.dkr.ecr.us-east-1.amazonaws.com/folio/mod-users-bl: |
7. |
5.0 |
2 | 1440 |
1152 |
512 |
922 | 88 | 128 |
mod- |
inventory- |
storage |
2600
2048
12 | 579891902283.dkr.ecr.us-east-1.amazonaws.com/folio/mod-inventory-storage:26.0.0 |
2 | 4096 |
3690 |
2048 |
3076 | 384 | 512 |
mod-data-export- |
worker |
1844
1292
10 | 579891902283.dkr.ecr.us-east-1.amazonaws.com/folio/mod-data-export- |
worker: |
3.0. |
13 | 1 | 3072 |
2800 |
1024 | 2048 |
384 |
512 |
mod- |
inventory |
896
322
128
1024
128
128
2580
2048
128
3096
384
512
896
nginx-okapi:2022.03.02
128
1024
12 | 579891902283.dkr.ecr.us-east-1.amazonaws.com/folio/mod-inventory:20.0.6 | 2 | 2880 | 2592 | 1024 | 1814 | 384 | 512 | |
nginx-okapi | 7 | 579891902283.dkr.ecr.us-east-1.amazonaws.com/folio/nginx-okapi:2023.06.14 | 2 | 1024 | 896 | 128 | 0 | 0 | 0 |
okapi-b | 8 | 579891902283.dkr.ecr.us-east-1.amazonaws.com/folio/okapi:5.0.1 | 3 | 1684 | 1440 | 1024 | 922 | 384 | 512 |
mod-notes | 6 | 579891902283.dkr.ecr.us-east-1.amazonaws.com/folio/mod-notes:5.0.1 | 2 | 1024 | 896 | 128 | 952 | 384 | 512 |
mod-data-export-spring | 8 | 579891902283.dkr.ecr.us-east-1.amazonaws.com/folio/mod-data-export-spring:2.0.2 | 1 | 2048 | 1844 | 256 | 1536 | 384 | 512 |