T
T
tsul2016-02-03 02:41:18
Distributed Computing
tsul, 2016-02-03 02:41:18

Implementation of a distributed decentralized fault-tolerant database for small amounts of data - what to see?

Thinking how to implement subj. in a small local area (~ 10 computers) of equal computers, isolated from the Internet.
What you need: a program is running on each computer that needs configuration files (small, up to 1KB, a little, up to 10 pieces) and a small database (obviously not Big Data, 5-7 tables for several hundred rows maximum). These same files and database are the same on all computers. It is necessary to make sure that the updates of this whole thing, being edited on any one computer, are distributed automatically to other computers. Some of which may be disabled at the moment.
The server cannot be selected - each computer can be turned off. Although 2-3 computers are less likely, most likely they will constantly work, but not a fact.
What is ready to implement it?
It seems that Redis + Redis Sentinel can, but it seems like a cannon to sparrows, no? In addition, it seems that he is not very friendly with Windows.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Roman_Kh, 2016-02-03
@tsul

You can use Apache Zookeeper .

D
Dasha Tsiklauri, 2016-02-03
@dasha_programmist

RavenDB has master-master replication and is very fast to deploy.
The database server can be deployed inside the application itself (embedded), which eliminates the need to install additional. programs.

X
xmoonlight, 2016-02-03
@xmoonlight

Make a TCP / UDP manager (file and database client): a system service that will receive commands from other PCs via TCP / UDP to replicate and update both files and database queries, and also send a broadcast request when it is turned on for verification /loading new changes to yourself.
The easiest way is to set up a normal micro-server with passive cooling on Gigabyte BRIX or a similar platform and not "blow up" the brain of yourself or other people.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question