<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Right, this is along the same lines, but not generalized. They made
Lighty Memcache aware, but that doesn't do much for other applications,
e.g. our XSLT processor which can only access files. Further more,
since it's not generalized, the cached data cannot easily be shared by
many unrelated applications. So, if different applications employ their
own Memcache caching strategy, a lot of memory is waisted on duplicate
data. Though, embracing this idea, one could use Lighty + modmemcache +
webdav + fuse but that sounds very slow :)<br>
<br>
<br>
Best,<br>
<br>
Erik Osterman<br>
<br>
Rob Sharp wrote:
<blockquote cite="mid1178689654.24987.9.camel@localhost" type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="GENERATOR" content="GtkHTML/3.12.1">
Hi all,
  <blockquote type="CITE">
    <pre><font color="#000000">Curious if anyone has gone down the route of creating a fuse filesystem </font>
<font color="#000000">implementation around Memcache, kind of along the lines of CacheFS.</font>
    </pre>
  </blockquote>
  <br>
It looks like others have had similar thoughts - lighttpd have a
mod_memcache module which caches small files in memory for faster
access.<br>
  <br>
  <a href="http://trac.lighttpd.net/trac/wiki/Docs%3AModMemCache">http://trac.lighttpd.net/trac/wiki/Docs%3AModMemCache</a><br>
  <br>
"Serving several thousands small files for lighttpd is quite
challenging. Operating System has to do a lot of random access, which
increase io-wait. mod_mem_cache is the plugin which stores content of
files in memory for faster serving. It's more configurable than OS
buffers (at least, linux buffers), in some cases yields better
performance.<br>
  <br>
For example, you can configure it to cache files smaller than 5 kb,
just cache files with a specific mime type or different strategies to
free memory when the configured limit has been reached."<br>
  <br>
Thanks,<br>
Rob.<br>
  <br>
  <table cellpadding="0" cellspacing="0" width="100%">
    <tbody>
      <tr>
        <td>
        <table cellpadding="0" cellspacing="3" width="100%">
          <tbody>
            <tr>
              <td colspan="2" valign="top">
              <b><font size="2"><font color="#333333">Rob Sharp</font></font></b><br>
              <font size="1"><font color="#ce4a84">Lead Developer </font></font><br>
              <br>
              <br>
              <br>
              <br>
              </td>
            </tr>
            <tr>
              <td colspan="2" valign="top">
              <font size="2"><font color="#333333">Sound Alliance </font></font><br>
              <font size="1"><font color="#ce4a84">inthemix :
FasterLouder : Thought By Them : SameSame</font></font>
              </td>
            </tr>
          </tbody>
        </table>
        <br>
        <font size="2"><font color="#339966">100% recycled electrons
were used for the composition of this email </font></font><br>
        <font size="2"><font color="#339966">- please don't print it
unless you need to!</font></font>
        </td>
      </tr>
    </tbody>
  </table>
</blockquote>
<br>
</body>
</html>