Ad.
Some years ago, Microsoft was working on that. The idea was that you'd submit a query, and when the results of it changed, you'd get a notification. The goal was to have a large system where millions of such outstanding queries could be pending.
What this really means is a database of queries, which is queried when there's a data update to see who needs to be informed.
Anyone know how that Microsoft project came out?