Skip to content

Stream Consumption Capped at 150mps #539

Answered by acogoluegnes
ron-mcleod asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, streams are optimized for high ingress. They store messages in "chunks", which is also the unit of delivery and replication. So a client receives a whole chunk of messages, which can be made of a few messages to a few thousand. The higher the ingress, the bigger the chunk size.

We optimized the delivery code to squeeze several chunks in one TCP packet, but this is not always enough to speed up delivery with very small chunks.

The index file contains the chunk-to-file-index mapping, so the more chunks, the larger it gets.

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@lukebakken
Comment options

Comment options

You must be logged in to vote
1 reply
@ron-mcleod
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ron-mcleod
Comment options

You must be logged in to vote
1 reply
@acogoluegnes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants