On Feb 2, 2012, at 4:47 AM, Teemu Antti-Poika wrote:

> On Feb 1, 7:01 pm, Bill Caputo <logos...@gmail.com> wrote:
>> We are looking to add soft-reference based caching to one of our 
>> applications and I was wondering if anyone could shed light on what the 
>> issues with clache's implementation were (i.e. is a total loss, or would it 
>> potentially be a good place for us to start, and so perhaps implement 
>> something that could be submitted back).
> 
> I know nothing about core.cache's implementation, but I'd warn against
> relying on soft references for caching. I've seen out-of-memory
> exceptions due to this under heavy loads in one of our server
> applications.

Thanks for the feedback, we'll be sure to test our use case thoroughly with 
that in mind... if other's are approaching fixed-size caching in closure 
differently, I'd love to hear more.


bill



-- 
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

Reply via email to