摘要: 下载源码 git clone https://github.com/postgres/postgres.git cd postgres git checkout REL_11_STABLE 编译安装 ./configure --prefix=/Users/oyld/work/pghome --ena 阅读全文
posted @ 2023-05-05 07:45 leo987 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 题目:http://nil.csail.mit.edu/6.824/2022/labs/lab-shard.html Part A: The Shard controller Hint: The code in your state machine that performs the shard r 阅读全文
posted @ 2023-02-15 22:16 leo987 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 题目:http://nil.csail.mit.edu/6.824/2022/labs/lab-kvraft.html Part A Part A主要有两个场景: 任务1:正常场景,没有消息丢失和节点失效 任务2:异常场景,例如server失效导致消息重发 Server层需要处理Raft协商开始之后 阅读全文
posted @ 2023-02-15 22:11 leo987 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 题目:http://nil.csail.mit.edu/6.824/2022/labs/lab-raft.html Part 2A: Leader election 为了防止所有节点同时发起选举形成活锁,节点的超时时间需要带有随机性,论文中推荐150~300ms: We recommend usin 阅读全文
posted @ 2023-02-15 22:10 leo987 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 题目:http://nil.csail.mit.edu/6.824/2022/labs/lab-mr.html TODO 阅读全文
posted @ 2023-02-15 22:08 leo987 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 购买阿里云OSS服务 参考这里。 创建AK/SK 参考这里。 npm换源 brew install node npm config set registry https://registry.npm.taobao.org npm config get registry npm install pic 阅读全文
posted @ 2023-02-09 00:26 leo987 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 标题:Apache BookKeeper Internals — Part 1 — High Level 原文:https://medium.com/splunk-maas/apache-bookkeeper-internals-part-1-high-level-6dce62269125 时间:2 阅读全文
posted @ 2022-12-10 10:18 leo987 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 标题:Apache BookKeeper Insights Part 2 — Closing Ledgers Safely 原文:https://medium.com/splunk-maas/apache-bookkeeper-insights-part-2-closing-ledgers-safe 阅读全文
posted @ 2022-12-10 10:04 leo987 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 第1章 神经网络如何工作 1.1 尺有所短,寸有所长 有些任务,对传统的计算机而言很简单,对人类而言却很难。例如,对数百万个数进行乘法运算。 另一方面,有些任务对传统的计算机而言很难,对人类而言却很容易。例如,从一群人的照片中识别出面孔。 1.2 一台简单的预测机 1.3 分类器与预测器并无太大差别 阅读全文
posted @ 2022-11-13 10:50 leo987 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 标题:Apache BookKeeper Insights Part 1 — External Consensus and Dynamic Membership 原文:https://medium.com/splunk-maas/apache-bookkeeper-insights-part-1-e 阅读全文
posted @ 2022-11-13 10:35 leo987 阅读(45) 评论(0) 推荐(0) 编辑