Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

IN PROGRESS

Table of Contents

...

Per

Jira Legacy
serverSystem Jira
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyPERF-293
the following tests were performed using the data export workflow (bulk edits, and edifacts) to determine what happens to the export workflows when mod-data-export-worker (with two nodes) fails and to what load can the exports run successfully?. 

Infrastructure

PTF -environment

  • 10 m6i.2xlarge EC2 instances
  • 2 instances of db.r6.xlarge database instances, one reader and one writer
  • MSK
    • 4 m5.2xlarge brokers in 2 zones
    • auto.create-topics.enable = true
    • log.retention.minutes=120
    • 2 partitions per DI topics
  • okapi (running tasks -3)
    • 1024 CPU units, 1360 MB mem
  • mod-users (running tasks -2) 
    • 128 CPU units, 896 MB mem
  • mod-data-export (running tasks -1) 
    • 1024 CPU units, 896 MB mem
  • mod-data-export-spring (running tasks -1) 
    • 256 CPU units, 1844 MB mem
  • mod-data-export-worker (running tasks -1) 
    • 256 CPU units, 1844 MB mem
  • mod-notes (running tasks -2) 
    • 128 CPU units, 896 MB mem
  • mod-agreements (running tasks -2) 
    • 128 CPU units, 1382 MB mem

#

modules

task definition

running tasks 

CPU

memory

changed to

memoryReservation changed to

maxMetaspaceSize

Xmx

#

modules

task definition

running tasks 

CPU

memory

changed to

memoryReservation

changed to

maxMetaspaceSize

Xmx

1

mod-inventory-storage

102102422081952512m1440m
2okapi33102416841440512m922m
4
3mod-invoice-storage32102418721536512m1024m
5
4mod-orders52102420481440512m896m
11
5mod-agreements5212815921488512m968m
6

mod-data-export-worker

22210243072 2800612m 2128m 
7

mod-data-export-spring

6125620481844512m1292m
8mod-notes321281024896128m768m
9mod-orders-storage421281024896128m768m
10mod-inventory42102428802592512m1814m

Software Versions

  • mod-data-export-worker: 1.4.10
  • mod-data-export-spring: 1.4.5
  • mod-agreements: 5.2.2
  • mod-notes: 3.1.2
  • mod-users: 18.3.0
  • mod-inventory-storage-24.1.0
  • mod-inventory-18.2.2
  • mod-orders-12.4.3
  • mod-orders-storage-13.3.3
  • okapi-4.14.2

Test Runs (initial assumption of the data sets for combo testing)

Bulk edit files are located at https://github.com/folio-org/perf-testing/tree/Bulk-edit/workflows-scripts/Bulk-edit

Test Run

Edifact

Bulk-edit

user barcodes

Bulk edit

item barcodes

Memory Behavior (Trend)CommentTime to process Results

#1








#2

-5 jobs-5k records + 5 jobs -10k records5 jobs-5k records + 5 jobs -10k recordsmemory usage increases for mod-data-export-worker at the beginning of the test but becomes stable at 96%. Stable for all other modules.20 jobs total40 minutes for all

18 pass 2 failed

Jira Legacy
serverSystem Jira
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODEXPW-264

#3









Test results

Test Run

EdifactTime to process Results

Bulk-edit

user barcodes

Time to process Results

Bulk edit

item barcodes

Memory Behavior (Trend)Comment

Time to process ResultsComment
#1



















#2-

5 jobs -5k records 6-7 min4 Successful -1 failed5 jobs -5k records20 min *Successful

Jira Legacy
serverSystem Jira
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODEXPW-264

-

5 jobs -10k records11-12 min4 Successful -1 failed5 jobs -10k records33 min *Successful

Jira Legacy
serverSystem Jira
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODEXPW-264

#3



















 * - average job processing time for the number of records specified ( upload identifiers + editing)

Failover testing. The behavior of the workflows when 'killing' the module

...