07 2019 档案

Zookeeper——一致性协议:Zab协议
摘要:Reference: https://www.jianshu.com/p/2bceacd60b8a 什么是Zab协议 Zab 协议的作用 Zab 协议原理 Zab 协议核心 Zab 协议内容 原子广播 崩溃恢复 如何保证数据一致性 Zab 协议如何数据同步 如何处理需要丢弃的 Proposal Za 阅读全文

posted @ 2019-07-24 20:36 alex.shu 阅读(1166) 评论(1) 推荐(0) 编辑

Recursion
摘要:Reference: http://web.mit.edu/6.005/www/fa16/classes/14-recursion/ Objectives After today’s class, you should: be able to decompose a recursive proble 阅读全文

posted @ 2019-07-09 14:54 alex.shu 阅读(412) 评论(0) 推荐(0) 编辑

MySQL数据库事务各隔离级别加锁情况--read committed && MVCC
摘要:Reference: https://www.imooc.com/article/17290 可以很负责人的跟大家说,MySQL 中的此隔离级别不单单是通过加锁实现的,实际上还有repeatable read 隔离级别,其实这两个隔离级别效果的实现还需要一个辅助,这个辅助就是MVCC-多版本并发控制 阅读全文

posted @ 2019-07-05 10:56 alex.shu 阅读(2390) 评论(3) 推荐(2) 编辑

Linux下的零拷贝
摘要:Reference: https://segmentfault.com/a/1190000011989008 零拷贝是什么? 维基百科对“零拷贝”是这样描述的: "Zero-copy" describes computer operations in which the CPU does not p 阅读全文

posted @ 2019-07-02 17:37 alex.shu 阅读(1026) 评论(0) 推荐(0) 编辑

0-1背包问题
摘要:Reference: https://www.jianshu.com/p/a66d5ce49df5 问题描述: 0-1背包问题:给定n种物品和一背包。物品 i 的重量似乎 wi,其价值为 vi,背包的容量为 c。问应该如何选择装入背包中的物品,使得装入背包中物品的总价值最大? 说实在的,书上讲的东西 阅读全文

posted @ 2019-07-02 11:24 alex.shu 阅读(8930) 评论(0) 推荐(5) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示