greyireland / greyireland.github.io

博客首页
http://greyireland.github.io
11 stars 3 forks source link

etcd_intro | greyireland #2

Open greyireland opened 4 years ago

greyireland commented 4 years ago

https://greyireland.github.io/2019/10/07/framework/etcd-intro/#more

etcd 笔记 定义:分布式的 kv 存储系统 常用 API123456get keyput key valxxx=lease grant 60put key val —lease=xxxdelete keywatch key 过期时间lease 定义一个过期时长,多个 key 都可以绑定到这个 lease 上,lease 过期后会删除所有关联的 key keep-alive 让 lease

greyireland commented 4 years ago

gitalk 评论系统