Giter Site home page Giter Site logo

blue's Introduction

blue

组件

etcd

概念

分布式的CP的kv存储系统

对每个键值对都有过期时间,过期后会自动删除,但是可以通过续约来保持其存在

每次对一个键值对的值进行修改,就会给这个键值对对象的revision加1,这个revision是全局唯一的,可以用来判断这个键值对是否被修改过

revision可以理解成版本号,比如说我们创建一个键值对,就可以获取当前键值对对象的revision,然后我们可以通过这个revision+1来监听这个对象是否修改

常见api

  • range
  • put
  • deleteRange

blue's People

Contributors

taosu0216 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

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.