I am using a record with multiple bins. I wanted to know the performance implications of updating one of the bins in the record. Will the whole record be gotten in memory and then the particular bin updated or will just that bin be pulled up in memory, modified and then written to disk. Yes, we are using the index in memory and data on disk setup.
The reason this thought came to mind is that since only key digest is kept in memory and not (key, bin) digest. Hope I didn’t get the concept wrong. If such is the case, then how does Aerospike get to the bin if not loading the whole record in memory and getting to the bin. In that case, we can see that there will be a big read and write amplification on updating of just one bin.
Can you please clarify as this stands crucial to my data modelling.