Re: Large scale reliable software system

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: B M <bmmasprep(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Large scale reliable software system
Date: 2023-06-27 14:58:51
Message-ID: CAHyXU0y0mYVu9jzMOCAeF7b2jtf2wrE7x-yk5Hq+H=R5qbm3qg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jun 26, 2023 at 6:49 PM B M <bmmasprep(at)gmail(dot)com> wrote:

> Dear all,
>
> After greeting,
>
> I taught PostgreSQL myself and developed a small scale experimental
> software system using PostgreSQL in the back-end.
>
> I would like to know your advices to develop a large scale reliable
> software system using PostgreSQL in the back-end, through which i can share
> the storage with the different system users where they login to the system
> through the web application front-end with different passwords and
> usernames , save the privacy of each user data, improve overall system
> security and performance, achieve fast response, make backups and save the
> stored data from loss. The system will be hosted on a cloud.
>
> Thank you in advance.
>

* your sql is code, and treat it as such, check it into git etc
* robust deployment strategy is essential to scaling team
* write a lot of tests
* become intimate with pg_stat_statements
* keep your transactions as short as possible while preserving safety
* avoid developers who advocate for keeping business logic out of the
database religiously (controversial)
* try to avoid assumptions that only one technical stack interacts with
your database
* do not waste time making ERDs use a tool that generates them (i like
schemaspy)
* test your DR strategy before disaster strikes
* think about security model up front

merlin

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2023-06-27 15:32:08 Re: Large scale reliable software system
Previous Message Lingesan Jeyapandy 2023-06-27 14:51:06 Requesting Information for GSSAPI