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
{{ message }}
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
We are experiencing an issue where Kestrel performance starts to degrade when we allow too many open transactions on a queue. The degradation is accompanied by very high disk i/o, and seems to occur primarily when NOT in read-behind mode. We are running Kestrel 2.2.0
I believe what is happening is as follows:
A large number of transactions are opened, until the queue size hits 0, triggering a journal rewrite since the journal is larger than the defaultJournalSize (in our case 16MB).
The rewritten journal file, due to the large number of open transactions, is still larger than defaultJournalSize.
After a single enqueue/dequeue, the journal rewrite is immediately triggered again.
I have read the bug fixed in 2.4.1 and I don't believe our setup falls under those criteria - our items are at on the order of at least 0.5-1k, and we have a 2:1 ratio between maxJournalSize and maxMemorySize.
The text was updated successfully, but these errors were encountered:
Increasing the syncJournal setting from 100.milliseconds to 1.second. Not sure why it was set so low. This seemed to reduce the frequency of these issues.
We started compressing the data before inserting into Kestrel.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We are experiencing an issue where Kestrel performance starts to degrade when we allow too many open transactions on a queue. The degradation is accompanied by very high disk i/o, and seems to occur primarily when NOT in read-behind mode. We are running Kestrel 2.2.0
I believe what is happening is as follows:
I have read the bug fixed in 2.4.1 and I don't believe our setup falls under those criteria - our items are at on the order of at least 0.5-1k, and we have a 2:1 ratio between maxJournalSize and maxMemorySize.
The text was updated successfully, but these errors were encountered: