tomp2p / TomP2P

A P2P-based high performance key-value pair storage library
http://tomp2p.net
Apache License 2.0
438 stars 122 forks source link

MapDB issues and the future of StorageDisk #141

Closed lsteffenel closed 5 years ago

lsteffenel commented 7 years ago

Hello Thomas,

I'm having serious issues with MapDB when using StorageDisk (corrupted files on restart) and the version 1.0.6 used by TomP2P is no longer maintained. Even using 1.0.9 does not solve all problems...

Worst, the author of MapDB decided to make big changes on version 2 and once again in version 3, so what was simply a good system to make data persistence is now a library with tons of dependencies (it's written in Kotlin, not Java anymore), and has a huge footprint much larger than TomP2P or my platform together! I don't want this!!!

Have you considered supporting other systems? I started looking https://github.com/OpenHFT/Chronicle-Map but I still have to understand how StorageDisk works before making an attempt ;) Anyway, if I'll contact you if I have good news.

Regards

tbocek commented 6 years ago

Sorry for the late answer. I have not looked at ChronicleMap. But everything that implements a Map can be used.

ChronosXYZ commented 5 years ago

I fully replaced old StorageDisk (on top of MapDB) by StorageBerkeleyDB (on top of BerkeleyDB), which works on Android and PC well. You can see my impl in https://github.com/ChronosX88/Influence-android