Skip to content

[supervisor] non blocking terminal reading #2254

Open
@akosyakov

Description

@akosyakov

Right now one client can block reading from a task terminal. Instead we could look into non blocking solutions.

In Theia, we don't directly write to each client but into the ring buffer from this each client then reads with own speed without blocking other clients.

@csweichel pointed out how go channels can be used as ring buffers: https://tanzu.vmware.com/content/blog/a-channel-based-ring-buffer-in-go

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions