<?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: Phusion Passenger and memcache-client revisited</title>
	<atom:link href="http://info.michael-simons.eu/2009/03/23/phusion-passenger-and-memcache-client-revisited/feed/" rel="self" type="application/rss+xml" />
	<link>http://info.michael-simons.eu/2009/03/23/phusion-passenger-and-memcache-client-revisited/</link>
	<description>Just another nerd blog</description>
	<lastBuildDate>Tue, 07 Feb 2012 06:40:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Michael</title>
		<link>http://info.michael-simons.eu/2009/03/23/phusion-passenger-and-memcache-client-revisited/#comment-6639</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 25 Aug 2009 05:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/?p=313#comment-6639</guid>
		<description>Hey Aaron, i think that&#039;s correct.</description>
		<content:encoded><![CDATA[<p>Hey Aaron, i think that&#8217;s correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Gibralter</title>
		<link>http://info.michael-simons.eu/2009/03/23/phusion-passenger-and-memcache-client-revisited/#comment-6638</link>
		<dc:creator>Aaron Gibralter</dc:creator>
		<pubDate>Mon, 24 Aug 2009 21:37:42 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/?p=313#comment-6638</guid>
		<description>So it would seem like both the Rails.cache MemCache object and the ActionController::Base.session_options[:cache] (if you&#039;re using memcached) would need to be reset in the block, right?

http://gist.github.com/174221</description>
		<content:encoded><![CDATA[<p>So it would seem like both the Rails.cache MemCache object and the ActionController::Base.session_options[:cache] (if you&#8217;re using memcached) would need to be reset in the block, right?</p>
<p><a href="http://gist.github.com/174221" rel="nofollow">http://gist.github.com/174221</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clive</title>
		<link>http://info.michael-simons.eu/2009/03/23/phusion-passenger-and-memcache-client-revisited/#comment-6631</link>
		<dc:creator>Clive</dc:creator>
		<pubDate>Fri, 07 Aug 2009 15:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/?p=313#comment-6631</guid>
		<description>For Rails 2.2.2,reestablish_connection_to_memcached method should be
Rails.cache.instance_variable_get(’@data’).reset</description>
		<content:encoded><![CDATA[<p>For Rails 2.2.2,reestablish_connection_to_memcached method should be<br />
Rails.cache.instance_variable_get(’@data’).reset</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Creating a self containing mvc application with Sinatra &#124; info.michael-simons.eu</title>
		<link>http://info.michael-simons.eu/2009/03/23/phusion-passenger-and-memcache-client-revisited/#comment-6627</link>
		<dc:creator>Creating a self containing mvc application with Sinatra &#124; info.michael-simons.eu</dc:creator>
		<pubDate>Wed, 29 Jul 2009 08:23:14 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/?p=313#comment-6627</guid>
		<description>[...] wait. I&#8217;ve written before about problems with memcache-client and Passenger and this problems needs to be addressed in a Rails as well as Rack [...]</description>
		<content:encoded><![CDATA[<p>[...] wait. I&#8217;ve written before about problems with memcache-client and Passenger and this problems needs to be addressed in a Rails as well as Rack [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://info.michael-simons.eu/2009/03/23/phusion-passenger-and-memcache-client-revisited/#comment-6626</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 23 Jul 2009 19:37:39 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/?p=313#comment-6626</guid>
		<description>Hello Ian,
thank you very much for that nice comment!

Its actually in the passenger docs… 

Regarding your second question: Connection from the Passenger process to memcache is done via a socket which is actually a file descriptor. This descriptor is copied when forking a new process with shared memory and both write and read to and from the exact same socket and it goes *boom*

As long as you connect to the database via tcp i&#039;d say you&#039;re safe. I guess  that problems will arive, if you use a socket connection to mysql. I have no idea how sqlite connections are handled.</description>
		<content:encoded><![CDATA[<p>Hello Ian,<br />
thank you very much for that nice comment!</p>
<p>Its actually in the passenger docs… </p>
<p>Regarding your second question: Connection from the Passenger process to memcache is done via a socket which is actually a file descriptor. This descriptor is copied when forking a new process with shared memory and both write and read to and from the exact same socket and it goes *boom*</p>
<p>As long as you connect to the database via tcp i&#8217;d say you&#8217;re safe. I guess  that problems will arive, if you use a socket connection to mysql. I have no idea how sqlite connections are handled.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Neubert</title>
		<link>http://info.michael-simons.eu/2009/03/23/phusion-passenger-and-memcache-client-revisited/#comment-6625</link>
		<dc:creator>Ian Neubert</dc:creator>
		<pubDate>Thu, 23 Jul 2009 19:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/?p=313#comment-6625</guid>
		<description>Thank you for this tutorial, it should be included in the Passenger docs!

As a side question, does anyone know if you need to go through a similar process on the ActiveRecord connection to the database?

Thanks!</description>
		<content:encoded><![CDATA[<p>Thank you for this tutorial, it should be included in the Passenger docs!</p>
<p>As a side question, does anyone know if you need to go through a similar process on the ActiveRecord connection to the database?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://info.michael-simons.eu/2009/03/23/phusion-passenger-and-memcache-client-revisited/#comment-6622</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 08 Jul 2009 19:42:15 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/?p=313#comment-6622</guid>
		<description>Hey Alex,
sorry that i had no answer for and thank you for your input!
Cheers,
Michael</description>
		<content:encoded><![CDATA[<p>Hey Alex,<br />
sorry that i had no answer for and thank you for your input!<br />
Cheers,<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Farrill</title>
		<link>http://info.michael-simons.eu/2009/03/23/phusion-passenger-and-memcache-client-revisited/#comment-6621</link>
		<dc:creator>Alex Farrill</dc:creator>
		<pubDate>Wed, 08 Jul 2009 19:38:44 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/?p=313#comment-6621</guid>
		<description>Am using this:

Rails.cache.instance_variable_get(&#039;@cache&#039;).reset

for my reestablish_connection_to_memcached method

In case it is useful to anyone else
peace,
Alex</description>
		<content:encoded><![CDATA[<p>Am using this:</p>
<p>Rails.cache.instance_variable_get(&#8216;@cache&#8217;).reset</p>
<p>for my reestablish_connection_to_memcached method</p>
<p>In case it is useful to anyone else<br />
peace,<br />
Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Farrill</title>
		<link>http://info.michael-simons.eu/2009/03/23/phusion-passenger-and-memcache-client-revisited/#comment-6620</link>
		<dc:creator>Alex Farrill</dc:creator>
		<pubDate>Tue, 07 Jul 2009 19:48:03 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/?p=313#comment-6620</guid>
		<description>Anyone have any insight into using this with Libmemcached as the cache store?
Thanks,
Alex</description>
		<content:encoded><![CDATA[<p>Anyone have any insight into using this with Libmemcached as the cache store?<br />
Thanks,<br />
Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://info.michael-simons.eu/2009/03/23/phusion-passenger-and-memcache-client-revisited/#comment-6615</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 06 May 2009 13:17:20 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/?p=313#comment-6615</guid>
		<description>Arthur: You&#039;re welcome and i&#039;m glad, your problem is solved. Thanks for nice comment on your blog!

Cheers,
Michael.</description>
		<content:encoded><![CDATA[<p>Arthur: You&#8217;re welcome and i&#8217;m glad, your problem is solved. Thanks for nice comment on your blog!</p>
<p>Cheers,<br />
Michael.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.395 seconds -->

