To enable clearing of data on other systems that’s related to a KV key (like for sessions), it would be extremely convenient if we could have an optional URL to which an request is automatically made when the deletion TTL is triggered. It doesn’t even need to wait for the request to complete, just happen at all.
It depends what is the eviction policy, I think they are using volatile eviction, evicts the least recently used keys out of all keys with an “expire” field set.
Even if it’s not exact or not “in-order” it’s better it happens than not happen at all.
I have KV store that points to files on Wasabi (S3 compatible service).
I need it for exactly the same reason as you mentioned - clean up files on Wasabi when the pointers are evacuated.
The order or whether this has happened in the exact requested TTL do not matter. I need to make sure that I don’t leave zombie files.