-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Device Cache to replace EFCoreSecondLevelCacheInterceptor #11901
Implement Device Cache to replace EFCoreSecondLevelCacheInterceptor #11901
Conversation
a67810e to
c8754b8
Compare
|
Thats a fucking Awesome Pull Request I manually merged it into my Branch and my Server is Running since 25h without Issues, less Performance issues and MUCH MUCH less Memory. Always when the DB Lock kicked in, a chain reaction happened and Memory increased huge. Thank you |
The EFCoreSecondLevelCacheInterceptor will place a huge lock even for reading. Implement a ConcurrentDictionary cache to replace it. Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
bd87e04 to
7f12677
Compare
Signed-off-by: gnattu <gnattuoc@me.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd filter before sorting
Co-authored-by: Bond-009 <bond.009@outlook.com>
Co-authored-by: Bond-009 <bond.009@outlook.com>
b7bc0e1
into
jellyfin:release-10.9.z
|
This did miss 10.9.8 due to me not noticing it - sorry. It will land in 10.9.9, likely some time this week or next weekend. |
|
Is there something we can apply temporarily in the meantime? My server is suffering dramatically because of it currently. |
|
There's a workaround in the linked issue |
Apologies, must've missed that. Much obliged 😀 |
Implement Device Cache to replace EFCoreSecondLevelCacheInterceptor Original-merge: b7bc0e1 Merged-by: joshuaboniface <joshua@boniface.me> Backported-by: Bond_009 <bond.009@outlook.com>
The EFCoreSecondLevelCacheInterceptor will place a huge lock even for reading. Implement a ConcurrentDictionary cache to replace it.
Changes
Issues
Closes #11823