We’re looking at the configuration of a persistent subscription and we see these 3 settings:
- Live Buffer Size
- Buffer Size
- Read Batch Size
It feels like these settings are quite important for busy streams that need to handle a lot of events.
Are we correct that the “live buffer” is an in memory buffer for events in the subscription. When your client reads 100 of them, then the buffer will fetch a new set of events from memory and place them in the buffer. When your client consumes events too fast, then it’ll drain the buffer and you’ll resort to paging.
I think paging here means that the events are read from disk?
But then things become more difficult to understand.
In paging there also is a buffer, is this also in memory, and how does this compare to the “live buffer”? And what does the “read batch size” mean?
Basically we’d like to find out what these things are and how to find good values for them.
Also, how do we check that we have proper values, can we see how often it resorts to paging?