edgar 最近的时间轴更新
edgar's repos on GitHub
Ruby · 5 人关注
semantic-rails
A bower package to make semantic works better with rails
Scheme · 2 人关注
sicp-codes
solution to sicp
Go · 1 人关注
FanfouStatusBakup
一个用于备份饭否消息的小工具。
Rust · 0 人关注
databend
An elastic and reliable Cloud Data Warehouse, offers Blazing Fast Query and combines Elasticity, Simplicity, Low cost of the Cloud, built to make the Data Cloud easy
Ruby · 0 人关注
edgar_blog
A Simple Blog Built on Rails
Shell · 0 人关注
IKEv2-setup
Set up Ubuntu Server 16.10 as an IKEv2 VPN
C++ · 0 人关注
littlehttpd
A small http server. Inspired by boost's example. Just a toy.
Shell · 0 人关注
maglev
:monorail: A Tmux theme made to work together with Bullet train
CoffeeScript · 0 人关注
maze-game
A maze game writting with node-webkit
0 人关注
md-roam
Use Org-roam with markdown files by adding Md-roam as a plug-in. Mix and match org and markdown files.
Rust · 0 人关注
mini-lsm
A tutorial of building an LSM-Tree storage engine in a week! (WIP)
Ruby · 0 人关注
ruby-china
ruby-china.org website source code.
Rust · 0 人关注
srv
A simple file download server
Ruby · 0 人关注
stringer
A [work-in-progress] self-hosted, anti-social RSS reader.
0 人关注
TDengine
An open-source big data platform designed and optimized for the Internet of Things (IoT).
Rust · 0 人关注
timestamp-cli
A naive timestamp formatter.
Rust · 0 人关注
totp-cli
A simple command line tool for generate totp tokens
Emacs Lisp · 0 人关注
zetteldeft
A Zettelkasten system! Or rather, some functions on top of the emacs deft package.
edgar

edgar

V2EX 第 20603 号会员,加入于 2012-05-10 18:30:54 +08:00
根据 edgar 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
edgar 最近回复了
2021-10-28 23:14:03 +08:00
回复了 JasonLaw 创建的主题 程序员 Raft Consensus Algorithm - matchIndex[]的作用是什么?
@JasonLaw 可以看看图里 “Rules for Servers” 里 leader 部分的最后一句。
2021-10-25 22:27:46 +08:00
回复了 JasonLaw 创建的主题 编程 Raft Consensus Algorithm - 会出现这样的 log 吗?
@JasonLaw term 3 中 server 1 已经投票给 server 2 了,这之后任何 term 低于 3 的请求都会被拒绝,即 server 1 会直接拒绝 server 0 发来的 term 为 2 的请求。
2021-10-24 20:15:25 +08:00
回复了 JasonLaw 创建的主题 编程 Raft Consensus Algorithm - 会出现这样的 log 吗?
@JasonLaw 我不清楚这个视频是怎么解释的,这个 log 看着像是 raft 算法中保证 safety 的一个例子。对应的是不要“Committing entries from previous terms”,即 term 4 的 leader server 0 不能因为 index 3 已经复制到大多数节点就 apply 它,这里这个 index 3 的值可能因为 server 2 成为 term 5 的 leader 而被 overwritten 。
2021-10-24 19:54:28 +08:00
回复了 JasonLaw 创建的主题 编程 Raft Consensus Algorithm - 会出现这样的 log 吗?
@JasonLaw 是可以的,可以获得 server 1, 2 的投票
2021-10-24 19:05:25 +08:00
回复了 JasonLaw 创建的主题 编程 Raft Consensus Algorithm - 会出现这样的 log 吗?
term 1 看不出谁是 leader ,三个 server 都可能。
term 2 server 0 是 leader ,因为三个 server 都有可能成为 leader 。同时只在 server 0 上提交了 index 3 的 log entry ,但是还没有复制到其他 server 。
term 3 server 2 是 leader ,可以接受自己和 server 1 的投票。同时在 server 2 上提交了 index 3, 4, 5 的 log entry ,但是都没有复制到其他 server 。
term 4 server 0 是 leader ,可以接受 server 0 和 server 1 的投票。成为 leader 后,第一是将本地的 index 3 复制到 server 1 上,第二是本地提交了 index 4 的 log entry 。
2020-08-30 21:26:35 +08:00
回复了 SachinBeyond 创建的主题 问与答 zookeeper 保证数据一致性的问题
网络失败和请求执行失败是不同的,网络失败时客户端需要不断重试。可以类比 leader 已经在整个集群里让客户端的请求达成一致,但是正在发送回复给客户端时 leader 挂了或者是客户端挂了。
2016-12-22 09:53:59 +08:00
回复了 chroming 创建的主题 macOS 分享几个 Setapp 和即刻 3.0 邀请码
T2KAPH
UBXHCF
MSKTOG
2016-06-12 20:46:46 +08:00
回复了 Makoshan 创建的主题 Android 看来 Google 已经决心使用 OpenJDK 开发 Android
JetBrains 在 Linux 和 Mac OS X 下前段时间开始就自带 JRE 了。 https://intellij-support.jetbrains.com/hc/en-us/articles/206544879
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5623 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 06:00 · PVG 14:00 · LAX 23:00 · JFK 02:00
Developed with CodeLauncher
♥ Do have faith in what you're doing.