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
20082026
-
…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…
comment by pron · 2023-09-25 · in Java 21: The Nice, the Meh, and the Momentous -
…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...
comment by SureshG · 2022-08-09 · in Don’t call it a comeback: Java is still champ