Skip to content
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

[Feature] 负载均衡策略可以添加来源地址分配给同一个节点吗? #1745

Open
3 tasks done
ceozero opened this issue Dec 25, 2024 · 1 comment
Open
3 tasks done
Labels
enhancement New feature or request

Comments

@ceozero
Copy link

ceozero commented Dec 25, 2024

验证步骤

  • 我已经阅读了 文档,确认了该功能没有实现
  • 我已在 Issue Tracker 中寻找过我要提出的功能请求,并且没有找到
  • 我是中文用户,而非其他语言用户

描述

https://wiki.metacubex.one/config/proxy-groups/load-balance/
看了一下负载均衡的策略。现在只支持

round-robin 将会把所有的请求分配给策略组内不同的代理节点

consistent-hashing 将相同的 目标地址 的请求分配给策略组内的同一个代理节点

sticky-sessions: 将相同的 来源地址 和 目标地址 的请求分配给策略组内的同一个代理节点,缓存 10 分钟过期

我现在局域网有1000台设备。我想给每个设备自动分配一个单独的节点。

可以添加一个策略,按 来源地址 来分配代理节点吗?

@ceozero ceozero added the enhancement New feature or request label Dec 25, 2024
@Skyxim
Copy link
Collaborator

Skyxim commented Dec 25, 2024

@ceozero 做不到

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants