Better HN
topnewbestaskshowjobs
Log inSign up

jholla14

7 karma · joined Sep 28, 2011 (15y ago) · 3 submissions

Submissions

comment 13y ago · link · parent

The Play example was totally unfair since it blocks on the database query which will block the underlying event loop and really lower the overall throughput.

comment 13y ago · link · parent

The problem is that the database queries were done in a blocking fashion. The test essentially blocks the main event loop which is of course going to kill performance.

comment 13y ago · link · parent

The play test was written totally incorrectly since it used blocking database calls. Since play is really just a layer on top of Netty it should perform nearly as well if correctly written.