HashiCorp's Game of Life
summary
Implements Conway’s Game of Life using Nomad, Consul, Terraform and Go with each cell as its own process and rules applied locally. Prototype floods Nomad with API calls and overwhelms Consul DNS causing CPU and “server misbehaving” errors; final design replaces thousands of job creations with a single Nomad job that spawns groups, uses 300 cells per node, relies on Consul DNS over UDP tick tock for service discovery, and scales to over 2,000 jobs while reliably running glider gun demos.
AI-written summary · about
chapters (9)
- 0:00Introduction and motivation
- 2:18Project concept and goals
- 4:41Designing the architecture
- 6:47Infrastructure and tooling
- 8:50Scaling and system hurdles
- 12:55System optimization
- 16:06Logic and communication
- 18:55Live demo and results
- 22:29Q&A and closing thoughts
related talks
35mLiving the Nomadic life
44mNomad, orchestration made in HashiCorp
40mNomad: Scheduling Applications at Scale
41mEphemeral Apps with Chef, Terraform, Nomad, and Habitat
01h 11mCrack the monolith with Consul and Nomad
33mAbstracting Nomad: Patterns for Deploying to Nomad at Scale
27mNomad Best Practices for Reliable Deploys
13mAutomate an Observable Runtime with HashiCorp and Ansible
