Похожие чаты

Hi how can i dynamically load balacing udp game servers

?

9 ответов

13 просмотров
ali- Автор вопроса

Anyone know any solution?

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

ali- Автор вопроса
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

ali
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.

ali- Автор вопроса
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

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

The example in the nginx documentation is sufficient

ali- Автор вопроса
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

ali
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

ali
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/

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

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

We heading to 1.1$ 🤔?
CryptoBo$$
35
Anyone here suffers from unexplained aural migraines, who would be up for talking for a bit? Doesn't *have* to be aural, but I am not asking about headaches, I mean actual mi...
Martin Rys
55
A couple thoughts from a random internet stranger: 1. If you want this project to gain traction you cannot keep being negative. If I just came here after finding out about Kd...
Eric Wild
45
Сonst magicTgHTML = (text, entities) => { let processedText = text; let offsetShift = 0; entities.forEach(entity => { const { offset, length, type, url, ...
Андрей
1
Здравствуйте товарищи! решил всё таки поставить линукс. Порядок создание разделов /boot/efi 200МиБ; /boot 1000; подсистему / 80000; swap 8Гб Будет норм?
K2
19
Koi bata sakata hai yaha ? Is baar shot open karna theek rahega kya ?
Hakuna Matata
13
Can you help a noob? I know LTC was one of the early alt coins. But what is the benefit of it today? What are its attributes? Why should I be bullish on it this bull run?
CryptoNoobian ($PEPI)
14
How Will #Monero Be Attacked? First of all I want to tell you that this is not teaching the network attackers, the central regulators. They already know how to attack the net...
Li₿ΞʁLiøη
3
#wazirx 15 May my account has fund of rupees 10000 but 16 May my balance is showing 8200 why?? Without any withdrawal
Learnwi
12
подскажите пожалуйста, как мне освободить результат записанный в переменную result? в чем проблема подскажите если МОЖЕТЕ?
Михаил Helper
28
Карта сайта