Skip to end of banner
Go to start of banner

Data Import with Check-ins Check-outs (Quesnelia)[non-ECS] MSK instance type comparison

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 »

Overview IN PROGRES

This document contains the results of testing workflows Check-in/Check-out and Data Import for MARC Bibliographic records in the Quesnelia release with a new MSK instance type. The main idea is to see how the m7g series affects FOLIO performance. Compared results for main workflows with different instance types: kafka.m5.2xlarge against kafka.m7g.2xlarge.

Ticket: PERF-921 - Getting issue details... STATUS

Summary

  • Comparing kafka.m5.2xlarge against kafka.m7g.2xlarge instance type
    • Check-in / Check-out perform better in ........  
    • DI durations ..........
  • Resource utilization
    • Average CPU utilization did not exceed -----
    • Memory .......
    • Average DB CPU usage 
    • Average connection count

Test Runs 

Test #

MSK instance type

Scenario

Load level
1kafka.m5.2xlargeCICO + DI MARC Bib Create 8 users + 5K, 25K sequentially
2DI MARC Bib Create5K, 25K sequentially
3CICO + DI MARC Bib Update 8 users + 5K, 25K sequentially
4DI MARC Bib Update5K, 25K sequentially
5kafka.m7g.2xlargeCICO + DI MARC Bib Create 8 users + 5K, 25K sequentially
6DI MARC Bib Create5K, 25K sequentially
7CICO + DI MARC Bib Update 8 users + 5K, 25K sequentially
8DI MARC Bib Update5K, 25K sequentially

Test Results

This table shows results of Check-In/Check-out and Data Import create and update jobs.

The only difference between tests is MSK cluster instance type. Cluster ptf-mobius-testing2 has kafka.m5.2xlarge and cluster PERF-921 has kafka.m7g.2xlarge

Profile
MARC File


DI Duration

Quesnelia (hh:mm:ss)

Check In, Check Out Response time (8 users)

Quesnelia

MSK cluster: ptf-mobius-testing2

Check In, Check Out Response time (8 users)

Quesnelia

MSK cluster: PERF-921


MSK cluster: ptf-mobius-testing2

MSK cluster: PERF-921


CI Average secCO Average secCI Average secCO Average sec
DI MARC Bib Create (PTF - Create 2)5K.mrc00:02:54





25K.mrc00:12:49




DI MARC Bib Update (PTF - Updates Success - 1)5K.mrc00:03:14





25K.mrc00:15:30




Check-in/Check-out without DI

ScenarioLoad levelRequest

Response time, sec
Quesnelia

MSK cluster: ptf-mobius-testing2

Response time, sec
Quesnelia

MSK cluster: PERF-921
95 percaverage95 percaverage
Circulation Check-in/Check-out (without Data import)8 usersCheck-in0.8630.716

Check-out1.5351.269

Comparison

CICO with DI comparison

DI duration results without Check-In and Check-Out for Quesnelia were taken from the report Data Import test report (Quesnelia)[non-ECS].

The following table compares test results of two MSK clusters.

This table show comparison results of CICO without Data Import

ScenarioLoad levelRequestResponse time, sec
Poppy
Response time, sec
Quesnelia
95 percaverage95 percaverage
Circulation Check-in/Check-out (without Data import)8 usersCheck-in0.4890.4310.6090.521
Check-out0.9690.8281.0700.803

Response time

DI MARC BIB Create + CICO

DI MARC BIB Update + CICO


Service CPU Utilization


 CPU utilization


DI MARC BIB Create and Update + CICO

Service Memory Utilization


 Memory consumption



DB CPU Utilization

Average DB CPU usage during data import is about 90% It decreased 5% from 95% in Poppy.


DB Connections

Average connection count during data import is about 750 connections for create jobs that is 450 connections higher than in Poppy. For update jobs - 730 connections.


DB load

Create jobs




Update jobs






Top SQL-queries:


Appendix

Infrastructure

PTF -environment qcp1

  • 10 m6i.2xlarge EC2 instances located in US East (N. Virginia)us-east-1
  • 1 database  instance, writer

    NameMemory GIBvCPUsmax_connections

    db.r6g.xlarge

    32 GiB4 vCPUs2731
  • MSK tenant
    • 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

Task count for modules mod-agreements, mod-serials-management, mod-graphql set to 0 during tests.

Modules


Methodology/Approach

  • To run CI/CO - carrier-io artefact was used
  • DI tests were started from UI
  • No labels