Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

making hls ready for talking to multiple clients #4667

Open
@MangoIV

Description

Hi everyone. Upon popular request (looks frightened at @fendor ) I will hereby create a small tracking issue for making HLS ready for multiple clients. Here are the things that need to be done:

While they're not finished (except for task 2 which only needs merging), the above three things are working in the sense that HLS talks to multiple clients via websockets in parallel.

Open problems:

  • the main problem is sandboxing:
    1. How do we isolate GHC sessions (actually something that I would like to ask someone with more knowledge, perhaps @wz1000?)
    2. How do we make sure people don't make HLS go crazy with template haskell/ System.Process etc etc (something to figure out in the actual sandbox)
    3. How to add a feature of limiting new connections to HLS based on current memory usage (problematic because it's not exactly HLS' task to do this in theory but in practice it's really the only place to do it)
  • how do we split up communication so that HLS doesn't do things it shouldn't do (@fendor really doesn't want to see a dependency on websocket)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /