01 2019 档案
摘要:[TOC] 参考: "https://coreos.com/etcd/" "https://coreos.com/etcd/docs/latest/demo.html" "etcd v3命令和API" "etcdv3与etcdv2特性比较" 1. 集群搭建(启动脚本) 2. 基本操作 2.1 end
阅读全文
摘要:参考: redis in action python import time import redis ONE_WEAK_IN_SECONDS=7 86400 VOTE_SCORE=432 def article_vote(conn, user, article): cutoff=time.time
阅读全文
摘要:参考: "https://github.com/google/cadvisor" "https://github.com/coreos/flannel" "https://github.com/etcd io/etcd" "https://github.com/kubernetes/kubernet
阅读全文
摘要:```
package main import ( "fmt" "net/http"
) type DB struct{ name string age int
} var gdb DB = DB{"catty",26} func get(w http.ResponseWriter, req *http.Request) { // The "/" pattern matches ...
阅读全文