上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 82 下一页
摘要: 原文:https://www.jianshu.com/p/b9642f99d9cc CAP 定理(CAP theorem),又被称作布鲁尔定理(Brewer's theorem),它指出对于分布式计算系统来说,不可能同时满足以下三点: CAP 定理 一致性(Consistence) : 所有节点访问 阅读全文
posted @ 2020-09-23 10:58 lshan 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 原文:https://my.oschina.net/u/1540325/blog/688160 摘要 从使用场景的角度出发来介绍对ReentrantLock的使用,相对来说容易理解一些。 场景1:如果发现该操作已经在执行中则不再执行(有状态执行) a、用在定时任务时,如果任务执行时间可能超过下次计划 阅读全文
posted @ 2020-09-22 16:15 lshan 阅读(735) 评论(1) 推荐(0) 编辑
摘要: 转:https://blog.csdn.net/zl1zl2zl3/article/details/83714348 1、什么是CAS? CAS:Compare and Swap,即比较再交换。 jdk5增加了并发包java.util.concurrent.*,其下面的类使用CAS算法实现了区别于s 阅读全文
posted @ 2020-09-22 15:17 lshan 阅读(394) 评论(0) 推荐(0) 编辑
摘要: java中锁的介绍: https://www.cnblogs.com/jyroy/p/11365935.html 谈谈 synchronized 和 ReentrantLock 的区别(原文:https://www.jianshu.com/p/afc6ea1d15a6) ① 两者都是可重入锁 “可重 阅读全文
posted @ 2020-09-22 14:44 lshan 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 参考原文:https://blog.csdn.net/Sunhighlight/article/details/89044374 依赖: <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-star 阅读全文
posted @ 2020-09-18 11:36 lshan 阅读(2271) 评论(0) 推荐(0) 编辑
摘要: 原文url: https://my.oschina.net/guol/blog/891156 介绍 Presto是一个开源的分布式SQL查询引擎,适用于交互式分析查询,数据量支持GB到PB字节。Presto的设计和编写完全是为了解决像Facebook这样规模的商业数据仓库的交互式分析和处理速度的问题 阅读全文
posted @ 2020-09-18 11:17 lshan 阅读(944) 评论(0) 推荐(0) 编辑
摘要: 修改python version 、修改python的默认版本(python2和python3切换) 1)将系统的默认python版本由python2修改为python3.(Python3修改为python2类似) echo alias python=python3 >> ~/.bashrc 2)同 阅读全文
posted @ 2020-09-16 17:16 lshan 阅读(2055) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.51cto.com/14309075/2398796 在开发的过程中,我们难免会遇到各种jar包冲突,如果不掌握解决的办法,就会连连报错!下面推荐一个IDEA的插件 -- Maven Helper 安装有两种方式一种是IDEA自动安装,但是经过我IDEA 2017.0 阅读全文
posted @ 2020-09-09 13:55 lshan 阅读(403) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-09-08 17:25 lshan 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/u011098327/article/details/72865934 依赖: <dependency> <groupId>org.mongodb.spark</groupId> <artifactId>mongo-spark-connector_2 阅读全文
posted @ 2020-09-08 12:04 lshan 阅读(315) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 82 下一页