<?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>寂静的深海 &#187; memcache</title>
	<atom:link href="http://www.deepseath.com/?feed=rss2&#038;tag=memcache" rel="self" type="application/rss+xml" />
	<link>http://www.deepseath.com</link>
	<description></description>
	<lastBuildDate>Mon, 29 Jan 2024 09:55:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PHP的Memcache应用</title>
		<link>http://www.deepseath.com/?p=393</link>
		<comments>http://www.deepseath.com/?p=393#comments</comments>
		<pubDate>Wed, 05 Nov 2008 11:43:41 +0000</pubDate>
		<dc:creator>Deepseath</dc:creator>
				<category><![CDATA[日积月累]]></category>
		<category><![CDATA[memcache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[服务]]></category>
		<category><![CDATA[服务器]]></category>

		<guid isPermaLink="false">http://www.deepseath.com/?p=393</guid>
		<description><![CDATA[不讨论安装服务端，这里只将针对php的客户端接口的使用。在网上找到个例子可以参考，几个方法的使用和含义： &#60; ?php //连接 $mem = new Memcache; $mem-&#62;connect(“192.168.0.200&#8243;, 12000); //保存数据 $mem-&#62;set(&#8216;key1&#8242;, &#8216;This is first value&#8217;, 0, 60); $val = $mem-&#62;get(&#8216;key1&#8242;); echo “Get key1 value: ” . $val .”&#60;br /&#62;”; //替换数据 $mem-&#62;replace(&#8216;key1&#8242;, &#8216;This is replace value&#8217;, 0, 60); $val = $mem-&#62;get(&#8216;key1&#8242;); echo “Get key1 value: ” . $val . “&#60;br /&#62;”; //保存数组 $arr = array(&#8216;aaa&#8217;, [...]]]></description>
		<wfw:commentRss>http://www.deepseath.com/?feed=rss2&#038;p=393</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>memcache是个好东西</title>
		<link>http://www.deepseath.com/?p=389</link>
		<comments>http://www.deepseath.com/?p=389#comments</comments>
		<pubDate>Wed, 05 Nov 2008 03:32:25 +0000</pubDate>
		<dc:creator>Deepseath</dc:creator>
				<category><![CDATA[程序人生]]></category>
		<category><![CDATA[memcache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[底层]]></category>
		<category><![CDATA[技术]]></category>

		<guid isPermaLink="false">http://www.deepseath.com/?p=389</guid>
		<description><![CDATA[　标题是个废话，不好就不会有那么多人用了。 　一直在考虑利用PHP+mysql自己架构一个简单的类似memcache的简单应用，原理比较简单，基本可实现缓存的键值分配、过期的设置、数据的存储等等。功能上无非就是写入和读取。简单点说其实也就是利用一个查询的集去写入缓存。每次查询到公共部分的时候直接获取结果。这样虽然也是要经过数据库查询，但对于某些多次进行的相同查询的时候效果也是比较明显的。当然不会有类似memcache的分布式架构，仅仅是一个小型的应用，适用于不方便安装memcache的时候。属于项目级的一个数据层的小型缓存机制。可惜无法理解底层的内存操作技术，否则直接写入到内存可能效果会非常好，因为基于的功能仅仅为读、写没有memcache那么复杂的应用，应该效果会好一些^_^ 　尝试写了一下感觉还不错，呵呵，对于小型的项目应用自信还可以应付。最近状态不错。继续加油～～忙完手里的项目赶快忙自己的……]]></description>
		<wfw:commentRss>http://www.deepseath.com/?feed=rss2&#038;p=389</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[转]memcached的几个参数</title>
		<link>http://www.deepseath.com/?p=241</link>
		<comments>http://www.deepseath.com/?p=241#comments</comments>
		<pubDate>Sun, 13 Jul 2008 16:39:31 +0000</pubDate>
		<dc:creator>Deepseath</dc:creator>
				<category><![CDATA[日积月累]]></category>
		<category><![CDATA[memcache]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[服务]]></category>

		<guid isPermaLink="false">http://www.deepseath.com/?p=241</guid>
		<description><![CDATA[呵呵，还是Windows下的。 http://jehiah.com/projects/memcached-win32/ -p &#60;num&#62;          监听的端口 -l &#60;ip_addr&#62;      连接的IP地址, 默认是本机 -d start          启动memcached服务 -d restart        重起memcached服务 -d stop&#124;shutdown  关闭正在运行的memcached服务 -d install        安装memcached服务 -d uninstall      卸载memcached服务 -u &#60;username&#62;     以&#60;username&#62;的身份运行 (仅在以root运行的时候有效) -m &#60;num&#62;          最大内存使用，单位MB。默认64MB -M                内存耗尽时返回错误，而不是删除项 -c &#60;num&#62;          最大同时连接数，默认是1024 -f &#60;factor&#62;       块大小增长因子，默认是1.25 -n &#60;bytes&#62;        最小分配空间，key+value+flags默认是48 -h                显示帮助 &#60;?php //test1.php $memcache = new Memcache; $memcache-&#62;connect(&#8216;localhost&#8217;, 11211) or die (“Could [...]]]></description>
		<wfw:commentRss>http://www.deepseath.com/?feed=rss2&#038;p=241</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
