Redis Vs Aerospike

I am currently designing a application which uses aerospike as backend. I want to cache data for quick access. Application is to be developed in go lang. Currently using Aerospike 6 version.

Need to know how to enable Expiry of records in aerospike, Increament number support like other features

To enable record expiry in Aerospike, you can use the Time-to-Live (TTL) feature. TTL allows you to set a time duration after which records automatically expire. When writing a record, include a TTL value (in seconds) using the appropriate client library (e.g., Go client). The record will be automatically removed from the database after the specified TTL has elapsed. If a record is read after its expiration time, it will be treated as if it doesn’t exist.