Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Apr 28, 2013 at 06:42 PM by Julien-Lynge for the following reason:

Question is off-topic or not relevant

avatar image
0
Question by dreammakersgroupAdmin · Apr 28, 2013 at 04:55 PM · editorthreadssupport64-bit

How to create more than 2000 threads?

I am thinking to make server in unity3d but i have problem , i can not create more than 1000 thread in my system , i got error message "too many thread", I tried to build using 64 option but still the same.

Comment
Add comment · Show 10
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image whydoidoit · Apr 28, 2013 at 05:20 PM 2
Share

Unless you have more than a 1000 cores, creating that many threads is not the way to go - it would run like a complete dog spending most of its time in thread switching.

avatar image dreammakersgroupAdmin · Apr 28, 2013 at 06:00 PM 0
Share

so how to handle connections with more than 1000 concurrent users

avatar image whydoidoit · Apr 28, 2013 at 06:10 PM 0
Share

Same as a web server? Stateless transactions, looks up the state as a request comes in and discards it afterwards. Unless your game is super simple it would require something huge in the server department or a cluster I would have thought.

Then I'd guess batching the processing for multiple players onto threads - so each thread process 100 or so.

Without knowing what your game is - I can't be specific.

avatar image whydoidoit · Apr 28, 2013 at 06:13 PM 0
Share

How many cores does your server have?

avatar image Julien-Lynge · Apr 28, 2013 at 06:41 PM 0
Share

This doesn't sound like it's in any way Unity specific, so I'm going to close this question. I'd suggest reading up on web servers, unless @whydoidoit is willing to keep walking you through the steps :)

Remember: this is not going to be an easy question with a simple answer. Setting up a web server to manage $$anonymous$$$$anonymous$$Os is very complicated.

Show more comments

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Terrain Menu is gone in the MenuBar. 3 Answers

Debug Console doesnt show up 7 Answers

Accessing CustomEditor Inspector values from another scene 0 Answers

Cloud recognition in Vuforia 0 Answers

Animation Event - "Function not supported" 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges