vert.x icon indicating copy to clipboard operation
vert.x copied to clipboard

Reduce the number of eventloops started by default

Open vietj opened this issue 1 year ago • 3 comments

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

vietj avatar Feb 15 '24 13:02 vietj

Does this apply to internal-blocking-threads the same way?

zekronium avatar Feb 23 '24 23:02 zekronium

no, the threads in question are event-loop only

vietj avatar Feb 24 '24 09:02 vietj

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

zekronium avatar Feb 24 '24 16:02 zekronium