I have recently implemented a very tiny Cassandra web application on both PHP and play frameworks to compare these technologies. I'm running these tests on a virtual machine that has ubuntu-server in it. In both PHP and play framework applications, there is only one URL that makes an insertion to a Cassandra keyspace.
In PHP, I ran the following apache benchmark test;
ab -n 100000 -c 100 http://example.com/insert
The test results show that the server can serve 120#/sec (requests per sec)
I have made almost the same application in the play framework using Netflix's Astyanax Cassandra library. However, the server seems to be crushing even at the start of ab.
I'm making the play framework test in production, by play start command on terminal.
So, I know that the play framework is production-ready. So, what am I doing wrong here?