[erlang-questions] How would you implement TTL for ETS based cache?

Max Lapshin max.lapshin@REDACTED
Thu Mar 14 15:25:44 CET 2013


There may be several ideas.

For example, write expire time to key when you touch it and then once in a
minute foldl through table and clean everything expired.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130314/4b4874cc/attachment.htm>


More information about the erlang-questions mailing list