i decided to write a card game with c# that has a winform application for main server to manage the game with a web interface. i chose SignalR self-host for main server. because i want to sell this app to others and dont want to modify the code or html of the web interface. so my question is: is that good for handling 10000 client request? is there a way to write this app for better performance? another thing is i want to write the main server and login cashout profile and ... most written by customers like poker mavens and i just create a api with json to do this functions. plzzzz guide me which way is better to write this app!
better way to create game server with web interface
704 Views Asked by IR4N0nY At
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in SIGNALR
- React-native Long-polling or SignalR/websocket?
- Problem when use SignalR with ASP.NET Boilerplate - Connection ID required
- Websocket/SignalR stops receving data consistently on low-end machine
- Implementing User-Specific Notifications with SignalR in an ASP.NET Core Web API & React Project
- SignalR Client won't print the Queue Position
- ANR about Unsafe.park (Native method) in play console
- SignalR client in Unity Android platform doesn't receive messages from server
- Why signal R app throwing SocketClosed exception for RedisConnection(in aws) for and state is "ConnectedEstablished" and app works fine?
- How cobrowsing works?
- SignalR timer event unsubscribe if user disconnected or browser closed
- Issue with Microsoft.AspNet.SignalR.Client hanging/crashing app after app being in background for 10 + minutes
- How to configure WebSocket for SignalR for successful response in listener? How to capture messages from developer console using WebSocket samplers?
- Blazor StateHasChanged() method not working with SignalR
- How to check if SignalR is using redis elasticache programmatically in C#. Is there any code to get stored key value pairs
- Can I get results from multiple SignalR clients from Hub
Related Questions in WINFORMS-TO-WEB
- Migration to new technology
- C# WinApp throws (403) Fobidden exception while sending HTTP/GET request
- fire HTML Radio Button Event from my windows form but Jquery fails to load Dom
- CefSharp Set Object reference for buttons C#?
- Guidance on migrating a .NET windows forms application to a web application
- Transfer winform data to yahoo login page inside Chrome browser
- Provide AntiForgery Token with System.Net.Http.HttpClient and MVC
- Call a MVC action method from Winform application with post data and open the response in an external browser
- problem of opening a webPage in webBrowser c# control in place of IE control
- WPF Browser Control Navigation
- Where to save HTML and Images?
- Unable to open browser from c# winforms
- need solution to pull url of keyword search from search engine in windows forms application using C#
- VB.NET - Easiest way to Export / Convert WinForm App to Web ASP.NET App
- ASP.NET w/ VB.NET - Winforms to Web - NullReferenceException Error on string split / string builder
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
With your server code self hosted and a javascript client calling into your server methods, becoming your browser based client, your design should work.
I am looking at this. https://learn.microsoft.com/en-us/aspnet/signalr/overview/deployment/tutorial-signalr-self-host
But I think you'll need to figure out scale out scenarios and server failure scenarios with the self host. In case there is a patch update on the server and it has to restart, you'll need to be able to get a backup. Also consider the case when you need to upgrade the server. So you'll need to be able to host it in multiple servers and you'll need to provide the signalr backplane option.
From a performance point of view, I have tested a web api signalR application on a single 4-core-14-GB server and was able to scale up to 20k connections, with the server comfortably serving more than 200 Requests per second.
With a backplane these numbers were around 100-150 rps. The response times in both cases were very good ~ 500 ms.
Although please note that your numbers could be VASTLY different based on your actual functionality.