Global Feed Post Login
Replying to Avatar Mazin

The idea is to standardize everything so that nobody has to implement a bunch of proprietary APIs. I certainly get the appeal of that but the design is wasteful and slow.

Lots of the services “offered” by DVMs are just wrapping centralized services with more latency. For example, most search DVMs just use NIP-50 on one or more of the 3 search relay implementations. Using this instead of connecting directly to the relay(s) is so much more work.

With NIP-50:

1. Connect to search relay

2. Open search filter

3. Relay finds matching events and returns them

3. Display returned events

With DVMs:

1. Make a DVM request event

2. DVM makes NIP-50/search API request

3: DVM parses just the event IDs and returns a list of those in a nostr event

4. Client pulls response event and requests event IDs from all relays? Some relays? Only the NIP-50 relay(s) that supplied the DVM with the results?

5. Relay(s) finds matching events and return them

6. Client displays events

🤯

Avatar
Mazin 1y ago

What happened to my numbering…

After 3 comes 4 - you get the idea 😂

Reply to this note

Please Login to reply.

Discussion

No replies yet.