edgar's recent timeline updates
edgar's repos on GitHub
Ruby · 5 watchers
semantic-rails
A bower package to make semantic works better with rails
Go · 2 watchers
FanfouStatusBakup
一个用于备份饭否消息的小工具。
Scheme · 2 watchers
sicp-codes
solution to sicp
Rust · 1 watchers
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 · 1 watchers
edgar_blog
A Simple Blog Built on Rails
Shell · 1 watchers
IKEv2-setup
Set up Ubuntu Server 16.10 as an IKEv2 VPN
C++ · 1 watchers
littlehttpd
A small http server. Inspired by boost's example. Just a toy.
Shell · 1 watchers
maglev
:monorail: A Tmux theme made to work together with Bullet train
CoffeeScript · 1 watchers
maze-game
A maze game writting with node-webkit
1 watchers
md-roam
Use Org-roam with markdown files by adding Md-roam as a plug-in. Mix and match org and markdown files.
Rust · 1 watchers
mini-lsm
A tutorial of building an LSM-Tree storage engine in a week! (WIP)
Rust · 0 watchers
jj-starship
Java · 0 watchers
langchain4j
Java version of LangChain
Python · 0 watchers
llm-toolkits
C · 0 watchers
opentelemetry-ebpf-profiler
The production-scale datacenter profiler (C/C++, Go, Rust, Python, Java, NodeJS, .NET, PHP, Ruby, Perl, ...)
0 watchers
raycast-extensions
Everything you need to extend Raycast.
Ruby · 0 watchers
ruby-china
ruby-china.org website source code.
Rust · 0 watchers
srv
A simple file download server
Ruby · 0 watchers
stringer
A [work-in-progress] self-hosted, anti-social RSS reader.
0 watchers
TDengine
An open-source big data platform designed and optimized for the Internet of Things (IoT).
Rust · 0 watchers
timestamp-cli
A naive timestamp formatter.
Rust · 0 watchers
totp-cli
A simple command line tool for generate totp tokens
Emacs Lisp · 0 watchers
zetteldeft
A Zettelkasten system! Or rather, some functions on top of the emacs deft package.
edgar

edgar

V2EX member #20603, joined on 2012-05-10 18:30:54 +08:00
Per edgar's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
edgar's recent replies
@JasonLaw 可以看看图里 “Rules for Servers” 里 leader 部分的最后一句。
Oct 25, 2021
Replied to a topic by JasonLaw 编程 Raft Consensus Algorithm - 会出现这样的 log 吗?
@JasonLaw term 3 中 server 1 已经投票给 server 2 了,这之后任何 term 低于 3 的请求都会被拒绝,即 server 1 会直接拒绝 server 0 发来的 term 为 2 的请求。
Oct 24, 2021
Replied to a topic by 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 。
Oct 24, 2021
Replied to a topic by JasonLaw 编程 Raft Consensus Algorithm - 会出现这样的 log 吗?
@JasonLaw 是可以的,可以获得 server 1, 2 的投票
Oct 24, 2021
Replied to a topic by 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 。
Aug 30, 2020
Replied to a topic by SachinBeyond 问与答 zookeeper 保证数据一致性的问题
网络失败和请求执行失败是不同的,网络失败时客户端需要不断重试。可以类比 leader 已经在整个集群里让客户端的请求达成一致,但是正在发送回复给客户端时 leader 挂了或者是客户端挂了。
Dec 22, 2016
Replied to a topic by chroming macOS 分享几个 Setapp 和即刻 3.0 邀请码
T2KAPH
UBXHCF
MSKTOG
Jun 12, 2016
Replied to a topic by Makoshan Android 看来 Google 已经决心使用 OpenJDK 开发 Android
JetBrains 在 Linux 和 Mac OS X 下前段时间开始就自带 JRE 了。 https://intellij-support.jetbrains.com/hc/en-us/articles/206544879
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3198 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 12:21 · PVG 20:21 · LAX 05:21 · JFK 08:21
♥ Do have faith in what you're doing.