polarismesh / polaris-java

Lightweight Java SDK used as Proxyless Service Governance
Other
137 stars 82 forks source link

[ISSUE #455] refactor:优化容灾文件加载逻辑,做成按需加载 #459

Closed chuntaojun closed 7 months ago

chuntaojun commented 7 months ago

455

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (05141fd) 26.67% compared to head (31d6b3b) 26.79%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #459 +/- ## ============================================ + Coverage 26.67% 26.79% +0.11% - Complexity 595 599 +4 ============================================ Files 183 183 Lines 7752 7752 Branches 1004 1004 ============================================ + Hits 2068 2077 +9 + Misses 5421 5417 -4 + Partials 263 258 -5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

andrewshan commented 7 months ago

存在问题,如果当首次与北极星服务端连接失败,并且业务qps很高的情况下,可能会导致磁盘出现高IO,需要调整: 缓存文件按需加载 每个文件只加载一次