Monday, 7 March 2022

**** 𝐋𝐨𝐚𝐝-𝐛𝐚𝐥𝐚𝐧𝐜𝐢𝐧𝐠 𝐌𝐞𝐭𝐡𝐨𝐝𝐬 (𝐅𝟓 𝐋𝐓𝐌 𝐯𝐬. 𝐍𝐆𝐈𝐍𝐗 𝐏𝐥𝐮𝐬) ****

 Balancing your Network Traffic across Servers, Clients, and Proxies is key to keeping your customers happy and optimizing your infrastructure. With "𝐍𝐆𝐈𝐍𝐗 𝐏𝐥𝐮𝐬" High-performance Load Balancing, you can scale out and provide Redundancy; Enable Global Server Load Balancing (GSLB), Session Persistence, and Active Health Checks; and dynamically reconfigure your Infrastructure without the need for a restart. 𝐍𝐆𝐈𝐍𝐗 𝐏𝐥𝐮𝐬 Load Balances NOT Only 𝐇𝐓𝐓𝐏 Traffic, but also 𝐓𝐂𝐏 and 𝐔𝐃𝐏.


𝐍𝐆𝐈𝐍𝐗 𝐏𝐥𝐮𝐬 Supports a number of Application Load Balancing Methods for HTTP, TCP, and UDP. All Methods take into account the weight you can optionally assign to each Upstream Server. Below are all the Supported 𝐋𝐨𝐚𝐝-𝐛𝐚𝐥𝐚𝐧𝐜𝐢𝐧𝐠 𝐌𝐞𝐭𝐡𝐨𝐝𝐬 by NGINX Plus:

𝟏- 𝐑𝐨𝐮𝐧𝐝 𝐑𝐨𝐛𝐢𝐧 (𝐃𝐄𝐅𝐀𝐔𝐋𝐓) –-> Distributes requests across the upstream servers in order.

𝟐- 𝐋𝐞𝐚𝐬𝐭 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬 –-> Forwards requests to the server with the lowest number of Active (Concurrent) Connections.

𝟑- 𝐋𝐞𝐚𝐬𝐭 𝐓𝐢𝐦𝐞 –-> Forwards requests to the Least-loaded Server, based on a calculation that combines "𝐑𝐞𝐬𝐩𝐨𝐧𝐬𝐞 𝐓𝐢𝐦𝐞" and "𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 𝐀𝐜𝐭𝐢𝐯𝐞 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬", by considering the "𝐜𝐨𝐧𝐧𝐞𝐜𝐭", "𝐟𝐢𝐫𝐬𝐭_𝐛𝐲𝐭𝐞", and "𝐥𝐚𝐬𝐭_𝐛𝐲𝐭𝐞" Parameters. (Exclusive to 𝐍𝐆𝐈𝐍𝐗 𝐏𝐥𝐮𝐬)

𝟒- 𝐇𝐚𝐬𝐡 –-> Distributes requests based on a "Specified Key", for example Client IP Address ($𝐫𝐞𝐦𝐨𝐭𝐞_𝐚𝐝𝐝𝐫) or Request URL. 𝐍𝐆𝐈𝐍𝐗 𝐏𝐥𝐮𝐬 can optionally apply a consistent hash to minimize redistribution of loads if the set of upstream servers changes.

𝟓- 𝐈𝐏 𝐇𝐚𝐬𝐡 (𝐇𝐓𝐓𝐏 𝐎𝐧𝐥𝐲) –-> Distributes requests based on the "𝐅𝐢𝐫𝐬𝐭 𝐓𝐡𝐫𝐞𝐞 𝐎𝐜𝐭𝐞𝐭𝐬" of the Client IP Address.

𝟔- 𝐑𝐚𝐧𝐝𝐨𝐦 [𝐰𝐢𝐭𝐡 𝐓𝐰𝐨 𝐂𝐡𝐨𝐢𝐜𝐞𝐬] –-> If the "two" Parameter is specified, first, NGINX Picks "𝐓𝐰𝐨 𝐒𝐞𝐫𝐯𝐞𝐫𝐬 𝐚𝐭 𝐑𝐚𝐧𝐝𝐨𝐦" and then Forwards the request to the one with the "𝐋𝐨𝐰𝐞𝐫 𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 𝐀𝐜𝐭𝐢𝐯𝐞 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬" (the Least Connections Method). With 𝐍𝐆𝐈𝐍𝐗 𝐏𝐥𝐮𝐬, the "Least Time" Method can also be used.

And, Below are all the Supported Load-balancing Methods by "𝐅𝟓-𝐋𝐓𝐌 𝐌𝐨𝐝𝐮𝐥𝐞":

𝟏- 𝐑𝐨𝐮𝐧𝐝 𝐑𝐨𝐛𝐢𝐧 (𝐃𝐄𝐅𝐀𝐔𝐋𝐓)
𝟐- 𝐋𝐞𝐚𝐬𝐭 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬 (Node / Member)
𝟑- 𝐋𝐞𝐚𝐬𝐭 𝐒𝐞𝐬𝐬𝐢𝐨𝐧𝐬
𝟒- 𝐒𝐭𝐚𝐭𝐢𝐜 𝐑𝐚𝐭𝐢𝐨 (Node / Member / Session)
𝟓- 𝐃𝐲𝐧𝐚𝐦𝐢𝐜 𝐑𝐚𝐭𝐢𝐨 (Node / Member)
𝟔- 𝐖𝐞𝐢𝐠𝐡𝐭𝐞𝐝 𝐋𝐞𝐚𝐬𝐭 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬 (Node / Member)
𝟕- 𝐑𝐚𝐭𝐢𝐨 𝐋𝐞𝐚𝐬𝐭 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬 (Node / Member)
𝟖- 𝐅𝐚𝐬𝐭𝐞𝐬𝐭 (Node / Application)
𝟗- 𝐎𝐛𝐬𝐞𝐫𝐯𝐞𝐝 (Node / Member)
𝟏𝟎- 𝐏𝐫𝐞𝐝𝐢𝐜𝐭𝐢𝐯𝐞 (Node / Member)



No comments:

Post a Comment

iRule

  iRule: -- o iRule is a powerful and flexible feature within the BIG-IP local traffic management (LTM). o IRule is a powerful & flexibl...