4 ms·
Hi, I am the author of Rapidoid, thanks! The performance optimization is based on: - using off-heap input and output buffers, - minimizing the number of object
by nikolche 11y ago
Hi, I am the author of Rapidoid, thanks!
The performance optimization is based on:
- using off-heap input and output buffers,
- minimizing the number of objects that are created when parsing the input and generating the output,
- using object pools to reuse the objects that must be created,
- using thread-local helper data structures on the I/O threads to avoid synchronization and object instantiation.
- MrBuddyCasino 11y agoThanks for the explanation! So it looks your efforts were mainly focused on reducing GC pressure - makes sense with those throughput numbers.
- betimsl 11y agoWhat happens when you have a long database query running? Is it async (which is a bit impossible with JDBC) but does it block one of the threads in worker pool?