提交 8629af27 编写于 作者: L lbw

Introducing new features. close #I4O79L 使用 caffeine 替代 Spring Cloud...

 Introducing new features. close #I4O79L 使用 caffeine 替代 Spring Cloud LoadBalancer默认缓存实现提升性能
上级 9946c22d
...@@ -53,6 +53,11 @@ ...@@ -53,6 +53,11 @@
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-loadbalancer</artifactId> <artifactId>spring-cloud-starter-loadbalancer</artifactId>
</dependency> </dependency>
<!--caffeine 替换LB 默认缓存实现-->
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
</dependency>
<!--oauth server 依赖--> <!--oauth server 依赖-->
<dependency> <dependency>
<groupId>org.springframework.security</groupId> <groupId>org.springframework.security</groupId>
......
...@@ -63,6 +63,11 @@ ...@@ -63,6 +63,11 @@
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-loadbalancer</artifactId> <artifactId>spring-cloud-starter-loadbalancer</artifactId>
</dependency> </dependency>
<!--caffeine 替换LB 默认缓存实现-->
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
</dependency>
<!--验证码 源码: https://github.com/pig-mesh/easy-captcha --> <!--验证码 源码: https://github.com/pig-mesh/easy-captcha -->
<dependency> <dependency>
<groupId>com.pig4cloud.plugin</groupId> <groupId>com.pig4cloud.plugin</groupId>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册