Skip to end of banner
Go to start of banner

Combined test for data export worker- part II (Morning Glory) 2022-10-07

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

IN PROGRESS

Overview

Per PERF-293 - Getting issue details... STATUS 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
4mod-invoice-storage32102418721536512m1024m
5mod-orders52102420481440512m896m
11mod-agreements5212815921488512m968m



























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








#3








Test results

Test Run

Edifact

Bulk-edit

user barcodes

Bulk edit

item barcodes

Memory Behavior (Trend)CommentTime to process Results
#1













#2













#3













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

  • mod-data-export-worker
  • mod-data-export-spring


Edifact

Bulk-edit

user barcodes

Bulk edit

item barcodes

mod-data-export-worker


mod-data-export-spring




Memory Trends of Repeated concurrent Edifact jobs:

Concurrent Edifact exports (10 jobs)

Memory usage of concurrent Bulk Edit Items AppBulk Edit Users App -20 jobs total

10 parallel bulk edits for users for 5 of 10k and 5 of 5 k records can be performed simultaneously with 10 parallel bulk edits for items - 5 of 10k records and 5 of 5k records.

18 out of 20 -successful

For 2 jobs functional issues found MODEXPW-264 - Getting issue details... STATUS

  • Memory trend: memory usage increases for mod-data-export-worker at the beginning of the test but becomes stable at 96%.


CPU usage

Test #1

pic#1 Memory usage mod-data-export-worker/spring

pic#2 CPU usage


Test #2

  • No labels