How many connections to the brouser-based server can be?

How many connections to the brouser-based server can be?

If I run server in the brouser composition, how many clients can connect to this Server? I can’t find this information in docs and in the forum…

I don’t think there’s a difference with a standalone app on this area.

I’ll depend on your Network.InitialiseServer function that specifies the max. amount of allowed users.

Well, what to happen, if I set max connection value to 500 ?
I mean, how many connections can be at maximum?

The usual answer to this type of question: The number of players depends extremely on your type of game and how you implement it. If you’re game is just a chat, you can probably have 1000 players without a problem. If your game is a highly action-based super-synchronized shooter you might run into trouble with 10 players.

That’s why it’s very unlikely that you’ll find any kind of information about this anywhere in the docs.

Personally, I get browser-crashes when I try to run my server in the browser but couldn’t care less (I think the last time I tried this was about a year ago :wink: ). The thing is: If you have the server in the browser, you usually need to assume that you’ll have a low-end machine, so I’d rather play it safe with such a setup (I wouldn’t go for more than 20 players - but again: this extremely depends on the type of game and networking you’re after).

Of course, you can set max connection value to 1000 or more if you wish - but you’ll probably have a hard time testing this :wink: