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

Ra v2.16.0 #12713

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Ra v2.16.0 #12713

wants to merge 9 commits into from

Conversation

kjnilsson
Copy link
Contributor

@kjnilsson kjnilsson commented Nov 13, 2024

This version of Ra contains a substantially refactored Ra log implementation that provides higher throughput and lower memory use in several scenarios.

This version of Ra contains a substantially refactored Ra log
implementation that provides higher throughput and lower
memory use in serveral scenarios.
This offloads the work of reading messages from on-disk segments
to the interacting process rather than doing this blocking, performance
affecting work in the ra server process.
If a channel/session process has opened a segment that later was appended
to the index maintained in memory does not know of the newly appended entries
and thus would generate a missing_key error.
Processes that havea received messages that had to be read from disks
may keep a segment open indefinitely. This introduces a timer which
after some time of inactivity will close all opened segments to ensure
file desciptors are not kept open indefinitely.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant