上一页 1 2 3 4 5 6 7 8 9 10 ··· 34 下一页
摘要: #缓存穿透 缓存穿透表示查询一个一定不存在的数据,由于没有获取到缓存,所以没写入缓存,导致这个不存在的数据每次都需要去数据库查询,失去了缓存的意义。 #缓存击穿 缓存击穿表示某个Key的缓存非常热门,有很高的并发一直在访问,如果该缓存失效,那同时会走数据库,压垮数据库。 #缓存雪崩 在高并发下,大量 阅读全文
posted @ 2020-08-29 19:45 alittlecomputer 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 标题 子标题 String obj = new String() 阅读全文
posted @ 2020-08-28 20:29 alittlecomputer 阅读(62) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/xsj_blog/article/details/79531083 阅读全文
posted @ 2020-08-07 21:51 alittlecomputer 阅读(85) 评论(0) 推荐(0) 编辑
摘要: namespace namespace中的包名要和接口的包名一致! select 选择,查询语句。 id对应namespace中的方法名。 resultType表示SQL语句的返回值。 parameterType表示传入的参数类型。 insert update delete 注意点:增删改需要提交事 阅读全文
posted @ 2020-08-07 00:49 alittlecomputer 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 小工具,有时间学习一下怎么使用。 阅读全文
posted @ 2020-08-01 17:44 alittlecomputer 阅读(85) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/cyleon/p/11046539.html 阅读全文
posted @ 2020-07-20 14:23 alittlecomputer 阅读(73) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/czlovezmt/p/9154604.html 阅读全文
posted @ 2020-07-18 22:14 alittlecomputer 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 一、背景 线程不安全的HashMap 因为多线程环境下,使用HashMap进行put操作会引起死循环,导致CPU利用率接近100%,所以在并发情况下不能使用HashMap。 效率低下的HashTable容器 HashTable容器使用的synchronized来保证线程安全,但是在线程竞争激烈的情况 阅读全文
posted @ 2020-07-16 00:10 alittlecomputer 阅读(454) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_36411874/article/details/79540026 阅读全文
posted @ 2020-07-02 11:49 alittlecomputer 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 代码: jdbc.properties driver=com.mysql.jdbc.Driver url=jdbc:mysql://localhost/library username=root password=logan123 #\u5B9A\u4E49\u521D\u59CB\u8FDE\u6 阅读全文
posted @ 2020-06-30 20:41 alittlecomputer 阅读(161) 评论(0) 推荐(0) 编辑
摘要: pom文件: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency> 阅读全文
posted @ 2020-06-29 19:45 alittlecomputer 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 代码: @ResponseBody @RequestMapping("/hello3/{hello}") public String hello3(@PathVariable String hello) { return hello; } 代码: package com.logan.SpringBo 阅读全文
posted @ 2020-06-29 16:43 alittlecomputer 阅读(83) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_41656025/article/details/98502786 阅读全文
posted @ 2020-06-23 13:56 alittlecomputer 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 今天开机后,从几分钟到半个小时之间,感觉机器反应有些慢,发现CPU占用80-90%。查看任务管理器, 有一个 software_reporter_tool.exe 的程序占用了一半的CPU使用率。 转到文件所在文件夹查看,发现是 Google Chrome 使用的一个文件。 查询该文件,发现 sof 阅读全文
posted @ 2020-06-21 15:24 alittlecomputer 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 代码如下: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel= 阅读全文
posted @ 2020-06-14 21:49 alittlecomputer 阅读(162) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 34 下一页