Hacker News new | ask | show | jobs
by nikolche 3843 days 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.

2 comments

What 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?
Thanks for the explanation! So it looks your efforts were mainly focused on reducing GC pressure - makes sense with those throughput numbers.