Posts

Showing posts from June, 2014

Image/Environment build tools

Vagrant - creates VM dev/ops environments, i.e., VBox, VMware
Packer - creates cloud instance images using other tools like chef, puppet, ansible, etc.
Ansible - executes playbooks to install dependencies and configure OSs for specific purposes

Terraform - creates and manages environments across disparate IaaS providers, resolves dependencies and order creation and changes

Load Generators

Inexpensive Hosting Options

Low Latency Web

Low Latency Web

The following kernel parameters were changed to increase the number of ephemeral ports, reduce TIME_WAIT, increase the allowed listen backlog: echo "2048 64512" > /proc/sys/net/ipv4/ip_local_port_range echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse echo "10" > /proc/sys/net/ipv4/tcp_fin_timeout echo "65536" > /proc/sys/net/core/somaxconn echo "65536" > /proc/sys/net/ipv4/tcp_max_syn_backlogThe load generator is wrk, a scalable HTTP benchmarking tool.wrk -t 10 -c N -r 10m http://localhost:8080/index.html where N = number of connections. Apache Benchmarking tool

Service Discover and Configuration

Consul

Start consul on localhost with UI

consul agent -server -ui-dir /opt/consul/consul-ui-bootstrap-expect 1 -data-dir /tmp/consul

http://localhost:8500/ui/dist/#/dc1/services