Updated on 2023-09-05 GMT+08:00

Test Results

Table 1 Test results

Partitions

Replicas

Synchronous Replication Enabled

batch.size

Cross-AZ Production

Message Production Rate on the Client Side (Records/Second)

CPU Usage on the Server Side (broker-0)

CPU Usage on the Server Side (broker-1)

CPU Usage on the Server Side (broker-2)

3

1

No

1 KB

No

37,697

54%

55%

51.65%

3

1

No

16 KB

No

102,399

26%

25%

36.45%

3

1

No

1 KB

Yes

15,358

28%

28%

23.35%

3

3

Yes

1 KB

No

5181

62%

61%

59.40%

3

3

No

1 KB

No

15,246

86%

87%

87.10%

Based on the test results, the following conclusions are drawn (for reference only):

  • When the batch.size of production requests is 16 times larger, the message production rate increases, and the CPU usage decreases.
  • Compared with cross-AZ production, intra-AZ production significantly increases message production rate and CPU usage.
  • When the number of replicas changes from 1 to 3, the message production rate decreases significantly, and the CPU usage increases.
  • Compared with synchronous replication, asynchronous replication increases the message production rate and the CPU usage.