Data Export Test Report (Nolana)2023/01/10


















Overview

  1. In this workflow, we are checking the performance of exporting MARC Bib records workflow running in the Nolana release - PERF-345 - Getting issue details... STATUS

We tested with 1 virtual user for 1000, 100K, 200k, and 500K records. 


Summary

  1. Data Export is stable for all test runs up to 500K Instance records.
  2. No issues were observed for even exporting 500K Instance records. 
  3. Data Export time is about 2 times decreased compared to the KIWI release probably because of the services have a lot more CPU and RAM allocated. For further investigation PERF-411 - Getting issue details... STATUS

Test Runs

Job profile -"srs - holdings and items"

Test performed from JMeter. Test name "dataExport_exportMARCBibRecords_nolana" from Carrier.io export bucket. (For all 4 tests allocated time is 4h by default, with 2 min pauses between each test)

Test

Total instances

1.

1000

2.100,000
3.200,000
4.500,000

Test Results with Comparisons

Test

Total instances

1 User - Avg Total time to Export instances (Nolana)1 User - Avg Total time to Export instances (KIWI)

1.

1000

20 seconds1 minute
2.100,00035 minutes1 hour 8 minutes
3200,0001 hour 15 minutes-
4.500,0003 hours 1 minute5 hours 48 minutes

Service Memory Utilization

Service Memory Utilization is stable.

CPU Utilization

CPU utilization is stable. Services` CPU utilization did not exceed 13% for 100, 100K, and 500K records Data Exports with the job profile -"srs - holdings and items".

RDS CPU Utilization

Infrastructure


PTF -environment ncp3

  • 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-kakfa-3
    • 4 m5.2xlarge brokers in 2 zones
    • Apache Kafka version 2.8.0

    • EBS storage volume per broker 300 GiB

    • auto.create.topics.enable=true
    • log.retention.minutes=480
    • default.replication.factor=3


Modules memory and CPU parameters

Modules

Version

Task Definition

Running Tasks 

CPU

Memory

MemoryReservation

MaxMetaspaceSize

Xmx

mod-inventory-storage

25.0.332

1024

(128 in KIWI)

2208

(864 in KIWI)

1952

(536 in KIWI)

512m1440m
okapi4.14.7131024

1684

(1512 in MG)

1440

(1360 in MG)

512m922m
mod-authtoken2.12.032

512

(128 in MG)

1440

(1024 in MG)

1152

(896 in MG)

128

922

(768 in MG)

mod-source-record-storage5.5.242

1024

(128 in KIWI)

1536

(1440 in KIWI)

1440

(896 in KIWI)

512m908m
mod-data-export4.6.121

1024

(128 in KIWI)

1024

(512 in KIWI)

896

(360 in KIWI)

128m768m
mod-source-record-manager3.5.642

1024

4096

(2048 in MG)

3688

(1844 in MG)

512m

(800M in MG)

2048m

(1024m in MG)

nginx-okapi2022.03.02121281024896--

KIWI- KIWI release

MG- Morning Glory release

Front End:

  • Data export manager (folio_data-export-5.3.1)

Data Export CSV files used to run test

All instance records in the below files are source=MARC

1k_mrc_bib.csv

100k_mrc_bib.csv

200k_mrc_bib.csv

500k_mrc_bib.csv