<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for phpslacker</title>
	<atom:link href="http://phpslacker.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpslacker.com</link>
	<description>yet another g33k blog *sigh*</description>
	<lastBuildDate>Tue, 07 Sep 2010 09:56:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on session-clustering with memcache by phpslacker</title>
		<link>http://phpslacker.com/2009/03/02/php-session-clustering-with-memcache/#comment-266</link>
		<dc:creator>phpslacker</dc:creator>
		<pubDate>Tue, 07 Sep 2010 09:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://phpslacker.com/?p=197#comment-266</guid>
		<description>This is not a general help forum but here&#039;s the best possible advice anyone can give you. You have a lot of questions. Nobody can make those decisions for you. You have specific needs/requirements for your unique environment. You need to gather all the facts and make a decision yourself for yourself. Let go of broad-spectrum best practices. Every problem has context. Seek it. Understand it

OR

hire a consultant at $$$$ / hour</description>
		<content:encoded><![CDATA[<p>This is not a general help forum but here&#8217;s the best possible advice anyone can give you. You have a lot of questions. Nobody can make those decisions for you. You have specific needs/requirements for your unique environment. You need to gather all the facts and make a decision yourself for yourself. Let go of broad-spectrum best practices. Every problem has context. Seek it. Understand it</p>
<p>OR</p>
<p>hire a consultant at $$$$ / hour</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on session-clustering with memcache by Alex</title>
		<link>http://phpslacker.com/2009/03/02/php-session-clustering-with-memcache/#comment-265</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 06 Sep 2010 21:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://phpslacker.com/?p=197#comment-265</guid>
		<description>Hello, 
thanks for the article and your following of discussion since then. 
Related to the DB approach which many follow (the guy from the Lift framework among others), what about using MongoDB instead of MySQL ?
I&#039;m currently wondering what would be the best approach between MongoDB or simply use Zend cluster Manager. What do you think of ?
Does someone know the price of Zend cluster Manager by the way ? :)</description>
		<content:encoded><![CDATA[<p>Hello,<br />
thanks for the article and your following of discussion since then.<br />
Related to the DB approach which many follow (the guy from the Lift framework among others), what about using MongoDB instead of MySQL ?<br />
I&#8217;m currently wondering what would be the best approach between MongoDB or simply use Zend cluster Manager. What do you think of ?<br />
Does someone know the price of Zend cluster Manager by the way ? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on vim tips for php programmers by phpslacker</title>
		<link>http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/#comment-263</link>
		<dc:creator>phpslacker</dc:creator>
		<pubDate>Thu, 05 Aug 2010 09:35:42 +0000</pubDate>
		<guid isPermaLink="false">http://phpslacker.com/?p=84#comment-263</guid>
		<description>I&#039;m not big fan of traditional auto-completion in IDEs so I don&#039;t do it myself

I do use word/pattern completion though

See http://www.thegeekstuff.com/2009/01/vi-and-vim-editor-5-awesome-examples-for-automatic-word-completion-using-ctrl-x-magic/

That could cover most of your auto-completion needs

For the traditional IDE-like auto-complete features i think thats possible with &quot;exuberant ctags&quot;</description>
		<content:encoded><![CDATA[<p>I&#8217;m not big fan of traditional auto-completion in IDEs so I don&#8217;t do it myself</p>
<p>I do use word/pattern completion though</p>
<p>See <a href="http://www.thegeekstuff.com/2009/01/vi-and-vim-editor-5-awesome-examples-for-automatic-word-completion-using-ctrl-x-magic/" rel="nofollow">http://www.thegeekstuff.com/2009/01/vi-and-vim-editor-5-awesome-examples-for-automatic-word-completion-using-ctrl-x-magic/</a></p>
<p>That could cover most of your auto-completion needs</p>
<p>For the traditional IDE-like auto-complete features i think thats possible with &#8220;exuberant ctags&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on vim tips for php programmers by Marcos</title>
		<link>http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/#comment-262</link>
		<dc:creator>Marcos</dc:creator>
		<pubDate>Thu, 05 Aug 2010 05:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://phpslacker.com/?p=84#comment-262</guid>
		<description>hey i have a question.
if you can help me out or lead me to where can i get what i&#039;m looking for.
i want to know if any one of you had do this.
(autocompletion help , cuz I&#039;m not a senior php programer and i dislike dreamweaver a lot for taking my hand out of the keyboard).
http://fisadev.blogspot.com/feeds/posts/default

it&#039;s the completion help fisa get with VI of python, if you are so kind just to look the pic. (I know it&#039;s no english) and obviously for php???.
i right now use emacs to do that job due to the don&#039;t-know how to get it in Vim.

if anyone can help me out send an mail.
thx anyways =D.
Marcos
programerrr novice.</description>
		<content:encoded><![CDATA[<p>hey i have a question.<br />
if you can help me out or lead me to where can i get what i&#8217;m looking for.<br />
i want to know if any one of you had do this.<br />
(autocompletion help , cuz I&#8217;m not a senior php programer and i dislike dreamweaver a lot for taking my hand out of the keyboard).<br />
<a href="http://fisadev.blogspot.com/feeds/posts/default" rel="nofollow">http://fisadev.blogspot.com/feeds/posts/default</a></p>
<p>it&#8217;s the completion help fisa get with VI of python, if you are so kind just to look the pic. (I know it&#8217;s no english) and obviously for php???.<br />
i right now use emacs to do that job due to the don&#8217;t-know how to get it in Vim.</p>
<p>if anyone can help me out send an mail.<br />
thx anyways =D.<br />
Marcos<br />
programerrr novice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on session-clustering with memcache by tfotherby</title>
		<link>http://phpslacker.com/2009/03/02/php-session-clustering-with-memcache/#comment-261</link>
		<dc:creator>tfotherby</dc:creator>
		<pubDate>Tue, 27 Jul 2010 12:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://phpslacker.com/?p=197#comment-261</guid>
		<description>Thanks for replying, again really useful info. 

I used the technique to successfully get sessions to transparently failover. i.e. the user was not logged out if I stop a pooled memcached instance on one of the machines.

I didn&#039;t manage to use the technique to share sessions across two servers: http://serverfault.com/questions/164350/can-a-pool-of-memcache-daemons-be-used-to-share-sessions-more-efficiently</description>
		<content:encoded><![CDATA[<p>Thanks for replying, again really useful info. </p>
<p>I used the technique to successfully get sessions to transparently failover. i.e. the user was not logged out if I stop a pooled memcached instance on one of the machines.</p>
<p>I didn&#8217;t manage to use the technique to share sessions across two servers: <a href="http://serverfault.com/questions/164350/can-a-pool-of-memcache-daemons-be-used-to-share-sessions-more-efficiently" rel="nofollow">http://serverfault.com/questions/164350/can-a-pool-of-memcache-daemons-be-used-to-share-sessions-more-efficiently</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on session-clustering with memcache by phpslacker</title>
		<link>http://phpslacker.com/2009/03/02/php-session-clustering-with-memcache/#comment-260</link>
		<dc:creator>phpslacker</dc:creator>
		<pubDate>Tue, 27 Jul 2010 12:13:15 +0000</pubDate>
		<guid isPermaLink="false">http://phpslacker.com/?p=197#comment-260</guid>
		<description>Look. The solution i posted for session clustering is a fiery hack. FYI Memcached does not do replication between instances

For the default php.ini memcache configuration both servers should have an identical php.ini line like this:

session.save_path=”tcp://primary_memcached_instance:11211, Tcp://secondary_memcached_instance:11211″

Because the default hashing method is &quot;standard&quot; not &quot;consistent&quot;. The type of hashing algorithm (chosen for memcached) determines how the keys are distributed across the pool of memcached servers. Consistent hashing would offer full failover. Then you can use the settings you describe in your comment to achieve 50% hit/miss on local reads

See http://www.php.net/manual/en/memcache.ini.php#ini.memcache.hash-strategy</description>
		<content:encoded><![CDATA[<p>Look. The solution i posted for session clustering is a fiery hack. FYI Memcached does not do replication between instances</p>
<p>For the default php.ini memcache configuration both servers should have an identical php.ini line like this:</p>
<p>session.save_path=”tcp://primary_memcached_instance:11211, Tcp://secondary_memcached_instance:11211″</p>
<p>Because the default hashing method is &#8220;standard&#8221; not &#8220;consistent&#8221;. The type of hashing algorithm (chosen for memcached) determines how the keys are distributed across the pool of memcached servers. Consistent hashing would offer full failover. Then you can use the settings you describe in your comment to achieve 50% hit/miss on local reads</p>
<p>See <a href="http://www.php.net/manual/en/memcache.ini.php#ini.memcache.hash-strategy" rel="nofollow">http://www.php.net/manual/en/memcache.ini.php#ini.memcache.hash-strategy</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on session-clustering with memcache by Tom</title>
		<link>http://phpslacker.com/2009/03/02/php-session-clustering-with-memcache/#comment-259</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 27 Jul 2010 10:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://phpslacker.com/?p=197#comment-259</guid>
		<description>Hi,

Thanks for a great article. I have a question about using this session clustering technique across two round-robin load-balanced LAMP servers.

From my understanding of this article, it should be possible to share sessions across two webservers by defining the save_path on each server to have a local memcache store AND a remote memcache store:

session.save_path=&quot;tcp://localhost:11211, Tcp://192.168.0.[$othermachine]:11211&quot;

That way, the users session should be accessible from whatever server they get landed on and 50% of the time it will be on the localhost and so avoid network traffic? Am I correct or did I misunderstand something?

I haven&#039;t got it to work in testing but I&#039;m thinking that on CentOS 5.5, the PHP memcache extension in the repos might not support transparent replication. It seems the session is only in the first instance and when the user gets sent to the other server, it just creates a new session in the new servers local instance (therefore the user is logged out). i.e. it doesn&#039;t seem to peak inside each instance in turn to work out whether it can find the session - it just peaks into the first instance and then creates a new session if it finds nothing.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for a great article. I have a question about using this session clustering technique across two round-robin load-balanced LAMP servers.</p>
<p>From my understanding of this article, it should be possible to share sessions across two webservers by defining the save_path on each server to have a local memcache store AND a remote memcache store:</p>
<p>session.save_path=&#8221;tcp://localhost:11211, Tcp://192.168.0.[$othermachine]:11211&#8243;</p>
<p>That way, the users session should be accessible from whatever server they get landed on and 50% of the time it will be on the localhost and so avoid network traffic? Am I correct or did I misunderstand something?</p>
<p>I haven&#8217;t got it to work in testing but I&#8217;m thinking that on CentOS 5.5, the PHP memcache extension in the repos might not support transparent replication. It seems the session is only in the first instance and when the user gets sent to the other server, it just creates a new session in the new servers local instance (therefore the user is logged out). i.e. it doesn&#8217;t seem to peak inside each instance in turn to work out whether it can find the session &#8211; it just peaks into the first instance and then creates a new session if it finds nothing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on session-clustering with memcache by bahmani</title>
		<link>http://phpslacker.com/2009/03/02/php-session-clustering-with-memcache/#comment-254</link>
		<dc:creator>bahmani</dc:creator>
		<pubDate>Wed, 16 Jun 2010 04:25:54 +0000</pubDate>
		<guid isPermaLink="false">http://phpslacker.com/?p=197#comment-254</guid>
		<description>Thank you.
Your solution is very useful. I&#039;ve tested and it works fine.
before it, I&#039;ve changed php.ini parameters but it failed.</description>
		<content:encoded><![CDATA[<p>Thank you.<br />
Your solution is very useful. I&#8217;ve tested and it works fine.<br />
before it, I&#8217;ve changed php.ini parameters but it failed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling ejabberd for Ubuntu Lucid server by links for 2010-06-13 &#171; Bloggitation</title>
		<link>http://phpslacker.com/2010/06/12/compiling-ejabberd-for-ubuntu-lucid-server/#comment-253</link>
		<dc:creator>links for 2010-06-13 &#171; Bloggitation</dc:creator>
		<pubDate>Mon, 14 Jun 2010 06:05:03 +0000</pubDate>
		<guid isPermaLink="false">http://phpslacker.com/?p=266#comment-253</guid>
		<description>[...] Compiling ejabberd for Ubuntu Lucid server « phpslacker (tags: ejabberd erlang linux ubuntu sysadmin)       Categories: Links        Comments (0) Trackbacks (0) Leave a comment Trackback [...]</description>
		<content:encoded><![CDATA[<p>[...] Compiling ejabberd for Ubuntu Lucid server « phpslacker (tags: ejabberd erlang linux ubuntu sysadmin)       Categories: Links        Comments (0) Trackbacks (0) Leave a comment Trackback [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on vim tips for php programmers by Links para melhorar as habilidades em vim &#8226; saulo11.com</title>
		<link>http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/#comment-252</link>
		<dc:creator>Links para melhorar as habilidades em vim &#8226; saulo11.com</dc:creator>
		<pubDate>Thu, 29 Apr 2010 04:51:47 +0000</pubDate>
		<guid isPermaLink="false">http://phpslacker.com/?p=84#comment-252</guid>
		<description>[...] Links para melhorar as habilidades em vim April 15th, 2010 @ 2:25 PM  &#187; arquivado em Bookmark http://www.derekwyatt.org/vim/vim-tutorial-videos/vim-novice-tutorial-videos/#Welcome http://weierophinney.net/matthew/archives/164-Vim-Productivity-Tips-for-PHP-Developers.html#extended http://www.koch.ro/blog/index.php?/archives/63-VIM-an-a-PHP-IDE.html http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Links para melhorar as habilidades em vim April 15th, 2010 @ 2:25 PM  &raquo; arquivado em Bookmark <a href="http://www.derekwyatt.org/vim/vim-tutorial-videos/vim-novice-tutorial-videos/#Welcome" rel="nofollow">http://www.derekwyatt.org/vim/vim-tutorial-videos/vim-novice-tutorial-videos/#Welcome</a> <a href="http://weierophinney.net/matthew/archives/164-Vim-Productivity-Tips-for-PHP-Developers.html#extended" rel="nofollow">http://weierophinney.net/matthew/archives/164-Vim-Productivity-Tips-for-PHP-Developers.html#extended</a> <a href="http://www.koch.ro/blog/index.php?/archives/63-VIM-an-a-PHP-IDE.html" rel="nofollow">http://www.koch.ro/blog/index.php?/archives/63-VIM-an-a-PHP-IDE.html</a> <a href="http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/" rel="nofollow">http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
