Nov 09, 2020 04:53 PM|Ahmadi_rad|LINK
My question is out of the box, hope somebody can help or refer me to correct forum.
I need to host a very simple web site with an economy hosting company. They do not let SignalR on their shared plans. Maybe some dlls of SignallR could be partially used or not, have no Idea.
Why I need SignalR? a very simple task:
Many clients connect to this server via webservice. They provide data and services for each other. I want to notify one client that its response is ready, then it will automatically login to web service and read what ever necessary. The only thing that
I'm concerned about is that clients don't flood server with very frequent checks of if answer is ready.
So, my task for broadcasting even doesn't need authentication. a live stream of client codes need to be posted to all clients. whenever each client receives his own code, he will login and do the stuff. broadcasting is not even mission critical, if a message
is lost, client will check for updates by logging in to server once a minute. This whole system is to avoid logging in once every millisecond.
First thing that crossed my mind was implementing a udp server that all clients connect to the same socket. It needs to keep application alive with fake requests so that we have a place for instansiating udp objects. Then I thought this system may be consuming
the same amount of resources in background that floding the server with usual http requests.
So, at the end, I'm here. need some guide how to implement such system. at the beginning it seems very easy, but harder than expected. OR You may guide me that SignalR is the only answer and try to upgrade to a higher hosting plan.
Thanks in advance