[erlang-questions] Guidance to a cache mechanism

Richard O'Keefe <>
Tue Oct 30 23:18:11 CET 2012

On 31/10/2012, at 12:08 AM, Maruthavanan Subbarayan wrote:
- messages contain up to 200 bytes
- "maybe 500+" messages per second
- maximum expiry 60 minutes
for a total of 360,000,000 bytes.

I'm wondering whether you actually need ETS at all.

+ Something gives your program a message.
+ Time tells your program when to delete a message.
? How is your program asked to give a message back?
  A message is presumably going to be requested via
  some sort of key, which is presumably _not_ going
  to be the timestamp when it arrived, so you will
  want some kind of index to find the right message, no?

More information about the erlang-questions mailing list