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 runtime client in engine/factory module #492

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

jschwinger233
Copy link
Member

@jschwinger233 jschwinger233 commented Oct 19, 2021

  1. 原来的 cache 逻辑在 store 实现里, 导致 redis / etcd store 都要重复实现, 给移到 engine/factory 模块下, 这样就 DIY 了
  2. cache key 从 nodename 改成 endpoint, 这样如果更新了 node endpoint url 不会被脏数据污染
  3. cached client 连接中断后也会自动重连, 毕竟智能 client...

又减少代码了, 好耶.

@jschwinger233 jschwinger233 changed the title [WIP] Cache runtime client in engine/factory module Cache runtime client in engine/factory module Oct 19, 2021
@CMGS CMGS merged commit fbb668c into projecteru2:master Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants