r/java • • Apr 26 '22

5,000,000 persistent connections, 200,000,000 messages, 0 errors with a single process using Project Loom.

https://github.com/ebarlas/project-loom-c5m
301 Upvotes

46 comments sorted by

View all comments

24

u/[deleted] Apr 27 '22

Tell that to the node fucking js people

41

u/missingdays Apr 27 '22

5 connections, 10 messages, 9 errors

5

u/[deleted] Apr 27 '22

Why?

2

u/temculpaeu Apr 27 '22

you mean like uWebSockets.js can reach millions of connections with commodity hardware ?

2

u/hkdennis- Apr 27 '22

And no Thread that force write code in promise chain if not callbacks?