vert.x
vert.x copied to clipboard
Reduce the number of eventloops started by default
Quoting @Sanne
- there's no compelling reason to start more eventloops than available cores
- it's actually harmful for performance in some cases
https://github.com/quarkusio/quarkus/pull/27025/files
Does this apply to internal-blocking-threads the same way?
no, the threads in question are event-loop only
In the talk they communicated that one of the big penalties in too many threads is the cost of thread wakeup.
This could impact throughput initially while handshaking SSL since that is solely the internal blocking pool, which then sits idle for relatively no use as long as no new connections are established