Похожие чаты

Hi how can i dynamically load balacing udp game servers

?

9 ответов

26 просмотров
...- Автор вопроса

Anyone know any solution?

Question too broad to answer with the information supplied. This is largely why you're not getting any answers

...- Автор вопроса
Raptor Blue Bear
Question too broad to answer with the information ...

I have two options Game servers behind an specific port with load balacer like example.com:9000 or each game servers run on different ports anf using a range of ports example.com:9001 ... 10000 I don't know how load balace the udp traffic. and Which option is better ? **I need flexibility to increase and decrease servers numbers in specific times like 8am or 5pm

...
I have two options Game servers behind an specific...

Ports and port configuration is largely irrelevant. If you're self hosting then nginx will do most of the time. On AWS you can use the Network Load Balancer. However, this all depends on the server side code.

...- Автор вопроса
Raptor Blue Bear
Ports and port configuration is largely irrelevant...

the problem is nginx udp server listentin and loadbalancing and in the backend we have 2 game server run and in the nginx configuration this two servers configured. when the client connect to the nginx server it uses round robin method. and we have many problems. because we want every single player play in the one server not every packet round in two server. i searched about hash load balancing but not find any configuration example

...
the problem is nginx udp server listentin and loa...

The example in the nginx documentation is sufficient

...- Автор вопроса
Raptor Blue Bear
The example in the nginx documentation is sufficie...

how hash method works can send me any link that describe this method with detail

...
how hash method works can send me any link that de...

https://nginx.org/en/docs/ there's the official documentation. It's all in there, just need to read it

...
the problem is nginx udp server listentin and loa...

Hash – NGINX selects the server based on a user‑defined key, for example, the source IP address ($remote_addr): https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта