-
Notifications
You must be signed in to change notification settings - Fork 7
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
Improve overall performance #38
Comments
Although I am aware of bad experiences when upgrading exist-db, I would like to suggest we check out exist 5 on the test machine. The reason being that besides the usual "performance improvements" that we may or may not profit from, exist 5 should come with a jetty version recent enough to support HTTP/2: https://webtide.com/introduction-to-http2-in-jetty/ Depending on how smooth the upgrade is, this may be low-hanging fruit. |
Update the following resources:
Minify the following resources:
|
It might also help if we enhanced access control, especially of functions ('%private'), in the XQuery code, so as to further reduce interdependencies between functions and modules. |
These cache settings seem to be good (for eXist-db 4, that is!):
Smaller Cache resulted in more Cache Misses than Hits, larger resulted in memory mgmt overhead. |
Calls to util:eval do not occur in the core of the app, only in services (lod, codesharing). Hence, we would have to modify "external" code to circumvent such calls. Also, since util:eval only occurs in services, it seems not to play a really important role in the functioning of the app. I would thus refrain from replacing util:eval. Also, I wouldn't know which other function could replace util:eval, and the same applies to util:expand (which actually plays an important role, e.g. in the tei export, data transformations, etc.). Should we leave those functions as they are? |
Yes, I think we should leave them as they are now. Possibly the performance hits that we meet from time to time are just one or two blocking queries that are problematic in certain call scenarios, so the main thing would be a good stack trace or other log analysis of such an event. |
General issue with the current app/database, probably needs to be solved through multiple smaller steps (which can be listed here).
reduce calls to util:eval... ?The text was updated successfully, but these errors were encountered: