<?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>Software Engineer developing PHP applications for fun, profit and distraction. Magento, Zend Framework and Symfony</description> <lastBuildDate>Thu, 03 Nov 2011 09:42:16 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>By: Montana Harkin</title><link>http://www.designdisclosure.com/2009/11/symfony-apc-cache-and-memcache-session-storage/#comment-5904</link> <dc:creator>Montana Harkin</dc:creator> <pubDate>Thu, 25 Aug 2011 17:56:58 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=138#comment-5904</guid> <description>It is important to note that Symfony does not set up any session save handlers, so any existing code that is using $_SESSION will start to fail when switching to sfCacheSessionStorage.I haven&#039;t had time to alter sfCacheSessionStorage to add this functionality yet, but it should be possible.</description> <content:encoded><![CDATA[<p>It is important to note that Symfony does not set up any session save handlers, so any existing code that is using $_SESSION will start to fail when switching to sfCacheSessionStorage.</p><p>I haven&#8217;t had time to alter sfCacheSessionStorage to add this functionality yet, but it should be possible.</p> ]]></content:encoded> </item> <item><title>By: alex baron</title><link>http://www.designdisclosure.com/2009/11/symfony-apc-cache-and-memcache-session-storage/#comment-3349</link> <dc:creator>alex baron</dc:creator> <pubDate>Wed, 09 Mar 2011 15:48:33 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=138#comment-3349</guid> <description>helloI configure memcached et apc for my project, but i&#039;ve got a problem with the user authentification. I can&#039;t access to user session to authentified user. So sfGuard redirect to the login page. I use sf1.4.Thank you for your article.</description> <content:encoded><![CDATA[<p>hello</p><p>I configure memcached et apc for my project, but i&#8217;ve got a problem with the user authentification. I can&#8217;t access to user session to authentified user. So sfGuard redirect to the login page. I use sf1.4.</p><p>Thank you for your article.</p> ]]></content:encoded> </item> <item><title>By: ehcache.net</title><link>http://www.designdisclosure.com/2009/11/symfony-apc-cache-and-memcache-session-storage/#comment-2583</link> <dc:creator>ehcache.net</dc:creator> <pubDate>Thu, 06 Jan 2011 13:05:05 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=138#comment-2583</guid> <description>&lt;strong&gt;symfony APC cache and Memcache session storage...&lt;/strong&gt;In a previous post I described some of the reasons why you would want to store your session data in an alternate location to temporary files on your server. I explained the setup of database session storage using Doctrine and how this would allow you t...</description> <content:encoded><![CDATA[<p><strong>symfony APC cache and Memcache session storage&#8230;</strong></p><p>In a previous post I described some of the reasons why you would want to store your session data in an alternate location to temporary files on your server. I explained the setup of database session storage using Doctrine and how this would allow you t&#8230;</p> ]]></content:encoded> </item> <item><title>By: Collector</title><link>http://www.designdisclosure.com/2009/11/symfony-apc-cache-and-memcache-session-storage/#comment-2404</link> <dc:creator>Collector</dc:creator> <pubDate>Thu, 09 Dec 2010 13:10:41 +0000</pubDate> <guid
isPermaLink="false">http://www.designdisclosure.com/?p=138#comment-2404</guid> <description>And what about setting the cache entry&#039;s expiration time? If it&#039;s using the default value you might be stuck with too many sessions flooding your cache.</description> <content:encoded><![CDATA[<p>And what about setting the cache entry&#8217;s expiration time? If it&#8217;s using the default value you might be stuck with too many sessions flooding your cache.</p> ]]></content:encoded> </item> <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://designdisclosure.s3.amazonaws.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching using memcached
Object Caching 494/498 objects using apc
Content Delivery Network via Amazon Web Services: S3: designdisclosure.s3.amazonaws.com

Served from: www.designdisclosure.com @ 2012-02-06 05:30:44 -->
