Replying to Avatar KoalaSat

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 nostr:nprofile1qqsyvrp9u6p0mfur9dfdru3d853tx9mdjuhkphxuxgfwmryja7zsvhqpzamhxue69uhhv6t5daezumn0wd68yvfwvdhk6tcpz9mhxue69uhkummnw3ezuamfdejj7qgwwaehxw309ahx7uewd3hkctcscpyug for working on the Kotlin Negentropy library 🚀

Avatar
Vitor Pamplona 11mo ago

It's also likely that Citrine is very slow. We need to 100x its db performance.

Reply to this note

Please Login to reply.

Discussion

Avatar
the axiom 11mo ago

is citrine just exposing a normal WS api on localhost or what?

Thread collapsed