| From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
|---|---|
| To: | "guyren(at)relevantlogic(dot)com" <guyren(at)gmail(dot)com>, PostgreSQL General <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Describing the natural architecture for an internet-facing Postgres based app: feedback sought |
| Date: | 2026-04-28 05:20:16 |
| Message-ID: | ea9ee41bb180e4cda1ad782c164a98000f49ba89.camel@cybertec.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Tue, 2026-04-28 at 13:24 +1000, guyren(at)relevantlogic(dot)com wrote:
> Coming from a Rails/PHP/etc world. All of those communities generally hold that
> the database should be treated as a dumb data bucket with all the logic in the middleware.
>
> I’ve long thought someone should write up what the alternative architecture using
> Postgres to its fullest would look like. In order to differentiate it, I start from
> the security advantages and work forward.
>
> I’d love to get some feedback on it. Harsh criticism is most useful… :-)
No harsh critizism, but I am wary of all extremist positions.
Just as I think that it is silly to keep the database as dumb as possible,
I doubt that it is a good position to put all the smarts into the database.
One obvious disadvantage is that if you put much of the processing into
the database, most of the load will be on the database server, which is
difficult to scale.
Why not let each component do what it is best at?
Yours,
Laurenz Albe
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2026-04-28 06:32:17 | Re: Support logical replication of DDLs, take2 |
| Previous Message | guyren@relevantlogic.com | 2026-04-28 03:24:41 | Describing the natural architecture for an internet-facing Postgres based app: feedback sought |