Hacker GitHub

← All repos

ebarlas/project-loom-c5m

View on GitHub ↗ ★ 362 Java

Experiment to achieve 5 million persistent connections with Project Loom virtual threads

4 mentions on Hacker News by 4 people: 2 stories, 2 comments · first 2022-04-27 · latest 2023-09-25

Mentions per year 4 mentions · busiest year 2022 (3)
20082026
  1. …a million threads blocking on a million sockets (obviously without creating a million OS threads): https://github.com/ebarlas/project-loom-c5m You can't do that with thread pools. You could achieve that scalability with async code, but…
  2. …server running on Virtual thread (using same old blocking APIs, handle 5m persistent connections) - https://github.com/ebarlas/project-loom-c5m/blob/main/src/ma...