Still don't get it: do nostr relays actually act as clients to other relays? Do they try to fetch data from other relays if they don't find anything locally?

Reply to this note

Please Login to reply.

Discussion

No

So you either share a relay with me and see my posts or you don't? Mhhhhhhhh

Right

yep

Nostrproxy will though

Generally no, though it sounds like some do sync behind the scenes and some like nostr.wine explicitly run an aggregator

Nope, just ckient sending to multiple relays

I’m also interested in this.

I would love to see a layman’s explanation of Nostr > Mastodon > Twitter with full explanation of clients and relays.

👀

A relay doesn’t talk to another relay, only directly to users.

Only relays that are running strfry or something else custom will sync with other relays. The majority are running nostream or nostr-rs-relay which don’t support syncing with other relays yet.

Sounds like I need more relays

woah what is this

Been testing it out, seems to be working great!

This is awesome, great find!

Looks like a relay aggregator that pushes and gets events from multiple relays. Pretty cool! 🤙

I trying to optimize memory currently.

But now, my server has a too low CPU...

Scaling Nostr is resource consuming

Zapping some!

There is a little tutorial here on the bottom of the page for mirroring data manually on Nostream. Have not tried it.

https://www.swissrouting.com/nostr.html#mirroring

Not yet, but there’s no reason they couldn’t

The relays don't talk to each which i think is a bit of a problem.

We talked to Mike Dilger about relays here. His gossip model is not the same as the lightning network gossip

https://iris.to/post/note1e9jswae7unewjajvaxjxe4f3ywqy2y9mz8z0e028qhf7m457986qrsgtpe

It seems that’s a decision of the client, not of the relay.

A client can easily behave as a pipe to another relay as shown by the nostcat’s pipe example: nostcat: https://github.com/blakejakopovic/nostcat

Feels like the idea of the protocol is to make servers dumb and leave cleverness to clients?

As if relays are dumb air and clients create the virus.

I imagine your aggregator relay REQing other relays as a vile client and filtering out spammy stuff and duplicates before delivering to user client.

Gossip protocol to the rescue?

note1lj5zlvgvceetjvy2c340vufv2nyt9zujcrysj44w60d2p74nvs4q8mp2sp