Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7088667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:49:43+00:00 2026-05-28T07:49:43+00:00

Currently I’m planning to design a dedicated server in C# for an XNA game

  • 0

Currently I’m planning to design a dedicated server in C# for an XNA game where up to 32 players will be able to connect at the same time. I have had experience in networking with System.Net, but I’ve not had to deal with quite a large player count before.

I know from heart that creating and destroying threads (especially one for each player) is not going to be a good idea, and I’m unsure whether or not to use a ThreadPool due to the “wait in line when no threads are available” nature. So, I’ve decided (pretty much as my only last option) to use Async to handle the large client count.

But I’m still unsure whether or not this is a wise choice, or if I should be using something else to suit my demanding needs.

Apologies if this question sounds bleak, but I’m pretty stumped – help much appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:49:44+00:00Added an answer on May 28, 2026 at 7:49 am

    If the limit of the game really is 32 concurrent users and perhaps a handful of observers, then threads is alright, especially if you find them easier to code with than callbacks. (You’ll have to coordinate access to shared data structures appropriately, and the complexity of this may outweigh a corresponding event-based design.)

    I probably wouldn’t even bother with a thread pool for just 32 concurrent users.

    The limitations of threads for throughput shows around 100 threads (depending upon implementation details, of course). If you’re never aiming for 100 simultaneous users (which would be a pretty lightly loaded IRC server, for example) then there’s no need for the asynchronous event-model unless you and your team are more at ease with the event-model.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently we have a hybrid ASP/PHP setup connecting to a SQL Server 2005 database.
Currently, I don't really have a good method of debugging JavaScript in Internet Explorer and
Currently we have a project with a standard subversion repository layout of: ./trunk ./branches
Currently, I have: <html> <div class=yes1><span><img src=img></span></div> </html> <script> var x = ='yes1' var
currently we have a column with only integer values declared as NUMBER. At the
Currently have the following expression: @[TMS_Dest] + \\ + @[TMS_Rename] + (DT_WSTR,4)DatePart(yyyy, GetDate()) +
Currently I have a date in my clients data table and it is stored
Currently I have the following Mapping in my Controller: @RequestMapping( value = /add.html, method
Currently, I have a log file of messages in one table in a MySQL
Currently, Enum.Parse supports only the comma as the value separator, so that MemberOne,MemberThree will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.