Posts
Aerospike: My 'Aha!' moments - Resurrection of the record
Yes. You read it correct. It’s not just in Aerospike, I knew DBs like Cassandra also has this behavior. Not if any other DB has similar behavior. This happens because how they handle the delete operation of the records. Though your deleted records will not always resurrecting but it can come back in situations like cold restart in Aerospike. So it is good to know how Aerospike handles deletes to mange it effectively based on your use cases.
Aerospike: My 'Aha!' moments - The predictable Primary Index
Aerospike builds primary index using distributed hashmap and red-black tree(sprigs). This method supports them to maintain the predictable low latency. For each record in the namespace, it creates a 20 byte hash (RIPEMD-160 hash) which helps identifying it’s partition and storage location of where the record is stored. So Aerospike can directly reach the record and fetch it with predictable latency.