Code Monkey home page Code Monkey logo

db's Introduction

About me ๐Ÿ‘‹

Interested in distributed systems (consensus, etcd, Kubernetes) and AI.

gyuho GitHub stats

gyuho GitHub Streak

gyuho GitHub Top Langs

Projects: Distributed Systems

Projects: Other

More

db's People

Contributors

gyuho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

db's Issues

Buffer IO for xlog/rotate

BenchmarkLogDefault-8        1000000          1717 ns/op          69 B/op          3 allocs/op
BenchmarkLogRotate-8             300       4913319 ns/op         101 B/op          3 allocs/op

Right now, Fdatasync takes most of the time in rotate logger. We need to optimize this by using bufio.Writer.

Document: Raft ยง6.3 Implementing linearizable semantics

How etcd, db handle Raft ยง6.3 Implementing linearizable semantics, p.70

This issue is not unique to Raft; it occurs in most stateful distributed systems. However, these
at-least-once semantics are particularly unsuitable for a consensus-based system, where clients typically need stronger guarantees. Problems from duplicated commands can manifest in subtle ways
that are difficult for clients to recover from. These problems cause either incorrect results, incorrect
states,

Consensus

  • raftwal
  • raftpb
  • raft
  • raftsnap
  • rafthttp
  • raft-example
  • raft-example snapshot
  • rafthttp in HTTP2/gRPC
  • multi-raft (raw node)
  • paxospb
  • paxos
  • paxosrpc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.