以下是我自己在部署k8s集群上做的一些记录,部署了一个master,一个node节点。 环境准备 我在VirtualBox中建的两个CentOS
以下主要使用Golang作为编程语言 为什么需要连接池 我觉得使用连接池最大的一个好处就是减少连接的创建和关闭,增加系统负载能力, 之前就有遇到一
一直很想自己用golang写个微信的sdk,目标是简单好用,所以利用闲暇时间(周末,中秋😁),就做出来。 项目地址:https://githu
Distributed Configuration Management Platform 提供了一个etcd的管理界面,可通过界面修改配置信息,借助confd可实现配置文件的同步。 dcmp image GITHUB:https://gith
一、执行流程 构建一个简单http server: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 package main import ( "log" "net/http" ) func main() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { w.Write([]byte("hello world")) }) log.Fatal(http.ListenAndServe(":8080", nil)) } 使用http://12
问题出现: 在元旦前夕,自己维护的一个服务突然在高峰时期收到大量报警,赶紧登上服务器看一下: 最开始的反应是memcache tcp read time out ,因为之前也