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

[Server] 控制器优化 #5

Open
2 of 7 tasks
gps949 opened this issue Mar 28, 2023 · 0 comments
Open
2 of 7 tasks

[Server] 控制器优化 #5

gps949 opened this issue Mar 28, 2023 · 0 comments
Labels
增强 New feature or request

Comments

@gps949
Copy link
Member

gps949 commented Mar 28, 2023

为了快速达到堪用水平,我们在控制器处理中有很多粗糙的地方(包括部分来自HS的),这些优先级不算高,但在方便时我们需要调整优化它们:

  • HS使用了一些反复polling检查的机制(例如自熄节点剔除等),这些可考虑使用时间轮
  • 统一dex和控制器的log机制
  • cockpit和console间db本身是共用的,但方法很多都重新写了,设法复用
  • 编写更好的log,以准确分级记录信息以及统计用户控制台操作(后期对接ES)
  • 日志直出文件,可在超管驾驶舱页面上查看
  • 部分控制台API数据报文格式较凌乱,需要进行规整
  • 对于LastUpdate记录信息需要做细化(至少到组织,最好能到节点)并对缺失记录和冗余记录做处理
@gps949 gps949 added the 增强 New feature or request label Apr 12, 2023
@gps949 gps949 changed the title 控制器优化 [Server] 控制器优化 Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
增强 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant