DB Relay - NGiNX based open source project

Piotr Sikora piotr.sikora at frickle.com
Fri Jul 23 02:18:09 MSD 2010


Hi,
I don't want to belittle your project, but it seems that:
1) you've re-implemented things already covered by ngx_drizzle (drizzle, 
mysql, sqlite) and ngx_postgres (postgresql),
2) you did this in the *blocking* way, which doesn't play nice with nginx,
3) you're exposing whole database to the public and require client-side 
scripts to have credentials to the database.

It's great that you're also supporting MS SQL Server (via FreeTDS), but 
doing this in such fashion isn't going to help anyone. Imagine the case in 
which n users (where n >= worker_processes) would issue "SELECT 
sleep(2592000)" command. This would lock dbrelay for a month...

Best regards,
Piotr Sikora < piotr.sikora at frickle.com >
 




More information about the nginx mailing list