Y
Y
yiicoder2015-10-21 18:13:16
Highload
yiicoder, 2015-10-21 18:13:16

How to organize data synchronization between static servers?

There is static from the servers, when there is not enough bandwidth - we start a new instance.
Now there is a certain central server - any changes in statics are uploaded to it. On the rest of the servers, there is an rsync cron - which picks up from the "central" update.
In general, the solution works, but I don’t like that there is about a minute of time when the data versions may differ on the servers.
What are the best approaches to solve this problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Osher, 2015-10-21
@miraage

Amazon Cloud Front.

L
lega, 2015-10-21
@lega

You can run rsync on servers with a script, something like: ssh server1 rsync coreserver ./ &

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question