Order by expiration


#1

Hello, I’m looking for option to get most expired records from the set or apply between operator for “expiration” record system index.

Somehow Aerospike could figure out most expired records which should be evicted from data base by TTL. Is it possible to do same with out scanning whole set of data? Any solution will be fine: client based or udf.


#2

Determination of which records to evict is made on a node by node basis, not globally. To do this it periodically scans the local index.