New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How many consecutive connections can enet handle? #110
Comments
It can handle 4K connections on a single host.
…On Wed, Jul 3, 2019 at 10:39 AM Elie Obeid ***@***.***> wrote:
I'm using Godot game engine to create a multiplayer game, it supports UDP,
TCP and websockets. According to my research UDP is the only one reliable,
they use Enet.
I didn't get a decisive answer from godot community on how many
consecutive connections Enet can handle, many create a new server instance
using docker per room, I don't like that
I want to have 8 players per room, how many consecutive connections can
Enet handle before that I have to create a new docker instance? If there's
no good answer, I'd like to know the safest bet before creating an instance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#110?email_source=notifications&email_token=AALDVUM6V2HRQ42PZLX7L53P5S2ZTA5CNFSM4H5GRY4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5E427A>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALDVUNZG6XJ5RVKVS5LRZLP5S2ZTANCNFSM4H5GRY4A>
.
|
Thank you so much, a single host meaning a single docker container right? not a single server? How to scale enet? is docker the way to go? |
ENet has nothing to do with docker at all. I have no idea what Godot has
done that would suddenly require docker. ENet is only a UDP protocol.
…On Wed, Jul 3, 2019 at 11:40 AM Elie Obeid ***@***.***> wrote:
Thank you so much, a single host meaning a single docker container right?
not a single server?
How to scale enet? is docker the way to go?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#110?email_source=notifications&email_token=AALDVUJYZQOQUTXRYD3QJWDP5TB5ZA5CNFSM4H5GRY4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZE3JDY#issuecomment-508146831>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALDVUOC4346ZLV2QGZKNZLP5TB5ZANCNFSM4H5GRY4A>
.
|
I meant to ask, if you need to handle more than 4k, what would you do? they use docker to handle more than 4k connections that's all. In any case, if you need to handle 5k, you create a cluster right? I'm closing this issue, you solved it so fast, thank you. |
Trying to do more than 4K connections on a single host would not really be
that efficient, because you are stressing one single OS process trying to
deal with all the load of them. So you might want to reconsider your
networking architecture so that those connections get split over to
multiple hosts/servers and so they you can take advantage of parallelism.
…On Wed, Jul 3, 2019 at 12:05 PM Elie Obeid ***@***.***> wrote:
I meant to ask, if you need to handle more than 4k, what would you do?
they use docker to handle more than 4k connections that's all. In any case,
if you need to handle 5k, you create a cluster right?
I'm closing this issue, you solved it so fast, thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#110?email_source=notifications&email_token=AALDVUM3JXAQXLWOUTSCPR3P5TE35A5CNFSM4H5GRY4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZE5T2Y#issuecomment-508156395>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALDVUJCUVTRAGI62SVZD3DP5TE35ANCNFSM4H5GRY4A>
.
|
Awesome thank you! |
I'm using Godot game engine to create a multiplayer game, it supports UDP, TCP and websockets. According to my research UDP is the only one reliable, they use Enet.
I didn't get a decisive answer from godot community on how many consecutive connections Enet can handle, many create a new server instance using docker per room, I don't like that
I want to have 8 players per room, how many consecutive connections can Enet handle before that I have to create a new docker instance? If there's no good answer, I'd like to know the safest bet before creating an instance.
The text was updated successfully, but these errors were encountered: