Possibly stupid question: can you just pretend you have more memory than you do and let the operating system do the heavy lifting?
On Fri, Mar 6, 2015, 10:54 AM JPatrick Davenport <virmu...@gmail.com> wrote: > Hello, > I'm been thinking about an idea for a cache layer. It's driven by two > trends. > > Most caches are in memory. They might have fancy additions like > multi-machine, but they are in-memory. The fast memory access reduces back > end load and improves overall performance. It also assumes you have memory > to spare. > > The second trend is that bootstrapping a start up means minimizing costs. > This means paying for one or two low memory machines with at most 2 GB of > RAM. Linode, for example, would cost $40/month to have two 2GB nodes (app > and db). > > The two trends don't really overlap well. I want the caching, but I can't > yet afford it. > > Where they *could* overlap is the fact that Linode's drives are SSD. They > are not as fast as memory, but probably faster than DB + Network. Is there > any pure Clojure library that does this? I'd like to say, "Keep 30 MB of > Cache in Ram and 2 GB of SSD cache". I guess another way to ask it: is > there anything like Java Caching System in pure Clojure? > > Thanks, > JPD > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.