<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Leo の Blog &#187; trigger</title>
	<atom:link href="http://blog.openider.com/archives/tag/trigger/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.openider.com</link>
	<description>Where there is a will there is a way! Trust youself can do it!</description>
	<lastBuildDate>Thu, 27 Aug 2009 10:42:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>玩玩 MySQL 更新 Memcached (1) 目标</title>
		<link>http://blog.openider.com/archives/169</link>
		<comments>http://blog.openider.com/archives/169#comments</comments>
		<pubDate>Thu, 27 Aug 2009 08:16:02 +0000</pubDate>
		<dc:creator>Guya</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[memcache]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[trigger]]></category>

		<guid isPermaLink="false">http://blog.openider.com/?p=169</guid>
		<description><![CDATA[玩玩 MySQL 5.1 的 trigger,  让 MySQL 通过 Trigger 更新 本地的 Memcached 服务器. 数据库 主从模式. 具体模拟测试配置如下：
Master DB Server IP: 192.168.2. 92 (Ubuntu-8.04 base system + mysql 5.1.37)
Slave DB Server IP: 192.168.2.93 (同上)
Memcached Server 1: 192.168.2. 95 (Ubuntu-8.04 base system + memcached-1.4)
Memcached Server 2: 192.168.2.96 (同上)
假设 Memcached Server 1 和 Master DB Server 是一个本地环境, Memcached Server [...]]]></description>
		<wfw:commentRss>http://blog.openider.com/archives/169/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql 同步 trigger 更新 memcache</title>
		<link>http://blog.openider.com/archives/163</link>
		<comments>http://blog.openider.com/archives/163#comments</comments>
		<pubDate>Wed, 26 Aug 2009 09:09:35 +0000</pubDate>
		<dc:creator>Guya</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[trigger]]></category>

		<guid isPermaLink="false">http://blog.openider.com/?p=163</guid>
		<description><![CDATA[聊一下通过 MySQL 通过触发器更新本地的 Memcached 服务器.
模拟一下服务器环境：
Master Database Server: 192.168.2.96
Slave Database Server: 192.168.2.95
和 master db 同步的 memcache 服务器: 192.168.2.92
和 slave db 同步的 memcache 服务器: 192.168.2.93
先搭建 Memcached 服务器环境：
下载安装 Memcached, 编译安装.

wget http://memcached.googlecode.com/files/memcached-1.4.0.tar.gz
tar zxf memcached-1.4.0.tar.gz
./configure --prefix=/usr
make
sudo make install
&#160;
wget http://download.tangent.org/libmemcached-0.31.tar.gz
cd libmemcached-0.31/
./configure --prefix=/usr
make
sudo make install

启动 Memcached 服务, 在另一台机器用PHP测试一下:

sudo memcached -d -m 64 -u root -l 192.168.2.92 -p 11211 -c 64 -P /tmp/memcached.pid

检查一下 [...]]]></description>
		<wfw:commentRss>http://blog.openider.com/archives/163/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
