Further to Scott's comment, we are running our application platform on nginx/php (using php-fpm). It scales very well and it is extremely fast. When running under Apache, we had to constantly restart the apache service because it could not handle the load (at 150 concurrent users hitting the app it would pretty much grind to a standstill). We moved to Nginx, have quadrupled the number of devices which are accessing our platform, and the number of php processes which are actually running is < 10. I had allocated a dynamic pool whereby we have 35 processes ready to accept requests at all times and which can dynamically scale up, but it does not come close to needing to use all of the existing processes. Everything is running under FreeBSD 8.1 amd64. As Scott mentioned, wrapping it into a real language is much better - the extent of what you will be able to do within the module will be severely limited vs a real language. > -----Original Message----- > From: pgsql-admin-owner@xxxxxxxxxxxxxx [mailto:pgsql-admin- > owner@xxxxxxxxxxxxxx] On Behalf Of Scott Marlowe > Sent: Monday, August 15, 2011 9:54 AM > To: c k > Cc: pgsql-general@xxxxxxxxxxxxxx; pgsql-admin > Subject: Re: Using Postgresql as application server > > On Sat, Aug 13, 2011 at 9:57 AM, c k <shreeseva.learning@xxxxxxxxx> > wrote: > > Dear Postgres users, > > from last few months I am reading and searching for can postgresql > used as > > application server? As postgresql supports many languages like > pl/perl, > > Besides the previously mentioned nginx module there's apache's mod > libpq http://asmith.id.au/mod_libpq.html > > But I'd stick to a language to wrap stuff in like php etc. > > -- > Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin