From Bash to Bliss: Scaling Vespa Operations with Temporal
Vinted replaced Bash scripts and Knife commands for maintaining a Vespa search fleet that grew from about a hundred to over a thousand nodes with durable workflows built on Temporal's Go SDK. They chose orchestration over event-driven choreography so that each upgrade (locking the Chef client, bumping versions, rolling restarts with health checks and limits on concurrent node outages) lives in a single deterministic workflow. Individual steps run as retryable activities with exponential backoff, and state survives interruptions without a separate tracking database. Upgrades now run automatically twice a month around holidays and traffic peaks, and Slack reporting, alerting and a self-service restart bot have cut most on-duty toil.
Related posts
- Introducing eve 1.0
Vercel easyNoviceeve 1.0, Vercel's open-source framework for production agents, is now generally available with a customizable harness (model, tools, subagents, approvals), durable execution via the Workflow SDK, multiplayer sessions across Slack and other channels, multi-tenant credentials and policies, cross-session memory, and OpenTelemetry-based tracing with per-destination redaction. Median hosted turn overhead fell from 3.036s to 414ms (p95 3.692s to 633ms) after Workflow spec 9 gave each run a single orchestrator, moved event writes to WebSockets and cut redundant history reads. Storing only changed conversation data between turns, referencing images instead of copying bytes, and reusing sandbox snapshots cut estimated Workflows cost for a 50-turn session by about 76%.
- Executing Cron Scripts Reliably At Scale
Slack Engineering mediumAdeptSlack replaced a single cron box running all scripts from one crontab with a distributed cron execution service built mostly from existing infrastructure. A Go "Scheduled Job Conductor" on Kubernetes (Bedrock) uses leader election so one pod schedules while standby pods wait to take over, and it avoids shutting down at the top of a minute. The heavy work is offloaded to Slack's Kafka/Redis-backed Job Queue, which runs about 9 billion jobs a day. A Vitess table records each run's state, replacing flock-based locking for deduplication and backing a status page for engineers. The team chose a single active scheduler over synchronizing multiple nodes because leader failover is fast and scripts don't execute on the scheduler itself.
- Tame Dependabot: Group your updates, slow the cadence, keep security fast
GitHub Engineering mediumAdeptGrouping Dependabot updates, moving the schedule from daily to monthly and covering every ecosystem actually used turns a steady stream of single-dependency pull requests into one batched PR per ecosystem per month. Microsoft's GCToolkit, where 92 of 578 commits were Dependabot bumps, made this change with about a dozen lines of `dependabot.yml`, including a wildcard `groups` pattern and a newly added `maven` entry. Security updates still open immediately, independent of the schedule, as long as security updates, alerts and the dependency graph are enabled. A new default three-day cooldown also holds back version updates for freshly published releases to reduce supply-chain risk, and is tunable via `cooldown`. Monorepos can collapse per-directory bumps using `directories` globs with `group-by: dependency-name`.
- How We Oops-Proofed Infrastructure Deletion on Railway
Railway mediumAdeptRailway now gives deleted persistent volumes a 48-hour grace period during which deletion can be undone, built on Temporal durable workflows. Committing an environment patch starts a workflow via signalWithStart. A delayed-deletion workflow marks the volume's deletedAt, notifies admins, then waits on a condition until a cancel signal arrives or the timeout expires. If cancelled, it restores the volume. Otherwise a child workflow with a 1-hour timeout tears down each instance through the router and compute host (ZFS recursive destroy) and then tombstones or hard-deletes the database records, with non-cancellable cleanup of the state on failure.
- Automating cherry-picks between OSS and private forks — PlanetScale
PlanetScale mediumAdeptPlanetScale replaced its weekly cron-based cherry-picking and its conflict-replaying git-replay tool with a stateful Vitess cherry-pick bot that continuously syncs OSS Vitess into a private fork. The bot runs hourly in GitHub Actions and stores state in a PlanetScale database. It fetches merged PRs with go-github and cherry-picks them from OSS main into private upstream, opening draft PRs labeled as conflicts when they don't apply cleanly. Backports to private latest-x.0 branches are triggered by labels. Weekly reconciliation checks flag missed cherry-picks, open PRs and non-backport merges, giving the team confidence to rely on the bot for over a year and a half.