queries don’t care about where the pubkeys come from
Discussion
most queries are pushing the same pubkeys to the relays over and over
I've suggested this idea since day 1, just never took off
where's the PR for the NIP change? or is there none and we need to formally write it up?
maybe we just need to support it with a new or forked relay.
saving network and compute costs is worth it
"worth it" is subjective. it greatly complicates the query language
I can never remember the difference between a filter and a query. I thought strfry only had filters.
you query the database with filters
I thought you query the database and then run filters on the query?
Or are the terms used differently in different tools?
the filters are the query
Oh, guess that's different, than in a RDB, where filters are just the WHERE clauses and stuff.
Guess there are no real queries, in strfry, since it's all documents instead of tables, so you don't have to assemble a subset of table columns to filter (filters applying to the content of the rows), you just filter all of the documents.
Or something.