Replies: 2 comments 2 replies
-
|
目前不会进行清理,为防止数目爆炸 会限制总的数目。欢迎社区提交 PR 完善这一块 EntranceNode and DefaultNode won't be evicted. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@sczyh30 这一块虽然没有那么重要,但是是否可以采用这种优化
另外MAX_CONTEXT_NAME_SIZE也可以考虑提供出来供使用者调节。 这样处理在正常情况下应该对性能不会有什么影响,因为一般没有那么多资源限流。而如果真正遇到了需要限流的资源太多,也能够进行处理,而不是直接报错。不过那种场景可能会导致频繁new EntranceNode。而这也可以通过调节MAX_CONTEXT_NAME_SIZE来达到平衡。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
EntranceNode和DefaultNode构建的invocation tree 会一直存在内存中吗 ? 还是会有定期清理,如果一直存在内存中是否会有最大值之类的控制呢 ?
Beta Was this translation helpful? Give feedback.
All reactions