We are looking ways to store list of objects in aerospike using aerospike php client.
I can use simple set method and pass list so data getting stored using native serializer and getting retrived effectively.
We are storing client wise users data in cache to effectively use those objects in number of placess. We have pages where we want to display almost all user details based on different use cases.
Our key here is clientId and value will be list of user objects for that client.
User object contains information like username, email, mobileno, roles etc.
Now problem is in some clients they have more than 1000 to 2000 users.
When storing this many objects its crossing more than 1MB memory. How to handle these cases in aerospike ?
Previously we are using memcache and redis and are able to do same.
In aerospike we are using SSD backed persistent memory and configurred write_block_size as 1Mb.
On some request due to write block size is more than 1MB aerospike is rejecting same.
Is there any work arround for same in aerospike ?