Support for Batch Insert


#1

hi, i m new to aerospike. the use case of mine is increment value of two docs in one call. i know that batch insert is not supported still, is there any road map for that? or if there any other way to implement that. right now we are using cassandra batch insert to achieve that. what would be the best alternative in aerospike?


#2

Aerospike is highly optimized with single record transactions (for both get() and put() calls) There are 2 directions where you can explore:

  • If the multi-record transactions are not needed, the 2 docs can be updated using separate put calls.
  • If they need to be updated together transactionally, it is worth-while to explore the data-model and see if they should actually be two different bins of the same record.