Search code examples
javaspring-dataaerospike

Aerospike Bin Length Less than 14


I have a very complex business object which contains variable name more than 14 Character.I wonder why aerospike has limit bin name length <14.Is there any way or hack so that I can save this complex business object in Aerospike without reducing length of object name as it would be typical to understand if I reducen the name of every variable.


Solution

  • In short, the answer is no. Bin name is hard coded to be 14 characters or less. It is stored along with every record on the SSD, for each bin in the record. Since, each record is self describing a trade-off has to be made between overhead per record and max bin name size.