LevelDb alternative?


I see that LevelDb became deprecated in the latest version, and the suggested way is to use JDBC. I need a simple embedded journal, for classic actor system, without cluster.
The only one that fits from the JDBC “supported” list is the H2 with persistence.
Is this the recommended alternative? Or it’s better to stick to LevelDb?


Hi, we will likely at some point move the LevelDB journal into the Akka Persistence test infrastructure (if we do not remove it completely), this means you could either switch to another database now, or wait until it is removed, which will not happen for a while because of our binary compatibility guarantees, and do the switch at that point in time.

I can’t say there is a recommended alternative, you will have to consider what database fits your use case best. I guess H2 is relatively similar to LevelDB.

1 Like