Combined test for data export worker v2.0.3- (Nolana) 2022-12-01


Overview

Per PERF-329 - Getting issue details... STATUS the following tests were performed using the data export workflow (bulk edits, eHoldings, circulation log, and edifacts) to determine what load can the exports run successfully together 

Infrastructure

PTF -environment 

  • 9 m6i.2xlarge EC2 instances located in US East (N. Virginia)us-east-1 AWS region (comparing to 9 m6i.2xlarge EC2 instances located in US West (Oregon)us-west-2 AWS region for Nolana 2.1.0-SNAPSHOT.85)
  • 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-data-export-spring1.5.021256204818445121536 (1236 in MG)
mod-data-export-worker2.0.3621024307226005122048 (1536 in MG)
mod-users19.0.012128 (258 in MG)1024896128768
mod-notes4.0.0121281024896128m322 (768m in MG)
mod-inventory19.0.112102428802592512m1814m

mod-inventory-storage

25.0.112102422081952512m1440m
okapi4.14.713102416841440512m922m
mod-orders12.5.012102420481440512m896m
mod-orders-storage13.4.0121281024896128m768m
mod-circulation23.3.01210241024896128m768m
mod-circulation-storage15.0.012102415361440512m896m
mod-agreements5.4.01212815921488512m968m
nginx-okapinginx-okapi:2022.03.02121281024896--

MG- Morning Glory release

Summary

Test report for combined mod-data-export-worker functionality 2022-12-01. 

  •  24 different concurrent jobs can be performed successfully in about 19 minutes (time to process the longest one - 2 jobs -10k item records).
  • Memory trend: memory usage increases for mod-data-export-worker during the test from 38% up to 58%. No leak suspect was found in the heap dump. Stable for all other modules.
  • CPU - nginx-okapi, nod-configuration, and mod-orders-storage is spiking up to 250% at the start of tests. For mod-users-180%, mod-notes-130%, and mod-agreements-200%. For all other modules did not exceed 75%. CPU utilization increases proportionally to the number of jobs started.
  • For all tests - RDS CPU utilization did not exceed 77%.

In general, Nolana is more stable compared to the Morning Glory release. All were tested with a high load. For PERF-335 - Getting issue details... STATUS , it can be reproduced only if the load on mod-data-export-worker is high and has a solution UIBULKED-182 - Getting issue details... STATUS for Nolana release.

Results