I am developing a web site, including device names list and related build buttons. When I click on a build button Then a process will run in the server when more than ten users click on the build button will create more processes on the server that will hang. How can all requests from the client send a single process to the server.
You can set up a WCF Windows service that counts any internal processes currently running And it ensures that every single process does not exceed the X threads running. If you really want the same amount, then you do not need to worry about the thread and it is only during one process Can stop the requests.
It may be more difficult to give users feedback though, though it is required because if one or more processes are queued, you can not immediately tell the user that the construction has started etc.
Comments
Post a Comment