<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: peep</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/peep.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2009-04-20T18:35:00+00:00</updated><author><name>Simon Willison</name></author><entry><title>peeping into memcached</title><link href="https://simonwillison.net/2009/Apr/20/peeping/#atom-tag" rel="alternate"/><published>2009-04-20T18:35:00+00:00</published><updated>2009-04-20T18:35:00+00:00</updated><id>https://simonwillison.net/2009/Apr/20/peeping/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://blog.evanweaver.com/articles/2009/04/20/peeping-into-memcached/"&gt;peeping into memcached&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
“Peep uses ptrace to freeze a running memcached server, dump the internal key metadata, and return the server to a running state”—you can then load the resulting data in to MySQL using LOAD LOCAL INFILE and analyse it using standard SQL queries.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/evanweaver"&gt;evanweaver&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/introspection"&gt;introspection&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/memcached"&gt;memcached&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/mysql"&gt;mysql&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/peep"&gt;peep&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/performance"&gt;performance&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/scaling"&gt;scaling&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/sql"&gt;sql&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/twitter"&gt;twitter&lt;/a&gt;&lt;/p&gt;



</summary><category term="evanweaver"/><category term="introspection"/><category term="memcached"/><category term="mysql"/><category term="peep"/><category term="performance"/><category term="scaling"/><category term="sql"/><category term="twitter"/></entry></feed>