Slide 7
Slide 7 text
Indexer
Connects to the specified relay and subscribes to kind 1 and kind 5. Update
Elasticsearch state according to events.
Searcher
When the REQ comes in:
Throw a query to Elasticsearch, return results to the client, and send EOSE at
the end.
Add the connection to the (internal) query subscriber list.
Polling at regular intervals:
Throw queries with subscribers to Elasticsearch sequentially, and broadcast
the new matches to the subscribers.