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

SHM: segment detach #1700

Open
yellowhatter opened this issue Jan 9, 2025 · 0 comments
Open

SHM: segment detach #1700

yellowhatter opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels
new feature Something new is needed

Comments

@yellowhatter
Copy link
Contributor

yellowhatter commented Jan 9, 2025

Describe the feature

As part of #1697
Let's think about segment detach functionality. Currently, at SHM receiver side, attached segements are not detached and exist through all the process lifetime. We definitely need to develop some detach condition, otherwise that can cause unneeded segments to exist forever.

The problematic here is not in implementation, but rather in condition itself: when to detach the segment?

Too early detach will make us pay additional costs when we again receive an SHM buffer belonging to detached segment - we will attach this segment again.

I guess, to start with, we need just some timeout started from the last segment use....

@yellowhatter yellowhatter added the new feature Something new is needed label Jan 9, 2025
@yellowhatter yellowhatter self-assigned this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Something new is needed
Projects
None yet
Development

No branches or pull requests

1 participant