There is a messaging application that currently uses cache (infinispan) to persit its data. Infinispan relies on java serialiazation to serialize the data. The problem with this approach is that as far as I know there will be a problem during upgrade.

 

Therefore I'm looking for an alternative persistence solution. The requirements are following:

 

The applicatioin loads all the data at startup, thefore "read" efficiency is less important. Ammount of data is currently thousands of records which can become in the future 100,000. Asynchronic "writes" are highly preferable. The solution must be free. Scalable solutions are prefered.

1

Comments

Just to understand - If serialization is the problem, why NOT change it? Can’t we decouple the serialization mechanism from the storage - Use JSON library (i.e. jackson library) to serialize the object just before we put it in Infinispan (and have the opposite track on deserialization)? I guess that JSON format will be more flexible on upgrade, since it has no rigid schema – When you add new fields to your object, old JSON should still desterilized to it.