Some benchmarks of the first version of Samiz's sync code:
Case: 2 devices with 1 different nostr event each
Time from "First seen" to "Devices fully sync": 2.606 secs
Time for a full circle (1 event sent + 1 event received): 0.09 secs
Performance looks great, but:
- There is going to be an extra calculation time when it comes to Negentropy and long lists of events
- This is being tested with both decides on the same room, looks like I'm going to need to touch some grass for testing 😬
I'll work now on the connection to Citrine, which should allow me to stream events once the devices are in sync and still connected.
https://github.com/KoalaSat/samiz
Kudos to VitorPamplona (nprofile…pyug) for working on the Kotlin Negentropy library 🚀
