Hey! I saw this has been indexed by the search engines. It is a first draft of a post I ended up publishing on my blog at: Scaling PostgreSQL With Pgpool and PgBouncer
Thanks for stopping by!
source 'https://rubygems.org' | |
gem 'berkshelf', '~> 3.3.0' | |
gem 'test-kitchen', '~> 1.4.2' | |
gem 'kitchen-vagrant', '~> 0.18.0' | |
gem 'rake', '>= 10.4.2' | |
gem 'foodcritic', '>= 5.0.0' | |
gem 'rubocop', '>= 0.34.1' | |
gem 'chefspec', '~> 4.3' | |
gem 'serverspec', '~> 2.23.1' |
.ONESHELL: | |
.PHONEY: help set-env init update plan plan-destroy show graph apply output taint | |
help: | |
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | |
set-env: | |
@if [ -z $(ENVIRONMENT) ]; then\ | |
echo "ENVIRONMENT was not set"; exit 10;\ | |
fi |
- What do Etcd, Consul, and Zookeeper do? | |
- Service Registration: | |
- Host, port number, and sometimes authentication credentials, protocols, versions | |
numbers, and/or environment details. | |
- Service Discovery: | |
- Ability for client application to query the central registry to learn of service location. | |
- Consistent and durable general-purpose K/V store across distributed system. | |
- Some solutions support this better than others. | |
- Based on Paxos or some derivative (i.e. Raft) algorithm to quickly converge to a consistent state. | |
- Centralized locking can be based on this K/V store. |
FROM alpine:3.3 | |
MAINTAINER Christopher Sexton <[email protected]> | |
ENV RUBY_VERSION 2.3.0 | |
ENV RUBY_DOWNLOAD_SHA1 96e620e38af351c8da63e40cfe217ec79f912ba1 | |
ENV BASE_PACKAGES bash curl gmp git | |
ENV BUILD_PACKAGES build-base libc-dev linux-headers openssl-dev postgresql-dev libxml2-dev libxslt-dev | |
RUN apk update && \ |
Hey! I saw this has been indexed by the search engines. It is a first draft of a post I ended up publishing on my blog at: Scaling PostgreSQL With Pgpool and PgBouncer
Thanks for stopping by!
variable "cluster-size" { | |
description = "Number of CoreOS machines to deploy" | |
} | |
variable "region" { | |
description = "AWS region in which to deploy" | |
default = "us-east-1" | |
} | |
variable "coreos-ami" { |
########### | |
# Variables | |
########### | |
variable "aws_key_name" { | |
default = "mykeypair" | |
} | |
variable "region" { | |
default = "eu-west-1" | |
} |
nginx/ | |
!nginx/.gitkeep | |
!nginx/logs/.gitkeep | |
src/ | |
tmp/ |
➜ terraform git:(master) ✗ terraform apply | |
vsphere_virtual_machine.web: Creating... | |
disk.#: "" => "1" | |
disk.0.size: "" => "40" | |
domain: "" => "vsphere.local" | |
memory: "" => "4096" | |
name: "" => "terraform_web" | |
network_interface.#: "" => "1" | |
network_interface.0.ip_address: "" => "<computed>" | |
network_interface.0.label: "" => "10.112.70.0" |