Oddbean new post about | logout
 Can someone explain how Nostr Feed Marketplaces are built?

Are they running their own relays to do content curation, then user's client subs the relay? They seem different than this....

They don't seem to run locally on user's device?

Any architecture explainers help....

#AskNostr
#NostrBuilds
#NostrDev 
 Hello? Guys come on here. I'm trying to understand architecture to build shit FFS.

Tag people plz. #AskNostr #GrowNostr 
 #asknostr

nostr:nevent1qqsq98zr0z8jq9zdukrezlk3k4xx4sp3pa2urzue8sfmdyz0ssx9jsspz4mhxue69uhkummnw3ezummcw3ezuer9wchsygqclnqnn9g2nn8rlmj7un60gme78u8r8qnhmnyte45jk08qa9qgfcpsgqqqqqqsfz7k59 
 The marketplace uses NIP90 DVMs, which are kind of processing services. In case of feeds, they gather notes from relays, do some processing on these notes, and return a feed based on the processing. For example they filter for topics, or look for notes with many reactions etc.  
 Thank you!😍

So are DVM's relays? Are they like relays? Couldn't determine from the docs. Trying to understand how to build one and how it would aggregate data for feed purposes.

If I understand correctly, NIP-89 is how these feeds are being listed in clients? (IE in Primal's new feed marketplace, and in Amethyst's feed marketplace)? 
 Yes, nip89 announces these.

You can check out the python framework I've built if you want.

https://github.com/believethehype/nostrdvm 
 Appreciate that. I'm not a coder, more vision guy/PM/PO. But am going to try throwing these AI coders at some of these problems.

So are DVM's 3rd party?

Because I notice Amethyst and Primal have different feed DVM's in each client. I'd expect both clients to have the same feed options if the DVM's were 3rd party.

Also, are they basically a relay? Or something else? Decentralized? Replicable? Sorry for Q's, trying to get a lay of the land.  
 I run some, Pablo runs one, Primal runs some. They should be the same on all clients but Primal doesn't follow the workflow but uses their own Cache, so they are not letting users contact the DVMs but do it for them.  They are not really like relays. More like really processing providers

 
 So the DVM's typically cache on the DVM itself? 

Do they actually store data? Or just "pass-through" the events and links to the end relays where the data lives on? Just in a processed, pre-packaged order?

Does Amethyst use DVM's for their DM Push Notifications? Or just typical GCM/Cloud etc? Seems DVM's could maybe run a push notif service.... 
 There's pokey for push notifications! Check it out.

Some DVMs just fetch from relays. I store the last 2 days of notes in a local database and search there. 
 Will check into all these. Thanks a bunch man. 🙏