Skip to content

[supervisor] non blocking terminal reading #2254

@akosyakov

Description

@akosyakov
Member

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

Activity

stale

stale commented on Mar 17, 2021

@stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

added
meta: staleThis issue/PR is stale and will be closed soon
on Mar 17, 2021
removed
meta: staleThis issue/PR is stale and will be closed soon
on Apr 14, 2022
akosyakov

akosyakov commented on Apr 14, 2022

@akosyakov
MemberAuthor

@csweichel was prototyping such approach here: 84ca5fe

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @svenefftinge@akosyakov

        Issue actions

          [supervisor] non blocking terminal reading · Issue #2254 · gitpod-io/gitpod