三者异同点 | 组件名 | 编写语言 | CAP | 服务健康检查 | 对外暴露接口 | SpringCloud 集成 | | | | | | | | | Eureka | Java | AP | 可通过配置支持 | HTTP | 可集成 | | Consul | Golang | CP | 支持 ...
分类:
其他好文 时间:
2020-04-21 15:10:17
阅读次数:
72
Tuning failed, falling back to fixed sampling clock https://www.xilinx.com/support/answers/73079.html 2019.2 Zynq UltraScale+ MPSoC: PetaLinux ZCU106 ...
分类:
其他好文 时间:
2020-04-21 09:51:57
阅读次数:
134
字符串hash+二分答案 "Palindrome poj 3974" 求一个字符串的最长回文子串。 因为在学字符串hash,所以这里用二分答案和字符串hash来做,复杂度是O(N log N),据说manacher算法可以在O(N)解决这个问题,但是我还没学哈哈哈哈以后补吧 题解:枚举回文子串的中心 ...
分类:
其他好文 时间:
2020-04-20 21:27:55
阅读次数:
60
表数据如下 select * from business; business.name business.orderdate business.cost jack 2017-01-01 10 tony 2017-01-02 15 jack 2017-02-03 23 tony 2017-01-04 ...
分类:
其他好文 时间:
2020-04-19 19:32:42
阅读次数:
61
一个分布式系统最多只能同时满足一致性(Consistency)、可用性(Availability)和分区容错性(Partition tolerance)这三项中的两项。 Consistency 一致性是指 “all nodes see the same data at the same time.” ...
分类:
其他好文 时间:
2020-04-19 13:19:17
阅读次数:
70
This is the hard version of the problem. The difference is the constraint on the sum of lengths of strings and the number of test cases. You can make ...
分类:
编程语言 时间:
2020-04-18 14:10:40
阅读次数:
87
CAP理论 Consistency,一致性 是指所有节点在同一时刻的数据是相同的,即更新操作执行结束并响应用户完成后,所有节点存储的数据会保持相同。 Availability,可用性 是指系统提供的服务一直处于可用状态,对于用户的请求可即时响应。 Partition Tolerance,分区容错性 ...
分类:
其他好文 时间:
2020-04-17 16:09:39
阅读次数:
110
hive -e ' use bd; set hive.exec.max.dynamic.partitions.pernode=100; set hive.exec.dynamici.partition=true; set hive.exec.dynamic.partition.mode=nonstr ...
分类:
其他好文 时间:
2020-04-16 22:38:02
阅读次数:
109
晚上刚刚被媳妇骂,难过之余,还是要坚持继续写一篇kafka源码走读的博客,心情难过,原谅我开头发下牢骚。。。 源码版本依然是0.10.2.1,我们都知道,kafka在0.8版本前没有提供Partition的Replication机制,一旦Broker宕机,其上的所有Partition就都无法提供服务 ...
分类:
其他好文 时间:
2020-04-15 18:35:16
阅读次数:
81