Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jholla14
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
jholla14
14y ago
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.
2.
▲
by
jholla14
14y ago
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.
3.
▲
by
jholla14
14y ago
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.