Writing Clustered Applications with Windows PowerShell and...
summary
Claim: PowerShell can orchestrate true clustered apps by offloading membership, locks and queues to Apache Zookeeper. Demo uses a bundled zookeeper.net DLL and a Git module psh-zookeeper to create persistent, sequential and ephemeral nodes, run leader election, move tasks from /tasks to /assign, and have workers execute cmd payloads. The prototype runs on Windows (zk on 2181), distributes jobs across multiple workers with simple scheduling (get-random), and demonstrates automatic failover and reassignment when a worker disappears.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:20Planning
- 7:40Starting Zookeeper
- 11:00Zookeeper Persistent
- 19:48Zookeeper Events
- 24:22Create Master
- 25:53Master Logic
- 28:07Worker Watchers
- 30:59Scheduler
- 32:30Worker
- 33:14StartTask
- 34:14Send Task
- 36:36Practical Applications
related talks
01h 47mBuilding PowerShell Applications that Operate on a Planetary Scale
43mParallel Execution with PowerShell
43mPowerShell For Every System
01h 11mWorkshop - Automating for DevOps
49mPowerShell in CI/CD Pipelines: A Practical...
45mAgile Development of CakePHP Web Applications in a Hybrid Kubernetes Cluster
45mNew Shell in Town: Adventures in using PowerShell on Linux
01h 07mPowerShell: Designed for a Messy World
