Skip to content

Read/Write queues for IO operations #2

Description

@0x9n0p

Currently, we are writing the processables to the connected users directly. This approach can have a risk of performance when the reader is not as fast as the writer is.

We may use Go channels between the writer and reader.
But what should we do when the buffered channel has reached maximum capacity? The old items can be discarded, but Go channels do not support it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions