replication

Keeping distributed databases synchronized in a unstable network

China☆狼群 提交于 2020-08-20 18:17:51
问题 I'm facing the following challenge: I have a bunch of databases in different geographical locations where the network may fail a lot (I'm using cellular network). I need to keep all the databases synchronized but there is no need to be in real time. I'm using Java but I have the freedom to choose any free database. Any suggestions on how I can achieve this. Thanks. 回答1: I am not aware of any databases that will give you this functionality out of the box; there is a lot of complexity here due

Firebird database replication

你。 提交于 2020-07-17 11:26:46
问题 I have reached the point where I've decided to replace my custom-built replication system with a system that has been built by someone else, mainly for reliability purposes. Can anyone recommend any replication system that is worth it? Is FiBRE any good? What I need might be a little away from a generic system, though. I have five departments with each having it's own copy of the database, and the master in a remote location. The departments all have sporadic internet connection, the master

Firebird database replication

怎甘沉沦 提交于 2020-07-17 11:26:18
问题 I have reached the point where I've decided to replace my custom-built replication system with a system that has been built by someone else, mainly for reliability purposes. Can anyone recommend any replication system that is worth it? Is FiBRE any good? What I need might be a little away from a generic system, though. I have five departments with each having it's own copy of the database, and the master in a remote location. The departments all have sporadic internet connection, the master

How to handle sequences in Bucardo Postgresql multi master

别等时光非礼了梦想. 提交于 2020-07-09 04:12:44
问题 We are setting up a database on three different Postgresql servers (and maybe on more in the future), currently syncing all tables using bucardo multi-master groups. We are not syncing sequences; we tried that, and we noticed bucardo is making us lose data when simultaneous writes occur in the same table, on different servers. Since they use the same keys, on sync time bucardo chooses to drop one of the duplicate rows. Our current approach is to manually namespace the sequence on each

How to handle sequences in Bucardo Postgresql multi master

て烟熏妆下的殇ゞ 提交于 2020-07-09 04:11:31
问题 We are setting up a database on three different Postgresql servers (and maybe on more in the future), currently syncing all tables using bucardo multi-master groups. We are not syncing sequences; we tried that, and we noticed bucardo is making us lose data when simultaneous writes occur in the same table, on different servers. Since they use the same keys, on sync time bucardo chooses to drop one of the duplicate rows. Our current approach is to manually namespace the sequence on each

Is it possible to read data only from a single node in a Cassandra cluster with a replication factor of 3?

六眼飞鱼酱① 提交于 2020-06-27 08:58:09
问题 I know that Cassandra have different read consistency levels but I haven't seen a consistency level which allows as read data by key only from one node. I mean if we have a cluster with a replication factor of 3 then we will always ask all nodes when we read. Even if we choose a consistency level of one we will ask all nodes but wait for the first response from any node. That is why we will load not only one node when we read but 3 (4 with a coordinator node). I think we can't really improve