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

服务端 cache 模块的配置移除 #1247

Closed
chuntaojun opened this issue Sep 11, 2023 · 0 comments · Fixed by #1304
Closed

服务端 cache 模块的配置移除 #1247

chuntaojun opened this issue Sep 11, 2023 · 0 comments · Fixed by #1304
Labels
enhancement New feature or request

Comments

@chuntaojun
Copy link
Member

chuntaojun commented Sep 11, 2023

What is the feature you want to add?

  • 移除 polaris-server 中的关于 cache 的所有配置
  • 缓存层默认开启无法关闭
  • 缓存层启用哪些资源缓存加载跟服务端功能模块绑定
    • 命名空间(必须开启,无法关闭)
      • namespace
    • 服务治理
      • service
      • instance
      • routingConfig
      • rateLimitConfig
      • circuitBreakerConfig
      • faultDetectRule
    • 配置中心
      • configFile
      • configGroup
    • 鉴权
      • users
      • strategyRule

Why do you want to add this feature?

  • 缓存模块目前对于服务端来说是核心功能模块
    • 控制台服务列表、实例列表、配置分组列表均通过缓存模块进行查询
    • 客户端获取服务治理规则、配置文件通过缓存模块
    • 鉴权检查通过缓存模块查询规则数据
  • 关闭缓存模块会使得服务端无法正常工作
  • 该启用哪些资源缓存,应该跟服务端功能模块绑定,而不是在 polaris-server.yaml 中单独引入一个 cache 的配置项进行管理。用户不应该关心哪些资源应该开启缓存,用户应该只关心使用服务端提供的哪些功能

How to implement this feature?

Additional context
Add any other context or screenshots about the feature request here.

@chuntaojun chuntaojun added the enhancement New feature or request label Sep 11, 2023
@chuntaojun chuntaojun linked a pull request Dec 19, 2023 that will close this issue
11 tasks
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

Successfully merging a pull request may close this issue.

1 participant