We have a load balanced webserver setup and we therefore want to use SignalR for client/server communication with a SignalR backplane.
How can we make sure that only one server writes to the database when a client sends something to the server? The backplane will re-route the message to all servers, but not all servers can write the same thing to the DB!
Any techniques/suggestions for how I can both use the SignalR backplane and only write to DB from one server?
In my ideal world I would receive the message on one server, store message to DB and then put a message (maybe not the same as the incoming message) on to the backplane.