-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
[6.x.x] Adds in memory cache for RPC query results #5191
[6.x.x] Adds in memory cache for RPC query results #5191
Conversation
8388d1b
to
760469d
Compare
Uhh, I need to see what this does for xst |
@reinhapa should this be forward ported to existdb 7 or is it already in place there? |
Review is already happening at the source for eXist-db 7.x.x - #5188 |
ef78b22
to
9971e76
Compare
- Use in memory caching for resuls smaller 4 MB adding new CachedContentFile and companion test case - Extended XmlRpcTest to improve coverage of RpcConnection - Added new QueryResultCacheTest Signed-off-by: Patrick Reinhart <[email protected]>
9971e76
to
d89b881
Compare
Replaces direct construction of in memory RPC results with pooled instances. Signed-off-by: Patrick Reinhart <[email protected]>
31a21b5
to
f1d6e02
Compare
@adamretter PR is ready for review 😊 |
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.
LGTM.
Backport of #5188.
Enables in-memory query result values less than 4 MB instead of writing them to a temporary file.
By using the in-memory-buffer no potential virus scanner is trigger either on the server as on the client side. This almost doubled the performance on our productive systems, when using this change.