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

database event decode free list #39

Open
mleku opened this issue May 2, 2024 · 0 comments
Open

database event decode free list #39

mleku opened this issue May 2, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mleku
Copy link
Collaborator

mleku commented May 2, 2024

currently, queries repeatedly decode and decode again events that are hot in the cache, especially recent ones that are sent out in open subscriptions of current websocket connections

it would make a lot of sense to eliminate the duplication of both memory and processing required for this data by changing the event decoding library into a freelist that allows avoiding unbounded spikes of memory use and unnecessary re-decoding of the binary data in the database for events that are being heavily accessed concurrently

@mleku mleku added the enhancement New feature or request label May 2, 2024
@mleku mleku self-assigned this May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant