GOSSIP USERS: Gossip is now using LMDB! (master branch). Here is what this means:

- Your client should be faster

- Your client should consume less disk space. In fact, because we aren't deleting the gossip.sqlite file, it will consume strictly more disk space. I recommend you keep the gossip.sqlite file for a while just in case, but delete it eventually. Also note that LMDB requires us to specify a maximum database size, and it reserves a sparse file of that size which appears to be 128 GB. But it isn't really. A 'du' command will show how much space it really uses.

- If your client crashes, you lose power, or you ^C to exit, there is a chance that the last things written will not have been flushed to disk. This shouldn't affect integrity, we should have all of ACID except the D. However, if your filesystem does not preserve write order, all bets are off.

- A number of bugs around missing events have been resolved.

- The UI may be LESS responsive. I will continue to work to improve that situation.

- I recommend using an SSD if you can (however I'm using a spinning disk and it works fine for me)

The LMDB work is not yet done. I will be migrating from lmdb-rkv to heed. I will also be doing migrations that change the indexes to get better performance. But other non-lmdb work can now again progress as usual.

Let me know if there are problems, preferably on github.

Reply to this note

Please Login to reply.

Discussion

Correction: it appears to be 24 GB (not 128 GB)

Hi Michael,

many thanks for this great software. I just compiled current master (on Gentoo Linux) and it works fine (so far). Great, my inbox and the personal notes window shows all my messages now... before, it was always incomplete, and it seemed a bit random which messages are shown and which are missing. Your changelog reads that there was a bug that you just fixed, great! :-) No sluggishness of the UI here.

Kind regards!

Thanks. It doesn't show all your messages ... after 9 months of development I still haven't added "load more" at the bottom of feeds! 😁 But I will.

Almost melted my computer compiling. Worth it!