Похожие чаты

Hi how can i dynamically load balacing udp game servers

?

9 ответов

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

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/

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

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

30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
Привет)) уже кажется эту тему перемусолили, но вот я так и не понял. Я сейчас сижу на 27дюймов 2к мониторе. На Актуальной макоси, если я куплю 27д 4к монитор: - будет ли изобр...
Vladislav Piskunov
16
Also, why can’t the community have a vote/ say when it comes to initiatives like buybacks. Isn’t the point of crypto decentralisation? Don’t we deserve input as long term supp...
👨🏽‍🦰
13
any reference of this implementation?
BitBuddha
29
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
14
Hi guys, any problem with Pulsebrige? Trying to transfer from wETH to ETH. First it tells me to connect my metamask "through mobile app" not desktop. Then I did and confirmed ...
Snowflakecrypto
13
Карта сайта