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 /
avatar image
0
Question by azyrien · Feb 04, 2012 at 02:22 AM · networkingmultiplayerserverproxy

Proxy Server Load Balancing / Scaling

Hi all,

We're investigating using the Proxy Server provided under the Unity Networking Servers to relay game traffic for clients who cannot directly to connect to one another. We've gotten it to work in testing via the Network.useProxy command, but I have some questions geared more towards the maintenance and support of this solution.

  1. Have any of you used (or heard of someone who has) this Proxy Server on a live title?

  2. The code shows a default conn limit of 1000 - has anyone load/stress tested this to see if that's its limitation? How many connections have you been able to support using this?

  3. What is the expected latency for connections routing through the Proxy?

  4. Most importantly, can this Proxy be load balanced if you have more connections than a single node can support? Has anyone gotten this to work? What kind of load balancing scheme would you use?

I appreciate any assistance or feedback. We're running tests on the software right now, but it would sure speed things up.

Cheers.

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by supmagc · Feb 28, 2012 at 01:17 AM

Hi,

I'm currently doing some research for the Unity ProxyServer myself, and was wondering about the same stuff. According to google, not a lot of people out there are using it ?

I'm having a lot of trouble with the default ProxyServer as it constantly gives me error messages about rejected messages, etc ...

Somebody suggested me to have a look and try the Photon Cloud, but that's a typical client-server setup, and not really what I was aiming for.

What are your insights after testing ?

Comment
Add comment · Share
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
0

Answer by azyrien · Feb 28, 2012 at 11:59 PM

From what I can tell, I'm not aware of anyone who's used this in production and I'd be happy to know if someone has.

We've gotten it working on our side and tested via the Networking Example Third-Person app, running on a CentOS5 VM. We've not had any difficulty with the default settings yet, but plan to tweak them and experiment to meet our needs. For example, the 1000 conn limit and limit of 10 server ports needs to be upped, and we'll add in some app-level metrics to get a better understanding of how this performs when under load. I speculate we may need to change the sleep times as well as this could add unnecessary latency.

We're still working on formulating a better load-test to see what kind of stress the system can take. It won't scale beyond a single node unless this is balanced client-side, as it requires both the server (host) and client to hit the same instance. If it's not cpu/mem-bound we may try running multiple processes on the same VM.

Sorry that's not terribly helpful yet :)

Comment
Add comment · Share
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

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity networking tutorial? 6 Answers

Multiplayer game in webplayer not working on server 1 Answer

Why can't the client move a networked object ? 1 Answer

Making own server instead of using unity matchmaking and relay servers? 1 Answer

Photon Server Tutorials? Or Alternative Networking Asset 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