Say, I have a List<Entity>
to be stored into Google Memcache. But Google Memcache has size limitation to store 1 object, the maximum size is 1MB. But my List<Entity>
is about 20MB or more. How do I slice them down from List<Entity>
and reconnect them back into one later?
There is a method to overcome this in Python - Avoiding Memcache "1000000 bytes in length" limit on values. But I don't find a way to do this in Java. Please help if you know anything to do with this.