Versions Compared

Key

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

Table of Contents
Overview In Progress

...

Ticket:

Jira Legacy
serverSystem Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyPERF-936

Summary

  • Comparing kafka.m5.2xlarge, zookeeper metadata mode against kafka.m7g.2xlarge

...

  • , KRaft metadata mode
  • Resource utilization

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

...

MSK instance: kafka.m5.2xlarge, metadata mode - ZooKeeper
Job profileFile sizeDI Duration without CI/CODI Duration with CI/COCI with DI Average secCO with DI Average sec
PTF - Create 25k00:03:4500:02:440.7361.16

25k00:14:4000:13:360.7871.176
PTF - Updates Success - 65k00:04:4300:04:1825k000.7641.153

25k00:20:2100:21:250.7671.179
MSK instance: kafka.m7g.2xlarge, metadata mode - KRaft
Job profileFile sizeDI Duration without CI/CODI Duration with CI/COCI with DI Average secCO with DI Average sec
PTF - Create 25k00:02:4900:02:390.7651.118

25k00:13:3100:12:040.7771.186
PTF - Updates Success - 65k25k

...

00:04:3600:04:310.7061.095

25k00:24:0700:21:500.741.16


Check-in/Check-out without DI

ScenarioLoad levelRequest

Response time, sec
MSK instance: kafka.m5.2xlarge

Response time, sec
MSK instance: kafka.m7g.2xlarge

95 percaverage95 percaverage
Circulation Check-in/Check-out (without Data import)8 usersCheck-in0.6950.5870.6950.583
Check-out1.1480.9581.1510.944

Comparison

Data Import durations and Check-In/Check-Out response time comparison

  • Data Import durations and import durations fluctuate within a 10% range of the baseline (tests with Zookeeper metadata mode)
  • Response times of CI/CO response time with Data import do not differ significantly. The number of requests in 2 hour CI/CO with Data Import tests were similar for both MSK clusters287669 in m5 and 287155 in m7g MSK instance type.
Job ProfileFile sizeDELTA, DI without CI/CODELTA, DI+CI/CODELTA, CI with DIDELTA, CO with DI
PTF - Create 25k00:00:5600:00:05-0.0290.042
25k00:01:0900:01:320.01-0.01
PTF - Updates Success - 65k25k00:00:0700:00:130.0580.058
25k00:03:4600:00:250.0270.019


Check-in/Check-out without DI

  • Check-in/Check-out perform the same in both MSK clusters. The difference of response times is so small that it can be neglected.
Check-out
ScenarioLoad levelRequest

Response time, sec
MSK instance: kafka.m5.2xlarge

Response time, sec
MSK instance: kafka.m7g.2xlarge


Delta

95 percaverage95 percaverageAverageCirculation Check-in/Check-out (without Data import)8 usersCheck-inAverage
Circulation Check-in/Check-out (without Data import)8 usersCheck-in0.6950.5870.6950.583-0.004

Check-out1.1480.9581.1510.944-0.014


MSK resource utilization (CPU)

...

MSK instance: kafka.m7g.2xlarge




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 ptf-mobius-testing2
    • 2 m5.2xlarge brokers in 2 zones (total 2 brokers)
    • 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=2
    • revision - 2
    • metadata mode - ZooKeeper
  • MSK ptf-KRaft-mode
    • m7g.2xlarge brokers in 2 zones (total 2 brokers)
    • Apache Kafka version 3.7.x

    • EBS storage volume per broker 300 GiB

    • auto.create.topics.enable=true
    • log.retention.minutes=480
    • default.replication.factor=3
    • revision - 26
    • metadata mode - KRaft

Task count for modules mod-oa-b, modmodule mod-graphql set to 0 before test start.

...