pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Merlin Moncure <mmoncure@gmail.com>
To: B M <bmmasprep@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Large scale reliable software system
Date: Tue, 27 Jun 2023 08:32:08 -0700
Message-ID: <00402ef0-2638-8d1f-0acb-a9b2d8bc2605@aklaver.com> (raw)
In-Reply-To: <CAHyXU0y0mYVu9jzMOCAeF7b2jtf2wrE7x-yk5Hq+H=R5qbm3qg@mail.gmail.com>
References: <CAPDsptUFi483wbYfGYvs8PmBC=CqC+SMNJ4yXY+8L=MV89YY5g@mail.gmail.com>
	<CAHyXU0y0mYVu9jzMOCAeF7b2jtf2wrE7x-yk5Hq+H=R5qbm3qg@mail.gmail.com>

On 6/27/23 07:58, Merlin Moncure wrote:
> 
> 
> On Mon, Jun 26, 2023 at 6:49 PM B M <bmmasprep@gmail.com 
> <mailto:bmmasprep@gmail.com>> wrote:
> 
>     Dear all,
> 
>     After greeting,
> 
>     I taught PostgreSQL myself and developed a small scale
>     experimentalsoftware 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


+1

> 
> merlin
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (10+ messages)

Message-ID: <00402ef0-2638-8d1f-0acb-a9b2d8bc2605@aklaver.com>
Permalink:  ../00402ef0-2638-8d1f-0acb-a9b2d8bc2605@aklaver.com/
Also on:    postgresql.org/message-id/00402ef0-2638-8d1f-0acb-a9b2d8bc2605@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, mmoncure@gmail.com, bmmasprep@gmail.com
  Subject: Re: Large scale reliable software system
  In-Reply-To: <00402ef0-2638-8d1f-0acb-a9b2d8bc2605@aklaver.com>
  References: <CAPDsptUFi483wbYfGYvs8PmBC=CqC+SMNJ4yXY+8L=MV89YY5g@mail.gmail.com> <CAHyXU0y0mYVu9jzMOCAeF7b2jtf2wrE7x-yk5Hq+H=R5qbm3qg@mail.gmail.com> <00402ef0-2638-8d1f-0acb-a9b2d8bc2605@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox