This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# consul Startup script for consul | |
# | |
# chkconfig: - 94 16 | |
# processname: consul | |
# config: /etc/conusl.d | |
# config: /etc/sysconfig/consul | |
# pidfile: /var/run/consul.pid | |
# description: consul makes service discovery and configuration made easy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# consul-template Startup script for consul-template | |
# | |
# chkconfig: - 95 16 | |
# processname: consul | |
# config: /etc/conusl-template | |
# pidfile: /var/run/consul-template.pid | |
# description: consul-template queries a Consul instance and updates any number of specified templates on the filesystem. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "testing" | |
func BenchmarkChan1(b *testing.B) { | |
ch := make(chan int) | |
go func() { | |
for { | |
<-ch | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# サーバ | |
* サーバの種類を全部把握していること | |
* ストレージ容量、見積もり | |
* N+2構成になっているか | |
* サーバを更新する方法 | |
* リリースプロセスの確認 | |
# ネットワーク | |
* ネットワークQoS: 帯域、輻輳/制御、保証、回避 |
OlderNewer