Skip to content

Commit 0121c44

Browse files
committed
Mention connection pooling for super streams
In performance tool documentation.
1 parent dfe7cc7 commit 0121c44

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/docs/asciidoc/performance-tool.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ Note the message body size cannot be smaller that 8 bytes, as the performance to
340340
a long in each message to calculate the latency. Note also the actual size of a message will be
341341
slightly higher, as the body is wrapped in an <<api.adoc#working-with-complex-messages,AMQP 1.0 message>>.
342342

343+
[[performance-tool-connection-pooling]]
343344
===== Connection Pooling
344345

345346
The performance tool does not use connection pooling by default: each producer and consumer has its own connection.
@@ -552,7 +553,9 @@ We see also that each super stream has 1 producer (`--producers 2`) and 3 consum
552553
The composite consumers will spread their consumer instances across the partitions.
553554
Each partition will have 3 consumers but only 1 active at a time with `--single-active-consumer` and `--consumer-names my-app-%s` (the consumers on a given stream have the same name, so the broker make sure only one consumes at a time).
554555

555-
556+
Note the performance tool does not use <<performance-tool-connection-pooling, connection pooling>> by default.
557+
The command above opens a significant number of connections – 30 just for consumers – and may not reflect exactly how applications are deployed in the real world.
558+
Don't hesitate to use the `--producers-by-connection` and `--consumers-by-connection` options to make the runs as close to your workloads as possible.
556559

557560
===== Monitoring
558561

0 commit comments

Comments
 (0)