Last post Sep 15, 2017 09:42 AM by Eric Du
Sep 14, 2017 07:14 AM|csharpdev2|LINK
I have a webb application where the webpage shows a table with initially 0 rows.
The data can come in bursts between 1-100 quick events (maybe 2 or 3 per second).
When the hub has finished processing each packet, it pushes out an object to the webpage which updates the table and adds a new row if that item doesn't exists, or otherwise updates some counters. It can even remove that row if the counter reaches 0.
and execute a critical section (the table update function) concurrently.
What would be the best way to solve this issue? Try to implement some kind of Mutex? I'm couldn't find any good examples online. The only thing that I found that might solve the issue was this link:
Another approach might be some kind of queue in the hub, but then you would need to know when the client has finished processing the update package somehow...
Sep 15, 2017 09:42 AM|Eric Du|LINK
According to your description and needs, please check the following tutorial:
SignalR Performance-ASP.NET configuration settings: