[erlang-questions] How would you implement TTL for ETS based cache?
Thu Mar 14 15:15:50 CET 2013
How would you implement TTL with callback for ETS based cache?
I want when TTL expires callback is triggered and cached value goes to DB.
For key I use 32 byte long binary(), value is not bigger than 8 KB.
p.s. elang:send_after/3 is a most brutal approach, but how would it be when
cache is under load?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions