Table of Contents |
---|
...
- Comparing kafka.m5.2xlarge against kafka.m7g.2xlarge instance type
- Data Import durations and CI/CO response time do not differ significantly. The number of requests during 2 hour CI/CO with Data Import test stayed the same 287669 in m5 and 287155 in m7g MSK instance type.
- Resource utilization
- Memory utilization didn't differ a lot between two MSK clusters
- Disk consume less resources in both (idle and CICO+DI) scenarios with m7g instance type. CPU utilization 6 times bigger the same in idle state but 20% less under load with m7g instance type.
- Average DB CPU usage
- Average connection count
...
Data Import durations and CI/CO response time do not differ significantly. The number of requests during 2 hour CI/CO with Data Import test stayed the same 287669 in m5 and 287155 in m7g MSK instance type.
Job Profile | File size | DELTA, DI | DELTA, DI+CICO+DI | DELTA, CI | DELTA, CO |
---|---|---|---|---|---|
PTF - Create 2 | 5k | 00:00:34 | 00:00:15 | 0.192 | 0.305 |
25k | 00:00:14 | 00:00:41 | 0.006 | 0.023 | Update|
PTF - Updates Success - 6 | 5k | 00:00:31 | 00:00:20 | 0.065 | 0.133 |
25k | 00:02:06 | 00:02:03 | 0.028 | 0.127 |
...
Disk consume less resources in both (idle and CICO+DI) scenarios with m7g instance type. CPU utilization 6 times bigger the same in idle state but 20% less under load with m7g instance type.
Utilized resources | Scenario/Load | Brokers | MSK instance: kafka.m5.2xlarge | MSK instance: kafka.m7g.2xlarge | Delta, % |
---|---|---|---|---|---|
Disk usage | Idle state | ||||
1 | 0.2095713 | 0.026 | -0.18357 | ||
2 | 0.2086522 | 0.026 | -0.18265 | ||
CICO+DI | |||||
1 | 4.6120204 | 4.35 | -0.26202 | ||
2 | 4.611104 | 4.35 | -0.2611 | ||
CPU usage | Idle state | ||||
1 | 06.93541725431249875 | 6.63958275 | 50.704166208333 | ||
2 | 06.783333451516666 | 6.227083625 | 50.44375075417 | ||
CICO | 1 | 13.7625025 | 10.6770835 | -3.08542 | |
2 | 11.94791625 | 9.87916575 | -2.06875 | ||
CICO+DI | 1 | 38.09166625 | 31.13749875 | -6.95417 | |
2 | 33.82291125 | 32.53334625 | -1.28957 |
...
Appendix
Infrastructure
PTF -environment qcp1
- 10 m6i.2xlarge EC2 instances located in US East (N. Virginia)us-east-1
1 database instance, writer
Name Memory GIB vCPUs max_connections db.r6g.xlarge
32 GiB 4 vCPUs 2731 - MSK ptf-mobius-testing2
- 2 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
...