Re: Using Postgresql as application server

Dimitri Fontaine <dimitri@2ndquadrant.fr>

From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Andrej <andrej.groups@gmail.com>, Dimitri Fontaine <dimitri@2ndquadrant.fr>, c k <shreeseva.learning@gmail.com>, Chris Travers <chris.travers@gmail.com>, Scott Marlowe <scott.marlowe@gmail.com>, pgsql-general@postgresql.org, sad@bestmx.ru
Date: 2011-08-28T17:09:41Z
Lists: pgsql-general
[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/elnode
  http://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