You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Anton,
About the Golang streaming client, here, you used the default settings.
Default settings are more throughput-oriented; the client aggregates the messages and sends them every 100 milliseconds by default.
or when the Batch-Size is reached.
thanks, @Gsantomaggio. kafka is a complicated system with a bunch of settings that you can tune and optimize either for latency or throughput, but i appreciate your help. i'll see if i can make any adjustments for the next benchmark between kafka and nats
Hi Anton,
About the Golang streaming client, here, you used the default settings.
Default settings are more throughput-oriented; the client aggregates the messages and sends them every 100 milliseconds by default.
or when the Batch-Size is reached.
You could reduce the timing with
or reduce the
batchSize
withstream.NewProducerOptions().SetBatchSize(50)
There is also another API,
BatchSend
, where the aggregation part is up to the user. The API is synchronous.Please read:
https://github.com/rabbitmq/rabbitmq-stream-go-client?tab=readme-ov-file#send-vs-batchsend
and also: https://groups.google.com/g/rabbitmq-users/c/IO_9-BbCzgQ
I hope this helps :)!
The text was updated successfully, but these errors were encountered: