How to synchronize files between a VPS (not using cdn)?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
51 views
There is one instance of the application that works with the base and takes saves files, as well as giving them.
We need to deploy it to another region, and database replica configured, the instance is raised, but the app does not work with cdn.
How best to quickly sync files between vps, what tools are correct, whether there are already precedents and examples? And that was not cyclic record: server1 -> server2 -> server1 -> ... so once signed up for the server
by | 51 views

5 Answers

0 like 0 dislike
syncthing daemon hanging in memory, sinhroniziruete files between a bunch of customers. when small changes in the file - only updates changed. I read the same rsync only smarter.
Laura was otlicials terabyte on the clouds with half a dozen customers.
Inotify monitors for write to the disk, so that the catches of the disk changes almost immediately.
management through web face.
opencores
by
0 like 0 dislike
ceph, glusterfs.
by
0 like 0 dislike
The most simple rsync - s1->s2 and s2>s1 at the crown once a minute
It's fast and cheap and with a bunch of things: time sync once per minute, the use of space on both servers.
And it is better (considering for the future) read OnYourLips
by
0 like 0 dislike
Nginx reverse proxy and configure it with the cache
by
0 like 0 dislike
rsync in cron
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
35,389 users