[edited]
Merlin Moncure <mmoncure@gmail.com> writes:
>>>> http://asmith.id.au/mod_libpq.html
>> http://asmith.id.au/source/mod_libpq2.c
>
> node.js is even thinner.
>
> node.js is single threaded and 100% asynchronous which fits very nice
> with libpq which is at heart a single threaded asynchronous library.
Sure. Elnode shares this design, and yaws more seriously so. I
wouldn't pick mod_libpq myself.
http://nic.ferrier.me.uk/blog/2010_10/elnodehttp://yaws.hyber.org/
Just saying that the thin web server layer that directly hands the
request to the database has been existing in PostgreSQL land for a long
time already, no need to resort to other proprietary architectures here.
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support