Replying to Avatar Cody

here

Also, I'm running a local relay...doesn't seem like my posts from Jumble are showing up on it?

Reply to this note

Please Login to reply.

Discussion

Sorry, Jumble currently only sends to the first five write relays. I'll consider increasing the limit.

Ah, good to know. Curious as a product guy myself but still learning the architecture behind Nostr, what would be the burden to support more relays?

The more relays you use, the slower operations like posting, liking, following, etc., might get. However, using a dozen or so relays doesn't actually slow things down that much, haha.

The main issue lies in the fact that people who follow you are unlikely to use all of your write relays to query your events. Since they follow many other people as well, most of the time, only the first few relays are meaningful.

Ahhh, got it! Learning! I’ll start using Jumble as my desktop client. :) Thanks for thoughtfully asking my questions and hearing my feedback! 💛

I really appreciate your feedback as well!

Oops, I meant answering my questions, haha

No worries, I understand 🌝

Do clients also query the relays a user you follow has defined?

Say I only post to my relay, where only my npub is whitelisted for write. But has public read.

Say you follow me, does your client fetch my notes from my relay? Or are my notes then invisible to you, if you didnt manually add my relay in your client config? Even thoug you follow me...

Clients like Jumble and others that use the outbox model to fetch the following feed will do this.

But most clients don't then? Is this outbox model part of some nip? Any idea about what the general consensus among client developers is on this? If I understand correctly its quite an important property in the sense of distributing content among relays, encouraging self hosted relays...etc

I'm not sure which clients are doing this as well, since it's not a mandatory requirement. This approach is definitely not as efficient as fetching directly from a few relays, but I think it's necessary for a decentralized network. I strongly encourage everyone to self-host relays, and I've even developed a relay that can be easily run by non-developers: https://github.com/CodyTseng/nostr-relay-tray

Does it really slow things down that much? Lets say I post 5 notes a day and have a personal relay, this relay will be much faster to respond than some big relay with a huge database, or is just the client having to connect to another socket that slows things down that much? Where does the slowness really come from?

If I'm following 1000 people, and each person only posts notes to their own personal relay, I would need to connect to 1000 relays to get my following feed.

What about a personal caching relay? Does that exist? So your personal relay is online anyway, cant it monitor your follow list and cache that, so when you open the client on your phone it just needs to fetch your relay. In this case your personal relay is actually acting as a client in a way. Sorry if Im asking stupid questions, been here for a good week, just trying to grasp this...

I couldn't agree more with your idea. This is one of the reasons why I developed nostr-relay-tray and jumble. nostr-relay-tray can now enable non-developers to run a personal relay easily, and it can be accessed from the Internet without any configuration. The next version will support automatically pulling events from people you follow. Then nostr-relay-tray will become the personal caching relay you mentioned. And it can be browsed easily with jumble.

That's amazing, will take some time to test out your nostr-relay-tray and jumble. I think you are going in the right direction with all this.

Thank you! Feel free to reach out to me anytime if you encounter any issues.