I have a large table containing items that generally has a few new items inserted every second. I want to build a realtime application where users can subscribe to certain types of items and have a realtime feed whenever an item of a certain type is inserted.
As a start, I used http://techbrij.com/database-change-notifications-asp-net-signalr-sqldependency but it is missing some crucial pieces that I am not sure how to implement.
What is the best way to track which messages to push to which clients? How can I track which messages have already been sent without the overhead of updating a "pushed" flag every time an update is received?