Data Import Test Report OL enabled + background activities



Overview

This document contains the results of testing Data Import in Kiwi with OL enabled + background activities (Check-in/Check-out test with 8 users).


Infrastructure 

  • 6 m5.xlarge 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
  • mod-inventory memory
    • 256 CPU units, 1814MB mem
    • inventory.kafka.DataImportConsumerVerticle.instancesNumber=10
    • inventory.kafka.MarcBibInstanceHridSetConsumerVerticle.instancesNumber=10
    • kafka.consumer.max.poll.records=10
  • mod-inventory-storage
    • 128 CPU units, 544MB mem
  • mod-source-record-storage
    • 128 CPU units, 908MB mem
  • mod-source-record-manager
    • 128 CPU units, 1292MB mem
  • mod-data-import
    • 128 CPU units, 1024MB mem


Software versions

  • mod-data-import:2.2.0
  • mod-inventory:18.0.4
  • mod-inventory-storage:22.0.2-optimistic-locking.559
  • mod-source-record-storage:5.2.5
  • mod-source-record-manager:3.2.6


Results

Tests performed:




Profile

Duration

KIWI WO background

activities

DurationBegan UTCCheckIn averageCheckOut averageLink to CheckIn-CheckOut chart

5K MARC Create

PTF - Create 25 min, 8 min (05:32.264) 5 min10:42 AM 022.01.101.297 2.449click to jump

5K MARC Update

PTF - Updates Success - 111 min, 13 min7 min11:20 AM 2022.01.101.3152.469click to jump

10K MARC Create

PTF - Create 211 min , 14 min 13 min2:44 PM 2022.01.101.4072.795click to jump
10K MARC UpdatePTF - Updates Success - 122 min, 24 min15 min3:26 PM 2022.01.101.6913.041click to jump
25K MARC CreatePTF - Create 223 mins, 25 mins, 26 mins31 min8:55 AM 2022.01.111.5362.962click to jump
25K MARC UpdatePTF - Updates Success - 127 min, 40 mins, 56mins33 min9:56 AM 2022.01.111.5892.997click to jump
50K MARC CreatePTF - Create 240 mins, 43mins, 63 min12:45 PM  2022.01.121.7833.231click to jump
50K MARC UpdatePTF - Updates Success - 164 minFAILED3:56 PM  2022.01.12--

Вelow are the general timings for check-in check-out.  The horizontal axis shows the number of mrs records in thousands

We can see her  an exponential increase of the import time depending on the file size

also there a slight linear increase in the average latency for the  check-in check-out

It can be seen from the graphs below that - after the start of the data-import, the check-in response time increases sharply from about 0.6 seconds to 3 seconds,

the check-out time increases accordingly from 1 to 6 seconds, then further the time gradually returns to its previous value during the entire test process.


check-in check out time chart for 5K create

at the start of the date-import 5K, delays for the CI increase from average 0.8 up to 3 sec sharply  , then gradually return to its average value 0.8 sec during 5 min (all time of data import)

for CI same process with same times but values are greater of delay  in 1.8 up to 5 sec than return to average during 5 min

5K DIaverage delaypeakreturn time
Check In0.8 sec3 sec5 min
Check out1.8 sec5 sec5 min

check-in check out time chart for 5K update


check-in check out time chart for 10K create


10K DIaverage delaypeakreturn time
Check In0.8 sec5 sec11 min
Check out1.8 sec7 sec11 min

check-in check out time chart for 10K update

check-in check out time chart for 25K create

25K DIaverage delaypeakreturn time
Check In0.8 sec3 sec15 min
Check out1.8 sec5 sec15 min

heck-in check out time chart for 25K update