From: | Chris Travers <chris(dot)travers(at)gmail(dot)com> |
---|---|
To: | David Johnston <polobo(at)yahoo(dot)com> |
Cc: | Darren Duncan <darren(at)darrenduncan(dot)net>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Using Postgresql as application server |
Date: | 2011-08-16 02:10:30 |
Message-ID: | CAKt_ZftyYCt1x9XajEmvSVQpXytZPL7k+oUDR1NTjfQ9w0ooVA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
On Mon, Aug 15, 2011 at 5:14 PM, David Johnston <polobo(at)yahoo(dot)com> wrote:
>> This whole line is getting somewhat off-topic; we're not talking about a "computationally complete" application but simply one that can handle HTTP requests and dispatch calls to user-defined methods. This seems like a small-enough requirement and seems to already have a solution (though I haven't looked at the provided links); whether you call it PostgreSQL or not is a matter of semantics (as is much of this thead).<<
Which PostgreSQL *can* do, but probably shouldn't.
>> Please restate your request in terms of benefits as opposed to checklist of cool features that barely work but, because they are present, can be added to the marketing materials.<<
The whole thing is: Pg as an app server occupies a *different* role
than a traditional app server. Not better or worse, just different.
Think of it as a database program which can also operate as a message
queue once operations complete successfully and committed. That's a
pretty powerful thing with listen/notify. And you can process data in
additional PL's as well, accessing methods from other languages so you
don't have to reinvent the wheel.
It is my view that PostgreSQL makes an *excellent* application server
as long as you use it intelligently. That means treating the
database as the *central* application and then using it to manage not
only main data storage, but also message queues to other helper
processes which can, for example, send email, print documents, or
whatever.
This is the direction LedgerSMB is moving: using Pg to the max but
doing so carefully and intelligently.
It is not a traditional application server, but it can easily replace
a traditional application server along with helper programs in
whatever languages one wants to write them in. The power and
flexibility is really quite amazing.
Best Wishes,
Chris Travers
From | Date | Subject | |
---|---|---|---|
Next Message | Darren Duncan | 2011-08-16 04:04:29 | Re: Using Postgresql as application server |
Previous Message | Merlin Moncure | 2011-08-16 01:23:20 | Re: Using Postgresql as application server |
From | Date | Subject | |
---|---|---|---|
Next Message | Darren Duncan | 2011-08-16 04:04:29 | Re: Using Postgresql as application server |
Previous Message | Merlin Moncure | 2011-08-16 01:23:20 | Re: Using Postgresql as application server |