<?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: Installing memcached functions for MySQL</title>
	<atom:link href="http://code.openark.org/blog/mysql/installing-memcached-functions-for-mysql/feed" rel="self" type="application/rss+xml" />
	<link>http://code.openark.org/blog/mysql/installing-memcached-functions-for-mysql</link>
	<description>Blog by Shlomi Noach</description>
	<lastBuildDate>Wed, 01 Feb 2012 20:47:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Memcached Functions &#124;&#124; libmemcached &#171; Yref2&#039;s Blog</title>
		<link>http://code.openark.org/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-16349</link>
		<dc:creator>Memcached Functions &#124;&#124; libmemcached &#171; Yref2&#039;s Blog</dc:creator>
		<pubDate>Wed, 04 Aug 2010 10:12:10 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=316#comment-16349</guid>
		<description>[...] Installing memcached functions for MySQL [...]</description>
		<content:encoded><![CDATA[<p>[...] Installing memcached functions for MySQL [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shlomi</title>
		<link>http://code.openark.org/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-15479</link>
		<dc:creator>shlomi</dc:creator>
		<pubDate>Mon, 05 Jul 2010 11:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=316#comment-15479</guid>
		<description>@Martin,
Joy of open source: a *lot* of compilations and complications. I&#039;ll be happy if you post another comments once you find the solution.

Thanks</description>
		<content:encoded><![CDATA[<p>@Martin,<br />
Joy of open source: a *lot* of compilations and complications. I'll be happy if you post another comments once you find the solution.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://code.openark.org/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-15478</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Mon, 05 Jul 2010 10:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=316#comment-15478</guid>
		<description>Thx for this great tutorial, I managed finally to compile and install everything on a debian lenny system.

Just the last step doesn&#039;t work, when I try 

mysql -u root -p &lt; sql/install_functions.sql

mysql replies that the database is missing and when I add a --database=xxx the mysql replies &#039;ERROR 1126 (HY000) at line 1: Can&#039;t open shared library &#039;libmemcached_functions_mysql.so&#039; (errno: 22 /usr/lib/mysql/libmemcached_functions_mysql.so: undefined symbol: memcached_string_append)&#039;

Maybe I will find a way, already checked the rights etc.

Some day it will work :-)</description>
		<content:encoded><![CDATA[<p>Thx for this great tutorial, I managed finally to compile and install everything on a debian lenny system.</p>
<p>Just the last step doesn't work, when I try </p>
<p>mysql -u root -p &lt; sql/install_functions.sql</p>
<p>mysql replies that the database is missing and when I add a --database=xxx the mysql replies &#039;ERROR 1126 (HY000) at line 1: Can&#039;t open shared library &#039;libmemcached_functions_mysql.so&#039; (errno: 22 /usr/lib/mysql/libmemcached_functions_mysql.so: undefined symbol: memcached_string_append)&#039;</p>
<p>Maybe I will find a way, already checked the rights etc.</p>
<p>Some day it will work <img src='http://code.openark.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jo Yo</title>
		<link>http://code.openark.org/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-10516</link>
		<dc:creator>Jo Yo</dc:creator>
		<pubDate>Fri, 12 Feb 2010 20:47:18 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=316#comment-10516</guid>
		<description>That&#039;s pretty slick. I like it. I made a UDF too that enables JavaScript to evaluate on MySQL. It could be helpful if you are into UDFs: http://bit.ly/cKA8np</description>
		<content:encoded><![CDATA[<p>That's pretty slick. I like it. I made a UDF too that enables JavaScript to evaluate on MySQL. It could be helpful if you are into UDFs: <a href="http://bit.ly/cKA8np" rel="nofollow">http://bit.ly/cKA8np</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shlomi</title>
		<link>http://code.openark.org/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-5033</link>
		<dc:creator>shlomi</dc:creator>
		<pubDate>Tue, 20 Oct 2009 15:55:33 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=316#comment-5033</guid>
		<description>@SailorCTO

Hi,
Thanks for posting. I&#039;m unable at this moment to check this on my current setup, sorry :(
Best if you could ping the appropriate forums, or even poke Patrick Galbraith :)

Regards</description>
		<content:encoded><![CDATA[<p>@SailorCTO</p>
<p>Hi,<br />
Thanks for posting. I'm unable at this moment to check this on my current setup, sorry <img src='http://code.openark.org/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
Best if you could ping the appropriate forums, or even poke Patrick Galbraith <img src='http://code.openark.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SailorCTO</title>
		<link>http://code.openark.org/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-5030</link>
		<dc:creator>SailorCTO</dc:creator>
		<pubDate>Tue, 20 Oct 2009 14:11:24 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=316#comment-5030</guid>
		<description>Nice post. I ran through all the install steps using YUM on my Fedora 10 machine and everything went smoothly, including the loading of UDFs.

I can 
     SELECT mem_setc(&#039;mykey&#039;, &#039;Some data here&#039;);

...however...when I try to retrieve it with:

     SELECT mem_getc(&#039;mysql&#039;); 

it finds the key, but null instead of &#039;Some data here&#039;. 

Setup:
  Fedora 10 - kernel 2.6.27.37-170.2.104.fc10.i686
  MySQL 5.0.84

Did I miss something?</description>
		<content:encoded><![CDATA[<p>Nice post. I ran through all the install steps using YUM on my Fedora 10 machine and everything went smoothly, including the loading of UDFs.</p>
<p>I can<br />
     SELECT mem_setc('mykey', 'Some data here');</p>
<p>...however...when I try to retrieve it with:</p>
<p>     SELECT mem_getc('mysql'); </p>
<p>it finds the key, but null instead of 'Some data here'. </p>
<p>Setup:<br />
  Fedora 10 - kernel 2.6.27.37-170.2.104.fc10.i686<br />
  MySQL 5.0.84</p>
<p>Did I miss something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shlomi</title>
		<link>http://code.openark.org/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-1783</link>
		<dc:creator>shlomi</dc:creator>
		<pubDate>Sun, 03 May 2009 17:09:28 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=316#comment-1783</guid>
		<description>@Pete
Try running
ldconfig --verbose
to see the current search path. Either you put the libraries in one of the listed paths, or you create a sym link, or just add you path to /etc/ld.so.conf

Shlomi</description>
		<content:encoded><![CDATA[<p>@Pete<br />
Try running<br />
ldconfig --verbose<br />
to see the current search path. Either you put the libraries in one of the listed paths, or you create a sym link, or just add you path to /etc/ld.so.conf</p>
<p>Shlomi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://code.openark.org/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-1782</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Sun, 03 May 2009 16:29:25 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=316#comment-1782</guid>
		<description>I am trying to install the memcache functions againt the packaged mysql-server but no matter what I do it always ends up saying it cannot load the library file when I try to install the functions in the database. I think I must have libdir wrong any ideas what the value should be?</description>
		<content:encoded><![CDATA[<p>I am trying to install the memcache functions againt the packaged mysql-server but no matter what I do it always ends up saying it cannot load the library file when I try to install the functions in the database. I think I must have libdir wrong any ideas what the value should be?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: code.openark.org &#187; Blog Archive &#187; Using memcached functions for MySQL; an automated alternative to Query Cache</title>
		<link>http://code.openark.org/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-111</link>
		<dc:creator>code.openark.org &#187; Blog Archive &#187; Using memcached functions for MySQL; an automated alternative to Query Cache</dc:creator>
		<pubDate>Mon, 15 Dec 2008 05:56:18 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=316#comment-111</guid>
		<description>[...] (See my previous post on how to install memcached functions for MySQL). [...]</description>
		<content:encoded><![CDATA[<p>[...] (See my previous post on how to install memcached functions for MySQL). [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://code.openark.org/blog/mysql/installing-memcached-functions-for-mysql/comment-page-1#comment-100</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 11 Dec 2008 18:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=316#comment-100</guid>
		<description>I don&#039;t believe there are &quot;best practices&quot; per sé. memcached purposely decouples the hashing options and leaves the client responsible for choosing where to store and how to distribute the data. There are some &quot;standards&quot; in the sense that there are known libraries/implementations which have been adopted to be the leader in consistent hashing algorithms (e.g. ketama). However, ultimately its up to you on how to distribute and hash your keys.

As an FYI, the whole &quot;consistent distribution&quot; issue came up when there was a large distributed memcached installation where if you had [initially] distributed your keys using a simple modulus algorithm, when/if you took one server out of the pool the entire cache would be invalidated as the modulus algorithm now returned different results. To address that, the consistent distribution concept came along so that in the event you add or remove memcached instances to your pool you will at worst invalidate cached objects on a single instance within the pool. This is because the consistent distribution algorithm says that key X is consistently assigned to server Y. When server Y is removed from the pool, the consistent hashing algorithm reassigns it to another server. When you add a server to the pool, key X will still [consistently] hash to server Y.</description>
		<content:encoded><![CDATA[<p>I don't believe there are "best practices" per sé. memcached purposely decouples the hashing options and leaves the client responsible for choosing where to store and how to distribute the data. There are some "standards" in the sense that there are known libraries/implementations which have been adopted to be the leader in consistent hashing algorithms (e.g. ketama). However, ultimately its up to you on how to distribute and hash your keys.</p>
<p>As an FYI, the whole "consistent distribution" issue came up when there was a large distributed memcached installation where if you had [initially] distributed your keys using a simple modulus algorithm, when/if you took one server out of the pool the entire cache would be invalidated as the modulus algorithm now returned different results. To address that, the consistent distribution concept came along so that in the event you add or remove memcached instances to your pool you will at worst invalidate cached objects on a single instance within the pool. This is because the consistent distribution algorithm says that key X is consistently assigned to server Y. When server Y is removed from the pool, the consistent hashing algorithm reassigns it to another server. When you add a server to the pool, key X will still [consistently] hash to server Y.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

