<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: symfony APC cache and Memcache session storage</title>
	<atom:link href="http://www.designdisclosure.com/2009/11/symfony-apc-cache-and-memcache-session-storage/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designdisclosure.com/2009/11/symfony-apc-cache-and-memcache-session-storage/</link>
	<description>Developing web and iphone applications for fun, profit or distraction</description>
	<lastBuildDate>Mon, 12 Apr 2010 00:35:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Johnathan Leppert</title>
		<link>http://www.designdisclosure.com/2009/11/symfony-apc-cache-and-memcache-session-storage/#comment-1718</link>
		<dc:creator>Johnathan Leppert</dc:creator>
		<pubDate>Fri, 02 Apr 2010 14:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.designdisclosure.com/?p=138#comment-1718</guid>
		<description>I noticed you were missing some parameters (storeCacheInfo, lifetime, and prefix). These are especially needed if you are also using memcache for view caching. I kept having sessions timeout and after I added these it fixed the problem.

Ex:

      cache:
        class: sfMemcacheCache #[required] define the cache strategy
        param:
    &lt;b&gt;storeCacheInfo: true
          lifetime: 86400
          prefix: &#039;s_&#039;&lt;/b&gt;
          servers: # Array of servers
            web1:
              host: 192.168.1.66
              port: 11211
            web2:
              host: 192.168.1.67
              port: 11211
            web3:
              host: 192.168.1.70
              port: 11211</description>
		<content:encoded><![CDATA[<p>I noticed you were missing some parameters (storeCacheInfo, lifetime, and prefix). These are especially needed if you are also using memcache for view caching. I kept having sessions timeout and after I added these it fixed the problem.</p>
<p>Ex:</p>
<p>      cache:<br />
        class: sfMemcacheCache #[required] define the cache strategy<br />
        param:<br />
    <b>storeCacheInfo: true<br />
          lifetime: 86400<br />
          prefix: &#8216;s_&#8217;</b><br />
          servers: # Array of servers<br />
            web1:<br />
              host: 192.168.1.66<br />
              port: 11211<br />
            web2:<br />
              host: 192.168.1.67<br />
              port: 11211<br />
            web3:<br />
              host: 192.168.1.70<br />
              port: 11211</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://www.designdisclosure.com/2009/11/symfony-apc-cache-and-memcache-session-storage/#comment-1696</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Fri, 26 Mar 2010 16:29:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.designdisclosure.com/?p=138#comment-1696</guid>
		<description>Wicked! 

Thanks</description>
		<content:encoded><![CDATA[<p>Wicked! </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Robinson</title>
		<link>http://www.designdisclosure.com/2009/11/symfony-apc-cache-and-memcache-session-storage/#comment-1357</link>
		<dc:creator>Matt Robinson</dc:creator>
		<pubDate>Thu, 10 Dec 2009 17:24:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.designdisclosure.com/?p=138#comment-1357</guid>
		<description>I&#039;ve used symfony&#039;s memcache storage for sessions too, and it&#039;s joyfully easy to set up, but I think you have to be pretty careful with it. If the cache gets full, sessions will fall off (it&#039;s not called volatile for nothing). You&#039;re right to mention maybe running a dedicated cache for sessions. 

Incidentally, I don&#039;t know how it is for Ubuntu 9.04, but 9.10 has a php5-memcache package, so you don&#039;t need to use PECL (that bit&#039;s missing from the article above - does sfMemcacheCache use sockets directly or something?) 

Symfony also supports xcache storage as well as APC, and Ubuntu offers the php5-xcache package for that. I&#039;m always more comfortable avoiding pecl because I don&#039;t want unattended security upgrades to break my PHP extensions, I guess. :)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve used symfony&#8217;s memcache storage for sessions too, and it&#8217;s joyfully easy to set up, but I think you have to be pretty careful with it. If the cache gets full, sessions will fall off (it&#8217;s not called volatile for nothing). You&#8217;re right to mention maybe running a dedicated cache for sessions. </p>
<p>Incidentally, I don&#8217;t know how it is for Ubuntu 9.04, but 9.10 has a php5-memcache package, so you don&#8217;t need to use PECL (that bit&#8217;s missing from the article above &#8211; does sfMemcacheCache use sockets directly or something?) </p>
<p>Symfony also supports xcache storage as well as APC, and Ubuntu offers the php5-xcache package for that. I&#8217;m always more comfortable avoiding pecl because I don&#8217;t want unattended security upgrades to break my PHP extensions, I guess. <img src='http://www.designdisclosure.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
