摘要: 1, 调用出rundashboard workspace.xml RunDashboard 标签中添加 <option name="configurationTypes"> <set> <option value="SpringBootApplicationConfigurationType" /> 阅读全文
posted @ 2021-06-04 14:07 月食岂是天狗错 阅读(36) 评论(0) 推荐(0) 编辑
摘要: github 开源的:自动生成Api 1,pom文件添加jar: <dependency> <groupId>io.github.yedaxia</groupId> <artifactId>japidocs</artifactId> <version>1.4.4</version></depende 阅读全文
posted @ 2021-04-09 11:19 月食岂是天狗错 阅读(194) 评论(0) 推荐(0) 编辑
摘要: redis 版本5.0.10 集群不再依赖ruby 互相ping: redis-cli.exe --cluster create 127.0.0.1:7000 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:8000 127.0.0.1:8001 127.0.0.1: 阅读全文
posted @ 2021-04-07 17:04 月食岂是天狗错 阅读(42) 评论(0) 推荐(0) 编辑
摘要: Spring Boot项目打包成war包配置 在pom.xml文件中,将打包方式改为war <packaging>war</packaging> 然后添加如下的Tomcat依赖配置,覆盖Spring Boot自带的Tomcat依赖 <dependency> <groupId>org.springfr 阅读全文
posted @ 2021-03-29 11:30 月食岂是天狗错 阅读(57) 评论(0) 推荐(0) 编辑
摘要: redis:当broker内存满时,删除键的策略。 1.定时删除键,轮询CPU 抢占资源, 2.惰性删除,获取键值得时候,先判断键是否已经过期,如过期删除键。 3.定期删除,每个一段时间删除,但怎么定义这个时间段是合适的呢,鸡肋。 redis缓存雪崩: 某个时间刻大量的键过期,导致访问DB,(或者r 阅读全文
posted @ 2019-11-13 15:59 月食岂是天狗错 阅读(38) 评论(0) 推荐(0) 编辑