<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Jangro.com - Latest Comments in Website Performance Tools: How I Installed Memcached</title><link>http://jangro.disqus.com/</link><description>None</description><atom:link href="https://jangro.disqus.com/website_performance_tools_how_i_installed_memcached/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 11 Jun 2007 23:28:55 -0000</lastBuildDate><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775818</link><description>&lt;p&gt;Scott - What a lifesaver you are.  Our site had some issues as described above last year and what a debacle.  With memcache and your instructions for installation, we won't run into this problem again.  One respondent said he'd buy you a beer - heck, I'll buy you dinner!  Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MorganLighter</dc:creator><pubDate>Mon, 11 Jun 2007 23:28:55 -0000</pubDate></item><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775817</link><description>&lt;p&gt;We memcached some internal API stuff about a month ago at &lt;a href="http://b5media.com" rel="nofollow noopener" target="_blank" title="b5media.com"&gt;b5media.com&lt;/a&gt;, and it drastically improved things.  DB load was slashed by 2/3.  I'm looking forward to caching more stuff!&lt;/p&gt;&lt;p&gt;I'd suggest building packages out of libevent, memcached, and the PECL module to make it easier to manage your servers.  My blog has some links on the latter, libevent ships with a .spec file, and memcached is only a couple of files.&lt;/p&gt;&lt;p&gt;Sean&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sean</dc:creator><pubDate>Sun, 27 May 2007 13:32:55 -0000</pubDate></item><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775816</link><description>&lt;p&gt;Hey Scott,&lt;/p&gt;&lt;p&gt;Great work with the article, you saved me a ton of time in getting the memcacheed working with PHP!.&lt;br&gt;I owe you a beer :) Keep up your good work.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sudhir</dc:creator><pubDate>Wed, 02 May 2007 10:11:23 -0000</pubDate></item><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775815</link><description>&lt;p&gt;Thank you for this article ; I couldn't find the library not found error for the libevent. I'm sure this article is useful to dozens of people :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">matthieu</dc:creator><pubDate>Tue, 24 Apr 2007 15:52:42 -0000</pubDate></item><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775814</link><description>&lt;p&gt;No probs - glad to help. I've already implemented this in my ThingyMaJig site. It brought page generation times from 400ms to just over 100ms. Thats MASSIVE!&lt;/p&gt;&lt;p&gt;I'm currently (litterally - i'm doing it NOW) working with a friend to create an official module for Drupal. He's made a very good start (the base for TMJ) and I'm extending it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicholas Thompson</dc:creator><pubDate>Sun, 11 Mar 2007 12:39:13 -0000</pubDate></item><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775813</link><description>&lt;p&gt;It was a total hack, Nick, yeah.&lt;/p&gt;&lt;p&gt;thanks for adding this.  great info.&lt;/p&gt;&lt;p&gt; --scott&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scott</dc:creator><pubDate>Sun, 11 Mar 2007 12:36:30 -0000</pubDate></item><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775812</link><description>&lt;p&gt;Regarding this error:&lt;/p&gt;&lt;p&gt;memcached: error while loading shared libraries: libevent-1.3a.so.1: cannot open shared object file: No such file or directory&lt;/p&gt;&lt;p&gt;I tried making the symlink as you suggested (except for me, it was in lib64) and it worked, but it left a little bit of a "hack-like" taste in my mouth.&lt;/p&gt;&lt;p&gt;I noticed the first line is ld.so.cache. With a little research, I found an alternative and less hack-tasting (imho) method: in /etc/ld.so.conf.d/ make a file called libevent.conf and write in this file the path to the libevent libraries (eg /usr/local/lib). Finally, run ldconfig (as root) and the cache get regenerated.&lt;/p&gt;&lt;p&gt;The advantage of this method is that as the cache gets checked before the system path, it means the system does less "looking" for the file. In any case - both methods work.&lt;/p&gt;&lt;p&gt;Thanks for this blog!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicholas Thompson</dc:creator><pubDate>Sun, 11 Mar 2007 11:54:42 -0000</pubDate></item><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775811</link><description>&lt;p&gt;You'd be surprise how well lighttpd with PHP does...  and you can load balance php across servers, and now that you have memcached you can store sessions on memcached and things will fly... I can't say enough good things about lighttpd.&lt;/p&gt;&lt;p&gt;Here is a great post on their blog:&lt;br&gt;&lt;a href="http://blog.lighttpd.net/articles/2006/12/28/lighttpd-powers-5-alexa-top-250-sites" rel="nofollow noopener" target="_blank" title="http://blog.lighttpd.net/articles/2006/12/28/lighttpd-powers-5-alexa-top-250-sites"&gt;http://blog.lighttpd.net/ar...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fernando</dc:creator><pubDate>Tue, 06 Mar 2007 09:08:44 -0000</pubDate></item><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775810</link><description>&lt;p&gt;thanks fernando.&lt;/p&gt;&lt;p&gt;Yeah, that's next on the list.  getting lighttpd set up for serving the static assets like images.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scott</dc:creator><pubDate>Mon, 05 Mar 2007 08:57:30 -0000</pubDate></item><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775809</link><description>&lt;p&gt;Scott -- I was hit with the exact problem you described last week. The brand new Blog Window widget that I created became so popular that my server was getting hit at an average of 2-3 times per second. I didn't expect the load to go up so fast. Unfortunately, this overwhelmed the hosting site I was using. I'm using ASP.NET so your trick doesn't help me, however, I rearchitected by implementing the cache in the ASP.NET code. Also, upgraded to a dedicated dual-proc, 4GB system, so the CPU meter now barely budges even under heavy load.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gene Kavner</dc:creator><pubDate>Fri, 02 Mar 2007 02:36:30 -0000</pubDate></item><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775808</link><description>&lt;p&gt;Hey Mark,  we've got a number of dedicated servers.  Nice for when you've got to do stuff like this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scott</dc:creator><pubDate>Wed, 28 Feb 2007 21:19:41 -0000</pubDate></item><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775807</link><description>&lt;p&gt;what type of setup do you have for hosting your sites?  I've never ventured outside of shared hosting, and never needed to.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mark from 45n5.com</dc:creator><pubDate>Wed, 28 Feb 2007 19:42:54 -0000</pubDate></item><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775806</link><description>&lt;p&gt;You'll definitely see the difference as traffic ramps up.  It may not be so much a speed thing as scalability.  You should be able to drop the number of queries to the DB by several orders of magnitude.&lt;/p&gt;&lt;p&gt;Have fun.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ddn</dc:creator><pubDate>Wed, 28 Feb 2007 18:08:39 -0000</pubDate></item><item><title>Re: Website Performance Tools: How I Installed Memcached</title><link>http://www.jangro.com/web-development/website-performance-tools-how-i-installed-memcached/#comment-22775805</link><description>&lt;p&gt;Jury's out on that ddn.  I was just so happy to get it running that I wanted to write about it before I forgot all the details.&lt;/p&gt;&lt;p&gt;Tried it out in a few spots and got some 2x improvements -- but we're talking about milisecond execution times on DB hits, so there isn't much room for improvement on those.&lt;/p&gt;&lt;p&gt;I'll follow up when I've got some meatier results.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scott</dc:creator><pubDate>Wed, 28 Feb 2007 16:47:20 -0000</pubDate></item></channel></rss>