Skip to content

Support mixed conflated SendChannel with FIFO buffer #1836

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

Open
altavir opened this issue Mar 2, 2020 · 1 comment
Open

Support mixed conflated SendChannel with FIFO buffer #1836

altavir opened this issue Mar 2, 2020 · 1 comment

Comments

@altavir
Copy link

altavir commented Mar 2, 2020

I have a problem (device readout), where I can't allow to suspend sender (the device can't wait), and I do not want to allow infinite channel, since listener could never arrive. But on the other hand I want for listener to be able to "catch up" with sender in case it is attached lately or there is a burst of device events. For that it would be helpful to have a FIFO-buffer inside the channel to cache few last values and evict the oldest one, when new value arrives in case the buffer is full.

@elizarov
Copy link
Contributor

elizarov commented Mar 3, 2020

Thanks. Noted. It does make total sense with flows, too. When you share flows (see #1716) it would be also helpful to provide fine-grained configuration on how much data is cached for later arriving subscribers. This is somewhat similar to this use-case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants