pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Clustering solution ?
8+ messages / 5 participants
[nested] [flat]

* Clustering solution ?
@ 2020-07-09 13:53  Laurent FAILLIE <l_faillie@yahoo.com>
  0 siblings, 4 replies; 8+ messages in thread

From: Laurent FAILLIE @ 2020-07-09 13:53 UTC (permalink / raw)
  To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>

Hello,
I've been asked by one of my customer to know which are the possible clustering solution for PostgreSQL ?
Active/passive ?Active/active ?
if possible free or not too expensive.
Thanks
Laurent

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Clustering solution ?
@ 2020-07-09 13:55  Petite Abeille <petite.abeille@gmail.com>
  parent: Laurent FAILLIE <l_faillie@yahoo.com>
  3 siblings, 0 replies; 8+ messages in thread

From: Petite Abeille @ 2020-07-09 13:55 UTC (permalink / raw)
  To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>



> On Jul 9, 2020, at 15:53, Laurent FAILLIE <l_faillie@yahoo.com> wrote:
> 
> if possible free or not too expensive.

Like all of us.





^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Clustering solution ?
@ 2020-07-09 13:56  Paul Förster <paul.foerster@gmail.com>
  parent: Laurent FAILLIE <l_faillie@yahoo.com>
  3 siblings, 0 replies; 8+ messages in thread

From: Paul Förster @ 2020-07-09 13:56 UTC (permalink / raw)
  To: Laurent FAILLIE <l_faillie@yahoo.com>; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>

Hi Laurent,

take a look at Patroni: https://github.com/zalando/patroni

It's free and reliable.

Cheers,
Paul


> On 09. Jul, 2020, at 15:53, Laurent FAILLIE <l_faillie@yahoo.com> wrote:
> 
> Hello,
> 
> I've been asked by one of my customer to know which are the possible clustering solution for PostgreSQL ?
> 
> Active/passive ?
> Active/active ?
> 
> if possible free or not too expensive.
> 
> Thanks
> 
> Laurent






^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Clustering solution ?
@ 2020-07-09 15:30  Ron <ronljohnsonjr@gmail.com>
  parent: Laurent FAILLIE <l_faillie@yahoo.com>
  3 siblings, 1 reply; 8+ messages in thread

From: Ron @ 2020-07-09 15:30 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

For high availability, for load sharing or for disaster recovery?

On 7/9/20 8:53 AM, Laurent FAILLIE wrote:
> Hello,
>
> I've been asked by one of my customer to know which are the possible 
> clustering solution for PostgreSQL ?
>
> Active/passive ?
> Active/active ?
>
> if possible free or not too expensive.
>
> Thanks
>
> Laurent

-- 
Angular momentum makes the world go 'round.

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Clustering solution ?
@ 2020-07-09 15:47  Laurent FAILLIE <l_faillie@yahoo.com>
  parent: Ron <ronljohnsonjr@gmail.com>
  0 siblings, 1 reply; 8+ messages in thread

From: Laurent FAILLIE @ 2020-07-09 15:47 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org, Ron <ronljohnsonjr@gmail.com>

Mainly for HA and DR but it can help also for the future if a load balancing is possible. But it's not mandatory yet.

Thanks
    Le jeudi 9 juillet 2020 à 17:30:35 UTC+2, Ron <ronljohnsonjr@gmail.com> a écrit :  
 
  For high availability, for load sharing or for disaster recovery?
 
 On 7/9/20 8:53 AM, Laurent FAILLIE wrote:
  
 
  Hello, 
  I've been asked by one of my customer to know which are the possible clustering solution for PostgreSQL ? 
  Active/passive ? Active/active ? 
  if possible free or not too expensive. 
  Thanks 
  Laurent
    
 -- 
 Angular momentum makes the world go 'round.   

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Clustering solution ?
@ 2020-07-13 16:55  Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
  parent: Laurent FAILLIE <l_faillie@yahoo.com>
  3 siblings, 0 replies; 8+ messages in thread

From: Jehan-Guillaume de Rorthais @ 2020-07-13 16:55 UTC (permalink / raw)
  To: Laurent FAILLIE <l_faillie@yahoo.com>; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>

