Repository navigation
Why singleton osiris_retention process? #204
Replies: 1 comment
|
#195 helps only for finding where in the stream files an offset reader should start which uses the offset spec I have also seen high throughput publishing outpace the retention server and result in a high backlog, but it was caused by tuning down the segment file size in my testing (as segment rollover is one of the triggers of retention). Your idea for deduplicating retention requests sounds good to me. Increasing the parallelism also sounds good to me: I think even if two processes evaluated retention on the same stream concurrently it should be fine since deleting the files could be idempotent. (Maybe the updates to counters for first offset/timestamp would need compare-and-swaps though.) I'm not sure of the history of |
Uh oh!
There was an error while loading. Please reload this page.
We've seen on an older RabbitMQ cluster (3.13.7 with osiris 1.8.2) that the osiris_retention process falls behind and has a 30K message queue. On that cluster it takes about 5 seconds to evaluate the retention of each stream.
lists:usortshowed that there are only 15 unique queues sending the eval messages to the osiris_retention process.All reactions