Higher order infrastructure: from Docker basics to cluster management
summary
A polyglot app (Python voting, Java worker, Node.js results) is packaged into containers and deployed across a five‑node cluster using Docker Machine, Docker Swarm and Docker Compose with Consul for discovery. Redis buffers votes, a worker migrates them into Postgres, and an engine x proxy automatically updates routing by watching swarm events. The demo shows zero‑IP deployment, overlay networking, TLS for swarm events, and a live scale from one to four result instances with traffic served successfully.
AI-written summary · about
chapters (38)
- 0:00Introduction
- 4:27Polyglot
- 6:20Micro services
- 7:42Cluster management
- 9:32Other problems
- 10:04Physical infrastructure
- 10:57What is Docker Swarm
- 11:28Docker Swarm Architecture
- 12:12Create physical infrastructure
- 13:42DrMachine
- 14:23Script
- 14:35Labels
- 15:38Run it now
- 16:08End result
- 16:40Master info
- 17:03Overview
- 17:57Deployment strategies
- 19:08Deploying services
- 19:52Docker Compose
- 20:12Docker Configuration
- 22:39Worker Configuration
- 22:59Redis and Postgres
- 23:33Dynamic proxy
- 23:58nginx proxy
- 24:58Where is my demo
- 25:16The trick to startup compose
- 25:30Anticlimactic startup
- 25:43Dark compose
- 26:37Results
- 27:09I wasnt cheating
- 28:05High availability and resilience
- 28:44Create a new machine
- 29:28Scale up
- 29:52Scale result
- 30:13Check result
- 30:55Reverse Proxy
- 31:32COC
- 32:48Questions
related talks
36mHigher Order Infrastructure - Microservices on the Docker Swarm
01h 18mEmbracing Docker simplicity - while harnessing platform power
39mHighly Available & Distributed Containers
37mLessons learned from dockerizing complex Web Apps
30mContainerizing legacy applications
52mLessons Learned from building out hyper scale cloud services using docker
01h 09mDocker in Production
51mDocker for developers and ops
