Silk: Open-source cooperative fiber scheduler

(github.com)

32 points | by animetyan 3 days ago

6 comments

  • feverzsj 3 minutes ago
    Seems not exception safe when task switching during unwind.
  • nasretdinov 1 hour ago
    Looks really interesting. I assume this suggests that ClickHouse is going to gradually switch to using this library for network and I/O, thus addressing the main weakness (in my mind) of C++ thread-per-connection servers, which is, they (surprisingly!) create too many threads and can't really handle more than, say, a thousand active connections at the same time. It mostly matters for async INSERTs in this case of course, not for SELECTs, although generally it applies to both.
  • jeffreygoesto 45 minutes ago
    Is this comparable to Sea star [0]?

    [0] https://github.com/scylladb/seastar

  • yvdriess 22 minutes ago
    Play on Cilk?
  • embirdating 10 minutes ago
    [dead]
  • idlepig 26 minutes ago
    [flagged]