Linux Learning Sersync Introduction Linux operation and Maintenance

Source: Internet
Author: User
Tags inotify rsync

Sersync uses inotify technology to realize real-time synchronization of water server data, which monitors the change of file system on sersync server,rsync is a widely used local and offsite data Synchronization tool, the advantage is only to change the directory data operation, or even a different part of the file synchronization, so its advantages are much more than the use of the hook file system or the SCP and other ways of mirroring synchronization.

Currently using more than one version of the synchronization program is Inotify-tools, the other is the Google Open Source project Openduckbill ( dependent on inotify-tools), Both are written in scripting languages and are designed with the same inotify and rsync commands.

Sersync advantages are:

1. Written in C + + , temporary files and duplicate file operations on Linux system files are filtered, and when combined with rsync , the local and network resources consumed by the runtime are reduced and therefore faster.

2.Sersync is simple to configure compared to other projects

3. Use multi-threaded synchronization ( that is, multiple different files can be synchronized concurrently ), especially when synchronizing large files, can ensure that multiple servers in real-time synchronization state

4.Sersync error handling mechanism, resynchronization of failed files via failure queue, and re-synchronization of files that failed synchronization every ten hours if they still fail

5.Sersync comes with crontab function, just open in the XML configuration file, can be pre-configured, the whole synchronization at a time

The 6.Sersync comes with a socket and http protocol extension that can be developed for two of companies with special needs.

Hope that through the sharing can help the needs of the pot friends. Linux is now popular with internet companies and wants to stand out from the many it workers, requiring advanced technology and learning to add value is essential. The way of learning is your insistence. The old boy education Linux Cloud computing operation and Maintenance course,Ten years of technical precipitation, put an end to paper, the whole enterprise real case combined with theoretical teaching, want to learn more about Linux cloud Computing operations knowledge, can pay attention to the old boy education.


Linux Learning Sersync Introduction Linux operation and Maintenance

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.