c# - better way to create game server with web interface -


i decided write card game c# has winform application main server manage game web interface. chose signalr self-host main server. because want sell app others , dont want modify code or html of web interface. question is: handling 10000 client request? there way write app better performance? thing want write main server , login cashout profile , ... written customers poker mavens , create api json functions. plzzzz guide me way better write app!

with server code self hosted , javascript client calling server methods, becoming browser based client, design should work.
looking @ this. https://docs.microsoft.com/en-us/aspnet/signalr/overview/deployment/tutorial-signalr-self-host

but think you'll need figure out scale out scenarios , server failure scenarios self host. in case there patch update on server , has restart, you'll need able backup. consider case when need upgrade server. you'll need able host in multiple servers , you'll need provide signalr backplane option.

from performance point of view, have tested web api signalr application on single 4-core-14-gb server , able scale 20k connections, server comfortably serving more 200 requests per second.

with backplane these numbers around 100-150 rps. response times in both cases ~ 500 ms.

although please note numbers vastly different based on actual functionality.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -