I'm not really sure, why it has to have an event. Seems more like a service a client would just offer, outright, as a feature. Not everything needs to generate an event or be a NIP.

Reply to this note

Please Login to reply.

Discussion

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

🤯

What happened to my numbering…

After 3 comes 4 - you get the idea 😂

I'm going to need to study up more on ElasticSearch

Well I start to like elasticsearch. But I'm still a noob at it :D

Interesting. That is one heck of a stack

Haha I hacked this together. Don't know if it event works right now 😂

Can you check, and fix it, if it doesn't?

#askingforafriend

Yep! As soon as I have some time :)

Btw, I did not read this long thread here. Have to do my reading later :D

#hyperthread

It works! (More or less) Maybe some stuff is not build perfectly fine but it works :)