<?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: Speeding up Koha with memcached</title>
	<atom:link href="http://blogs.liblime.com/developers/2009/03/23/speeding-up-koha-with-memcached/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.liblime.com/developers/2009/03/23/speeding-up-koha-with-memcached/</link>
	<description>Notes on software development, open source, and library technology</description>
	<pubDate>Thu, 17 May 2012 01:52:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: chris</title>
		<link>http://blogs.liblime.com/developers/2009/03/23/speeding-up-koha-with-memcached/comment-page-1/#comment-9863</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Thu, 26 Mar 2009 21:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.liblime.com/developers/?p=169#comment-9863</guid>
		<description>The language query might be small, but the code wrapped around it is heavy. By caching the resulting data structure as a serialised object. We can cut the execution time of every page on the opac by a factor of 10.
As you point out, caching the results of a database query, when that query is small and fast isn't much of a win. In some cases its a loss. But if you then do processing of the resulting data, say parsing xml, or building a complicated hash by doing lots of other small queries, then caching the resulting data structure is a big when.</description>
		<content:encoded><![CDATA[<p>The language query might be small, but the code wrapped around it is heavy. By caching the resulting data structure as a serialised object. We can cut the execution time of every page on the opac by a factor of 10.<br />
As you point out, caching the results of a database query, when that query is small and fast isn&#8217;t much of a win. In some cases its a loss. But if you then do processing of the resulting data, say parsing xml, or building a complicated hash by doing lots of other small queries, then caching the resulting data structure is a big when.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clay Fouts</title>
		<link>http://blogs.liblime.com/developers/2009/03/23/speeding-up-koha-with-memcached/comment-page-1/#comment-9817</link>
		<dc:creator>Clay Fouts</dc:creator>
		<pubDate>Tue, 24 Mar 2009 20:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.liblime.com/developers/?p=169#comment-9817</guid>
		<description>I think the real caching wins will come from storing  MARC binary data blobs for searches. Anything that requires a lot of serialized processor time, like parsing XML data. The systempreference and language queries are annoying and numerous, but as you point out they're also pretty lightweight.

Threading and parallelizing these sorts of queries will also enable Koha to take better advantage of multi-core systems. That would be much more difficult to pull off, I imagine.</description>
		<content:encoded><![CDATA[<p>I think the real caching wins will come from storing  MARC binary data blobs for searches. Anything that requires a lot of serialized processor time, like parsing XML data. The systempreference and language queries are annoying and numerous, but as you point out they&#8217;re also pretty lightweight.</p>
<p>Threading and parallelizing these sorts of queries will also enable Koha to take better advantage of multi-core systems. That would be much more difficult to pull off, I imagine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blogs.liblime.com/developers/2009/03/23/speeding-up-koha-with-memcached/comment-page-1/#comment-9795</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 23 Mar 2009 12:59:51 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.liblime.com/developers/?p=169#comment-9795</guid>
		<description>I did some work on this last year, and a bit more this year.

http://blog.bigballofwax.co.nz/2008/06/22/testing-koha-with-memcached/

http://blog.bigballofwax.co.nz/2008/06/28/too-much-weights-not-enough-speed-work/

http://blog.bigballofwax.co.nz/2008/07/18/a-geeky-way-to-spend-your-lunch-break/

My caching branch in git is here
http://git.workbuffer.org/cgi-bin/gitweb.cgi?p=koha.git;a=shortlog;h=refs/heads/cache

http://git.workbuffer.org/cgi-bin/gitweb.cgi?p=koha.git;a=blob;f=lib/Koha/Cache.pm;hb=refs/heads/cache
Might be of interest to you in the work you are doing.</description>
		<content:encoded><![CDATA[<p>I did some work on this last year, and a bit more this year.</p>
<p><a href="http://blog.bigballofwax.co.nz/2008/06/22/testing-koha-with-memcached/" rel="nofollow">http://blog.bigballofwax.co.nz/2008/06/22/testing-koha-with-memcached/</a></p>
<p><a href="http://blog.bigballofwax.co.nz/2008/06/28/too-much-weights-not-enough-speed-work/" rel="nofollow">http://blog.bigballofwax.co.nz/2008/06/28/too-much-weights-not-enough-speed-work/</a></p>
<p><a href="http://blog.bigballofwax.co.nz/2008/07/18/a-geeky-way-to-spend-your-lunch-break/" rel="nofollow">http://blog.bigballofwax.co.nz/2008/07/18/a-geeky-way-to-spend-your-lunch-break/</a></p>
<p>My caching branch in git is here<br />
<a href="http://git.workbuffer.org/cgi-bin/gitweb.cgi?p=koha.git;a=shortlog;h=refs/heads/cache" rel="nofollow">http://git.workbuffer.org/cgi-bin/gitweb.cgi?p=koha.git;a=shortlog;h=refs/heads/cache</a></p>
<p><a href="http://git.workbuffer.org/cgi-bin/gitweb.cgi?p=koha.git;a=blob;f=lib/Koha/Cache.pm;hb=refs/heads/cache" rel="nofollow">http://git.workbuffer.org/cgi-bin/gitweb.cgi?p=koha.git;a=blob;f=lib/Koha/Cache.pm;hb=refs/heads/cache</a><br />
Might be of interest to you in the work you are doing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

