摘要: AAAAAA 阅读全文
posted @ 2020-07-09 19:40 vitasy 阅读(78) 评论(0) 推荐(0) 编辑
摘要: Spark 多线程并行处理任务 阅读全文
posted @ 2020-07-09 17:08 vitasy 阅读(466) 评论(0) 推荐(0) 编辑
摘要: 一.为什么要进行分库分表 高并发,请求太多,扛不住了。(比如一台单机一般最好不要超过2000/s的QPS,高峰时期有8000QPS,这时候就要利用分库分表、消息中间件、数据库中间件、异步写来缓解服务器压力) 单机磁盘容量快满了 单表数据量太大,SQL越跑越慢 二. 分库分表中间件有哪些,优缺点 ​ 阅读全文
posted @ 2019-12-08 15:52 vitasy 阅读(185) 评论(0) 推荐(0) 编辑
摘要: HashMap的key最好不要存储对象,大部分环境都是String。 如果要存储对象,要注意重写下equal和hashcode方法!! 阅读全文
posted @ 2019-12-01 22:42 vitasy 阅读(3087) 评论(0) 推荐(2) 编辑
摘要: Given an array of non negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim 阅读全文
posted @ 2019-11-23 23:28 vitasy 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 11 阅读全文
posted @ 2019-11-17 11:37 vitasy 阅读(85) 评论(0) 推荐(0) 编辑
摘要: dd 阅读全文
posted @ 2019-11-17 11:36 vitasy 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 11 阅读全文
posted @ 2019-11-17 11:35 vitasy 阅读(86) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2019-11-17 10:49 vitasy 阅读(120) 评论(0) 推荐(0) 编辑
摘要: MYSQL优化实施方案:https://www.cnblogs.com/clsn/p/8214048.html 1. 对查询时经常用到的字段建立索引,如包含多个也可以构建复合索引,建立索引之后需要注意的一点是,查询时要确保和设计字段的格式是一致,如 这里USER_ID的类型是NUMBER,而实际设计 阅读全文
posted @ 2019-11-16 21:43 vitasy 阅读(197) 评论(0) 推荐(0) 编辑