Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^4: File caching for external storage

by tuxz0r (Pilgrim)
on Nov 28, 2007 at 17:02 UTC ( [id://653580]=note: print w/replies, xml ) Need Help??

in reply to Re^3: File caching for external storage
in thread File caching for external storage

Cache::Cache looks like it has some of the functionality you need, specifically memory caching some of the smaller sizes or even caching on the local drive based on a size limit. I haven't used it before, so someone else can comment on its stability and their experiences with it.

echo S 1 [ Y V U | perl -ane 'print reverse map { $_ = chr(ord($_)-1) } @F;'
Warning: Any code posted by tuxz0r is untested, unless otherwise stated, and is used at your own risk.

  • Comment on Re^4: File caching for external storage

Replies are listed 'Best First'.
Re^5: File caching for external storage
by tcf03 (Deacon) on Nov 28, 2007 at 18:01 UTC
    Cache::FileCache looks promising. Though, I have not used this myself.

    scratch that. I should have read more. The Module code may prove interesting in your coding efforts.
    "That which we persist in doing becomes easier, not that the task itself has become easier, but that our ability to perform it has improved."
      --Ralph Waldo Emerson
Re^5: File caching for external storage
by tosh (Scribe) on Nov 29, 2007 at 14:21 UTC
    Yeah, the Cache::Cache stuff is really cool for the caching part of things, but it doesn't really seem to be very good for determining what should go IN or OUT of the cache, because obviously I will want more requested files going IN and less requested files coming OUT, but certainly it might be part of my application, thanks!!!


    But Cache::SizeAwareCache might be exactly what I'm looking for, sweet!!!!

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-06-12 21:42 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.