一台计算机的称呼

2015-01-20
阅读 1 分钟
2.5k
首选还是 hostname,这里的 hostname,在互联网体系中,叫做 域名 domain, 有一个专门的系统来管理这件事儿—— DNS

高负载下 Apache 内存与进程的最佳实践

2015-01-19
阅读 1 分钟
3.1k
检查 Apache 是否运行在 prefork 的工作模式 {代码...} 查看当前每个进程所占用的内存 {代码...} RES column 是 Apache process 使用的内存量,左起第六列。 计算进程数 最大进程数 = Apache 所能消耗的内存总量 / 每个进程消耗内存量 设定相关参数 {代码...} restart apache 实际会在这个框架内,再控制进程。比如负...

理解基于 docker 的现代化的服务发现

2015-01-18
阅读 9 分钟
4.1k
Over the next few posts, I'm going to be exploring the concepts of service discovery in modern service-oriented architectures, specifically around Docker. Many people aren't familiar with service discovery, so I have to start from the beginning. In this post I'm going to be explaining the problem...