It looks like nostr-sdk automatically runs negentropy sync when relays are added. I think this causes a bottleneck in my app and creates significant delays. My app flow works like this:
1. Users launch the app
2. The app connects to bootstrap relays
3. The app gets the user's relay list and verifies its existence
4. If the relay list exists → Get profile → Get and verify messaging relays
The flow is simple and runs step by step, so I don't think the backend affects it much. If I disable gossip, it runs fine.
Login to reply
Replies (2)
I've done some debugging. After I create subscriptions, the relay responds immediately, but somehow the notification channel isn't receiving events yet.
Does this happen with the in-memory gossip store, or with the SQLite one? Or both?