C
C
Caefah2017-09-14 10:28:49
PostgreSQL
Caefah, 2017-09-14 10:28:49

How to properly organize geographically distributed asynchronous replication between PostgreSQL-XL clusters?

PostgreSQL-XL does not support geo-distributed asynchronous replication out of the box. Only synchronous on fast networks. There is such task:
Two geographically separated autonomous Postgresql-XL clusters. There is a need between them to make asynchronous replication. At the same time, clients only read and each client goes to his own XL. The agent that writes is only one and it writes data to both clusters, taking into account asynchronous data replication. Tell me, please, is it advisable to use PostgreSQL BDR for replication purposes in this case? Is it even possible? What tools for this can be better suited than BDR?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
terrier, 2017-09-14
@Caefah

So you want a weakly-coupled multimaster? Yes, BDR does it. However, it is clear that your applications will need to learn how to deal with conflicts and ensure that everything is eventual consistent.
Well, you can’t stop repeating that in the case of a multimaster, you need to understand very well what you are doing - a huge number of problems appear that simply did not exist with the master-slave.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question