10 ms·
1 million tcp connections with vertx / kotlin https://github.com/lfmunoz/vertx-kt-rocket https://github.com/lfmunoz/vertx-kt-rocket Nothing special other than
by lfmunoz4 8y ago
1 million tcp connections with vertx / kotlin
https://github.com/lfmunoz/vertx-kt-rocket https://github.com/lfmunoz/vertx-kt-rocket
Nothing special other than having to tune Linux
- mateuszf 8y agoJvm is very optimized, so it's actually something not that non-special.
- pmlopes 8y ago> "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=ph&test=db 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.
- mateuszf 8y agoThat's why I used not two times. I meant that it IS special, sorry for confusion, I'm not a native speaker.