Last post Mar 25, 2014 04:34 AM by davidfowl
Mar 11, 2014 01:06 PM|alexandro_81|LINK
I'm currently using SignalR to push notifications from the server (detecting all changes on a specific table using SQL dependency) to all connected clients. The implementation is based upon the contents of this article:
This solution basically uses a hashtable to track all mappings between a user id and his connection ids. (so can't work in a multi-server scenario).
Since the web application will be hosted in a load balanced environment, I thought it was enough to use a backplane (SQL Server), as described here:
However, after I performed all the necessary steps, client notifications stopped working, even in a single machine environment.
Here's another solution for the connection ids mapping problem, in a multi-server environment:
Is this solution an alternative to using a backplane or do I have to implement it in order use the backplane?
Thank you for your help!
Mar 25, 2014 04:34 AM|davidfowl|LINK
You need to use a database but here's a base to start from https://github.com/DamianEdwards/NDCLondon2013/tree/master/UserPresence