Skip to content
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

Fix Low Capacity of Paging Tokens #1029

Closed
alexanderkiel opened this issue Jun 12, 2023 · 0 comments
Closed

Fix Low Capacity of Paging Tokens #1029

alexanderkiel opened this issue Jun 12, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@alexanderkiel
Copy link
Member

POST-based FHIR searches use tokens in next links to hide the search parameters because they can contain sensitive data. That tokens are stored for 24 hours in an in-memory cache in the standalone storage mode. However that cache also had a fix limit of 10 MiB. That limit together with a wrong size calculation results in a rather low capacity of about 15,000 tokens. On top of that, with the introduction of first links (#961), links will also be generated on empty results. Real world generated searches using Flare showed that the capacity of the token cache can be exhausted quickly.

We will do the following:

@alexanderkiel alexanderkiel self-assigned this Jun 12, 2023
@alexanderkiel alexanderkiel added the bug Something isn't working label Jun 12, 2023
@alexanderkiel alexanderkiel added this to the v0.21.0 milestone Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant