Best Practice Behaviour of Body Handler
Piotr Sikora
piotr.sikora at frickle.com
Mon Jan 9 14:17:08 UTC 2012
Hey,
>> Thanks for your help. My code can be found
>> at https://github.com/alexchamberlain/ngx-mongodb. I'd be very interested
>> on
>> any feedback, but please bear in mind I'm relatively inexperienced, so I
>> expect to make mistakes and really won't mind any friendly advice.
>
> I really hope that it is a nonblocking driver or it'll be almost
> useless for production. Once we have a native mongodb driver for
> Nginx, we can immediately reuse it as a client library in ngx_lua by
> means of Nginx subrequests :D
The code that Alex wrote (or to be more precise, the nginx-gridfs, on which
this module is based on) is blocking.
On the side note, ngx_mongo is under active development and is scheduled to
be open sourced in a few months.
Best regards,
Piotr Sikora < piotr.sikora at frickle.com >
More information about the nginx-devel
mailing list