On Thu, 9 Jul 2020 13:53:46 +0000 (UTC)
Laurent FAILLIE <l_faillie@yahoo.com> wrote:

> Hello,
> I've been asked by one of my customer to know which are the possible
> clustering solution for PostgreSQL ? Active/passive ?Active/active ?
> if possible free or not too expensive.

Start first by setting up safe and indestructible backups. Look at PITR
backups. Look at pg_backrest to help.

As soon as you have correct backups, you have DR.

Dig some more, optimize, and your PITR backup will be quite fast to restore.

If your RTO is not met with that, dig some more and then, we can talk about
HA, patroni and friends.

Regards,





^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Clustering solution ?
@ 2020-07-15 15:54  Laurent FAILLIE <l_faillie@yahoo.com>
  parent: Laurent FAILLIE <l_faillie@yahoo.com>
  0 siblings, 1 reply; 8+ messages in thread

From: Laurent FAILLIE @ 2020-07-15 15:54 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Hello all,
thanks all for your replies : I started to learn Patroni.Anyway, any alternative with my customer want's also LoadBalancing ?
Thanks
Laurent
 

    Le jeudi 9 juillet 2020 à 17:47:23 UTC+2, Laurent FAILLIE <l_faillie@yahoo.com> a écrit :  
 
 Mainly for HA and DR but it can help also for the future if a load balancing is possible. But it's not mandatory yet.

Thanks
    Le jeudi 9 juillet 2020 à 17:30:35 UTC+2, Ron <ronljohnsonjr@gmail.com> a écrit :  
 
  For high availability, for load sharing or for disaster recovery?
 
 On 7/9/20 8:53 AM, Laurent FAILLIE wrote:
  
 
  Hello, 
  I've been asked by one of my customer to know which are the possible clustering solution for PostgreSQL ? 
  Active/passive ? Active/active ? 
  if possible free or not too expensive. 
  Thanks 
  Laurent
    
 -- 
 Angular momentum makes the world go 'round.     

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Clustering solution ?
@ 2020-07-16 11:03  Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
  parent: Laurent FAILLIE <l_faillie@yahoo.com>
  0 siblings, 0 replies; 8+ messages in thread

From: Jehan-Guillaume de Rorthais @ 2020-07-16 11:03 UTC (permalink / raw)
  To: Laurent FAILLIE <l_faillie@yahoo.com>; +Cc: pgsql-general@lists.postgresql.org

On Wed, 15 Jul 2020 15:54:03 +0000 (UTC)
Laurent FAILLIE <l_faillie@yahoo.com> wrote:

> Hello all,
> thanks all for your replies : I started to learn Patroni.Anyway, any
> alternative with my customer want's also LoadBalancing ? Thanks
> Laurent

Same comment than my previous one here. Climb one step at a time.

First, create relevant benchmarks as close as possible from the target
application. Optimize your queries, setup, and lastly your hardware. If your
architecture does not keep up with the load, then you can consider load
balancing. And really, load balancing is hard to achieve for SGBD. It often
requires some changes on application side...or even dealing with it on
application side all together.

I've seen too many complex architectures, with too many layers, hard to
administer...for nothing. Keep it simple as long as you can.

Good luck.

Regards,

-- 
Jehan-Guillaume de Rorthais
Dalibo





^ permalink  raw  reply  [nested|flat] 8+ messages in thread


end of thread, other threads:[~2020-07-16 11:03 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09 13:53 Clustering solution ? Laurent FAILLIE <l_faillie@yahoo.com>
2020-07-09 13:55 ` Petite Abeille <petite.abeille@gmail.com>
2020-07-09 13:56 ` Paul Förster <paul.foerster@gmail.com>
2020-07-09 15:30 ` Ron <ronljohnsonjr@gmail.com>
2020-07-09 15:47   ` Laurent FAILLIE <l_faillie@yahoo.com>
2020-07-15 15:54     ` Laurent FAILLIE <l_faillie@yahoo.com>
2020-07-16 11:03       ` Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
2020-07-13 16:55 ` Jehan-Guillaume de Rorthais <jgdr@dalibo.com>

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