Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: persistent cache using Cache::FileCache

by gaal (Parson)
on Nov 06, 2004 at 08:03 UTC ( [id://405728]=note: print w/replies, xml ) Need Help??


in reply to Re^4: persistent cache using Cache::FileCache
in thread persistent cache using Cache::FileCache

Thanks for the very interesting benchmarks. I didn't realize BerkeleyDB was so fast.

If you mentioned striping in response to my point about huge data, then note that you can get the benefits even on a single machine. If, for example, you have 8GB of RAM, you can run several memcached instances on the same machine, all under 2GB in size, but still have an effective cache size that is close to your potential maximum. Of course in a few years when 64-bit machines become common this advantage goes away, but in the meanwhile memcached works around it pretty much transparently.

But yes, this is not necessarily as useful for the OP's needs as it was for the designers of memcached.

  • Comment on Re^5: persistent cache using Cache::FileCache

Replies are listed 'Best First'.
Re^6: persistent cache using Cache::FileCache
by perrin (Chancellor) on Nov 06, 2004 at 16:32 UTC
    How can you get a 32-bit machine to even recognize 8GB of RAM? I didn't think individual process size was the problem there. Are you talking about using PAE?
      Linux supports up to 64GB RAM on 32-bit machines (CONFIG_NOHIGHMEM and nearby options). Not an expert here, but yes, the docs do say you need PAE. A single process won't be able to address all of it at once, but using memcached that doesn't change the usage semantics.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://405728]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-26 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found