On Mon, 8 Jan 2001, Sander van Zoest wrote:
> > starters. A dbm would be fine too, but more trouble to purge old entries
> > from.
>
> You could always have a second dbm file that can keep track of TTL issues
> of your data keys, so it would simply be a series of delete calls.
> Granted you would have another DBM file to maintain.
I find it kind of painful to trim dbm files, because most implementations
don't relinquish disk space when you delete entries. You end up having to
actually make a new dbm file with the "good" contents copied over to it in
order to slim it down.
- Perrin