<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[张宴的博客]]></title> 
<link>http://zyan.cc/index.php</link> 
<description><![CDATA[Web系统架构与底层研发]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[张宴的博客]]></copyright>
<item>
<link>http://zyan.cc/sersync/</link>
<title><![CDATA[金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>张宴 &lt;net@s135.com&gt;</author>
<category><![CDATA[其他Unix技术]]></category>
<pubDate>Wed, 14 Apr 2010 11:32:30 +0000</pubDate> 
<guid>http://zyan.cc/sersync/</guid> 
<description>
<![CDATA[ 
	　　Sersync 是我们金山逍遥网技术支持部平台组<a href="http://code.google.com/u/zhouyangkunta/" target="_blank">周洋</a>同学，开发的一款基于 inotify + rsync 的大量文件的多服务器自动同步程序，目前已开源，开源协议为 New BSD License。<br/><br/>　　<strong>原理：</strong><br/>　　使用 Linux 2.6 内核的 inotify 监控 Linux 文件系统事件，被监听目录下如果有文件发生修改，sersync 将通过内核自动捕获到事件，并将该文件利用 rsync 同步到多台远程服务器。sersync 仅仅同步发生增、删、改事件的单个文件或目录，不像rsync镜像同步那样需要比对双方服务器整个目录下数千万的文件，并且支持多线程同步，因此效率非常高。<br/><br/>　　<strong>应用：</strong><br/>　　金山游戏官网的 CMS 内容发布系统。无论编辑通过 Web 还是 FTP 上传图片、视频、附件，还是系统工程师直接去CMS发布服务器上增加、修改、删除文件，干完这些事情后不用做任何处理，sersync 会自动将发生增、删、改事件的文件同步到远程服务器，并可以在文件同步完成后，自动调用 CDN（ChinaCache）缓存刷新接口，刷新发生修改、删除的文件的访问 URL。<br/><br/>　　更多内容，请访问项目网址：<a href="http://code.google.com/p/sersync/" target="_blank">http://code.google.com/p/sersync/</a><br/><br/><br/>Tags - <a href="http://zyan.cc/tags/sersync/" rel="tag">sersync</a> , <a href="http://zyan.cc/tags/inotify/" rel="tag">inotify</a> , <a href="http://zyan.cc/tags/rsync/" rel="tag">rsync</a>
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5595</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>leon365 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 14 Apr 2010 12:59:50 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5595</guid> 
<description>
<![CDATA[ 
	弄个配置实例出来,我们都不晓的咱个安装!<br/>我都是看你了的v6,才装的linux的配置的!
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5596</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>routerpipe &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 14 Apr 2010 13:36:53 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5596</guid> 
<description>
<![CDATA[ 
	你的网站，国内访问不了啊。我翻墙过来的
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5597</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>Ladon.Q &lt;htooy@htooy.org&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 14 Apr 2010 13:50:58 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5597</guid> 
<description>
<![CDATA[ 
	不错,我来支持下,嘿嘿
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5598</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>秋爱 &lt;qiuai@vip.qq.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 14 Apr 2010 14:24:47 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5598</guid> 
<description>
<![CDATA[ 
	看看,正好几台VPS的同步还没做...<br/>运行了以后系统负载大么?
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5599</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>tonyliao &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 14 Apr 2010 14:45:56 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5599</guid> 
<description>
<![CDATA[ 
	这个程序xoyo在用吗？效果怎么样？
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5600</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>lanrenvip &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 14 Apr 2010 14:48:26 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5600</guid> 
<description>
<![CDATA[ 
	张哥乃神人也！我今天正好在做inotify + rsync 的配置。雪中送炭啊。。。我test一下。。。。
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5601</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>X-Force &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 15 Apr 2010 01:16:04 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5601</guid> 
<description>
<![CDATA[ 
	请问这个可以远程同步吗？还是只能局域网同步？
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5602</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>无喱头 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 15 Apr 2010 01:22:28 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5602</guid> 
<description>
<![CDATA[ 
	上海人民发来贺电。。。
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5603</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>Now163 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 15 Apr 2010 01:26:55 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5603</guid> 
<description>
<![CDATA[ 
	膜拜。来学习一下。
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5604</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>xinyv &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 15 Apr 2010 01:28:18 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5604</guid> 
<description>
<![CDATA[ 
	提个建议：<br/>&nbsp;&nbsp;&nbsp;&nbsp;原来我做过这样的东西，是用bash脚本实现的，后来发现机器多了是个问题，发现一款 mrsync 软件。原理大体相同，但mrsync 是用吧所有的要同步的机器加入一个多播组，然后用组播实现同步，这样效率会高很多。&nbsp;&nbsp;mrsync 地址 <a href="http://mrsync.sourceforge.net/" target="_blank">http://mrsync.sourceforge.net/</a>
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5606</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>johntech &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 15 Apr 2010 04:00:08 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5606</guid> 
<description>
<![CDATA[ 
	xinyv的分享不错，我现在改sersync，除了各种小bug，下一步主要参考csync搞互同步，但好像用处不大。这个mrsync貌似源码很少。好好测试，学习一下，看看能不能提高sersync效率。
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5607</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>dd_macle &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 15 Apr 2010 04:18:38 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5607</guid> 
<description>
<![CDATA[ 
	真热闹啊，搞技术的互相交流的感觉真好
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5608</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>mcsrainbow &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 15 Apr 2010 04:54:02 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5608</guid> 
<description>
<![CDATA[ 
	是仅仅用inotify做监听，然后调用rsync同步数据吧？？<br/>如果是，那么用inotify-tools 加上rsync就行了。
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5609</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>sundy21cn &lt;sundy21cn@gmail.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 15 Apr 2010 05:07:36 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5609</guid> 
<description>
<![CDATA[ 
	请问这套同步机制支持增量吗？能支持大于30G以上的文件同步吗？<br/>如果同步源上的文件删除了，目标机器上的文件，同步系统会删除吗？
]]>
</description>
</item><item>
<link>http://zyan.cc/sersync/#blogcomment5610</link>
<title><![CDATA[[评论] 金山逍遥网 sersync 服务器实时镜像、自动同步程序开源]]></title> 
<author>小丑 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 15 Apr 2010 05:41:21 +0000</pubDate> 
<guid>http://zyan.cc/sersync/#blogcomment5610</guid> 
<description>
<![CDATA[ 
	inotify + rsync<br/>基本cms同步出去都是这样在做的,好东西 支持.
]]>
</description>
</item>
</channel>
</rss>