Salt: The New Configuration Management System
summary
Shows how to implement long‑running PHP workers using Beanstalk + Redis for queues and state, with supervisor or solo to manage processes and Vagrant for a reproducible demo. Claims jobs are fast because Beanstalk is memory backed (optionally with a binary log for durability), uses JSON payloads, reserves with a 10s blocking wait, and workers use a max runtime ~1 hour plus jitter. Includes a live demo with 4–5 workers, code on GitHub, and practical performance tips that work in production.
AI-written summary · about
chapters (38)
- 0:00Introduction
- 1:13About Justin
- 2:57Blog
- 3:25Between Pages
- 5:36Large Sites
- 5:58PHP Worker
- 6:43Workflow
- 7:48Example
- 11:00Setting up Beanstalk
- 11:39Managing your workers
- 13:00Reporting
- 13:53Runtime
- 14:42Nanami
- 16:00Beanstalk
- 19:09Code
- 20:34Demo
- 21:54Warning
- 23:01Supervisor
- 23:37Run PHP
- 24:48Worker File
- 25:38Create New Worker
- 26:14Worker Hash
- 27:03Setup
- 27:29Worker Version
- 28:41Worker Status
- 29:43Queue
- 31:21Check Status
- 31:49Process Jobs
- 32:11Restart Jobs
- 32:34Get Job Details
- 33:18Push Job
- 34:01Restart Demo
- 35:04Solo
- 35:54Questions
- 38:24Individual Requests
- 38:39Queueing
- 39:33Logging Analytics
- 40:22Summary
related talks
29mLive Demo
51mBuilding Web Scale Using Open Source on the Internet Assembly Line
39mBeyond Open Source Configuration Management: Rapidly Building Any Cloud at Scale
58mIntroduction to
40mSalt: How to be Truly Lazy
51mApplication Stacks for the Modern World
42mCoding, Deploying, and Scaling with AWS
37mLessons learned from dockerizing complex Web Apps
