apolloconfig / apolloconfig/apollo
apollo-client与低版本spring使用时性能问题
Open
discussion
- Dominant language
- Java
- Stars
- 29.8k
- Forks
- 10.2k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 4
Description
apollo-client与spring 4.1以下版本使用时,ApolloAnnotationProcessor 依赖spring的AnnotationUtils来查找ApolloConfigChangeListener注解,spring在4.1版本之前,未对此方法的此注解进行缓存,导致apollo每次创建bean时(非单例的bean均可能触发,如果涉及使用struts2,性能会更差),均会去查找,进而导致此块的性能问题;
Contributor guide
Assessment
This issue has not been assessed yet.