News for hackers. Stuff that matters.
Re:Handling 1M websocket connections in Go by lfmunoz4 on Wednesday February 13, 2019 @05:28PM (#19157764)
1 million tcp connections with vertx / kotlin

https://github.com/lfmunoz/vertx-kt-rocket

Nothing special other than having to tune Linux

Re:Handling 1M websocket connections in Go by mateuszf on Wednesday February 13, 2019 @05:32PM (#19157786)
Jvm is very optimized, so it's actually something not that non-special.
Re:Handling 1M websocket connections in Go by pmlopes on Thursday February 14, 2019 @03:30AM (#19160462)
> "so it's actually something not that non-special."

That is not totally true, This is a mix of 2 things, using the JVM (which like you said is being tuned and optimized for heavy loads) + using a true asynchronous and reactive programming (and IO) model built on great technologies such as (in this specific case: Kotlin, Eclipse Vert.x and Netty).

As an experiment if you would pick another random set of libraries (imagine a servlet container) achieving the same results would not be so trivial, see for example:

https://www.techempower.com/benchmarks/#section=data-r17&hw=...

And observe that Eclipse Vert.x is on the top for these reasons while other JVM frameworks are far behind.

Re:Handling 1M websocket connections in Go by mateuszf on Thursday February 14, 2019 @03:47PM (#19165844)
That's why I used not two times. I meant that it IS special, sorry for confusion, I'm not a native speaker.