3 ms·
Every time I look at FoundationDB for replacing some Redis usage I wonder about key expiry/TTL, look for it and find nothing. Is this such a strange use case,
by ibotty 3y ago
Every time I look at FoundationDB for replacing some Redis usage I wonder about key expiry/TTL, look for it and find nothing.
Is this such a strange use case, that there is not even a blog entry about it only some forum entries?
- endisneigh 3y agoYou would need to implement that yourself. Easily can be done by storing tuples with your expiry date. You then could watch the keys to remove expired keys automatically. FDB is very barebones by design. Alternatively (and easier): https://forums.foundationdb.org/t/designing-key-value-expiration-in-fdb/156 https://forums.foundationdb.org/t/designing-key-value-expira...