Recently, Alvaro Ortega[2], creator of the Cherokee Web Server[3], has
created
another implementation of DBSlayer[4] which gets even better
performance[5]. On
his hardware it can handle ~4000reqs/sec compared to DBSlayer's
~1000reqs/sec.
I'm considering adding support to Joose's ORM module for this
reimplementation
of DBSlayer, but I've got some concerns:
- It doesn't seem to support transactions, though the source of the module
itself[6] looks straightforward.
- Joose's ORM was originally targeted to GoogleGears, but now supports the
HTML5 Database API. What would be the best way to add support for a
third, or
perhaps more, databases?
I'd appreciate any thoughts you all might have, and thank you for your
work on
Joose :)
Cheers, Mike
1. DBSlayer
http://code.nytimes.com/projects/dbslayer/
2. Alvaro Ortega
http://www.alobbs.com/
3. Cherokee Web Server - A high-performance web server in the vein of
lighttpd,
nginx, etc.
http://www.cherokee-project.com/
4. Cherokee DBSlayer
http://www.cherokee-project.com/doc/modules_handlers_dbslayer.html
5. Cherokee DBSlayer vs. DBSlayer
http://www.alobbs.com/1344/MySQL_asynchronous_balancing_with_HTTP_JSON.html
6. Cherokee DBSlayer Module Source Code
http://svn.cherokee-project.com/browser/cherokee/trunk/cherokee/handler_dbslayer.c