NP 😉 Just getting started with NDK.

I’ve noticed that the more explicit relays I add to the constructor, the longer it takes to finish connecting.

Not sure if I should have one NDK instance with 200 relays, or 200 NDK instances with one relay each.

Reply to this note

Please Login to reply.

Discussion

a single instance it's better; it will try to be smart about what to connect to

right now the gossip-style behavior is not quite ready, but soon it will start connecting to other relays based on the observed behavior (largely depending on the type of app you're building)