[Bro-Dev] Per item expiration for tables

Robin Sommer robin at icir.org
Thu Apr 7 08:58:21 PDT 2016



On Wed, Apr 06, 2016 at 15:11 +0200, you wrote:

> What are your opinions on that? Which approach would you prefer or do
> you think per item expiration is a bad idea in general?

I understand the motivation but I would prefer to stick with existing
mechanisms, as per item expiration times can get expensive (that would
require storing an additional float for all table entries). It might
also be a bit too specialized a use case to add new syntax to support
it.

Let me try an idea: could you limit the set if expiration times to a
predefined list of choices (e.g., 10mins, 1hr, 1d, 1w, 1m)? Then you
could work with a set of tables with corresponding expiration
intervals.

Robin

-- 
Robin Sommer * ICSI/LBNL * robin at icir.org * www.icir.org/robin


More information about the bro-dev mailing list