---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?per=96&tag=scheduling"
---

# Posts

Filtered by topics: Scheduling.

Posts 1–70 of 70, page 1 of 1, newest first.

## 2026-11-24

- [Durable and auditable workflows with DBOS and ClickHouse Managed Postgres](https://swe.quest/articles/durable-and-auditable-workflows-with-dbos-and-clickhouse-managed-postgres-84b2cf91df44a544.md): ClickHouse · 2026-11-24 · Medium · 6 min read · Event-driven architecture, PostgreSQL, Analytics & OLAP, Scheduling, Python
  DBOS, an open-source Postgres-native durable execution library, stores workflow and step checkpoints, queues and schedules in Postgres so crashed processes resume from the last completed step without a separate orchestrator.

## 2026-11-18

- [Why your fine-tuning job takes longer than the FLOPs say](https://swe.quest/articles/why-your-fine-tuning-job-takes-longer-than-the-flops-say-4c3aff3ac0fe1ddc.md): Hugging Face · 2026-11-18 · Hard · 9 min read · Model training, Scheduling, ML platforms, Machine learning, Capacity planning
  FLOP-based estimates of fine-tuning time (6·P·D divided by GPU throughput times MFU) explain little of real end-to-end duration: across 272 production SFT runs on shared H200 clusters (about 7,382 GPU-hours), the best MFU setting gives R² = 0.31 and a 12.41 h MAE, and the Calculon analytical model does worse.
- [How to Give Millions of Workflows Quality Sleep](https://swe.quest/articles/how-to-give-millions-of-workflows-quality-sleep-805d64c372b7c24e.md): DBOS · 2026-11-18 · Medium · 4 min read · Scheduling, PostgreSQL, Python
  DBOS workflow suspension lets a durable workflow that is sleeping or waiting for a notification (via \`suspend=True\` on \`DBOS.recv\` or \`DBOS.sleep\`) mark itself SUSPENDED in its database row, record a delay deadline and suspend key, and exit via a special exception, so it holds no thread, memory or queue slot.

## 2026-11-17

- [How to Build Proactive, Always-On Agents with the Schedules SDK in Managed Deep Agents](https://swe.quest/articles/how-to-build-proactive-always-on-agents-with-the-schedules-sdk-in-managed-deep-ff7565faac29c68c.md): LangChain · 2026-11-17 · Medium · 5 min read · AI agents, Scheduling, Python
  Many proactive, always-on agents rest on a simple mechanism: agent runs triggered as cron jobs.

## 2026-11-12

- [Sandbox resourcing: burst, don't reserve](https://swe.quest/articles/sandbox-resourcing-burst-don-t-reserve-6ee1eed03f706498.md): Modal · 2026-11-12 · Medium · 6 min read · Sandboxing & isolation, Cost optimization, Capacity planning, Scheduling, AI agents
  Modal Sandboxes default to a tiny guaranteed request (0.125 cores, 128 MiB) and burst into a shared pool of idle machine capacity, billed per second on actual use rather than a fixed peak reservation.

## 2026-11-10

- [Skipper, Airbnb’s embedded workflow engine, is now open source](https://swe.quest/articles/skipper-airbnb-s-embedded-workflow-engine-is-now-open-source-791f5d416d163001.md): Airbnb Engineering · 2026-11-10 · Medium · 6 min read · Scheduling, Distributed systems, Resilience, Java & JVM, Open source
  Airbnb has open-sourced Skipper under Apache 2.0, an embedded durable workflow engine for Java and Kotlin that runs inside a service and stores workflow state in the service's existing database, with no separate orchestration cluster.

## 2026-10-29

- [What's New in DBOS - October 2026](https://swe.quest/articles/what-s-new-in-dbos-october-2026-0574d68e693cec1d.md): DBOS · 2026-10-29 · Medium · 5 min read · Distributed systems, PostgreSQL, Scaling, Deployment, Scheduling
  DBOS Transact adds workflow rewind to any step, which discards checkpoints from that step onward and re-executes while preserving the workflow ID.

## 2026-10-15

- [Scaling ClickStack alerting with built-in anomaly detection](https://swe.quest/articles/scaling-clickstack-alerting-with-built-in-anomaly-detection-0c0fc37df93c769a.md): ClickHouse · 2026-10-15 · Medium · 10 min read · Observability, Scaling, Scheduling
  Managed ClickStack adds z-score anomaly detection to query-builder charts, computing the expected value from a 7-bucket one-minute moving average and the standard deviation over a longer baseline (two hours by default).

## 2026-10-14

- [Why Is My Kubernetes Job Still Pending? Tracing Kueue Admission with Headlamp](https://swe.quest/articles/why-is-my-kubernetes-job-still-pending-tracing-kueue-admission-with-headlamp-7f5d23bd7dc9a3f3.md): Kubernetes Blog · 2026-10-14 · Medium · 9 min read · Kubernetes, Scheduling, Debugging, Developer tools
  A pending Job in a Kueue-managed cluster is often waiting on Kueue admission, not kube-scheduler, so troubleshooting should start with the Workload's QuotaReserved and Admitted conditions before looking at Pods.

## 2026-10-01

- [Modal Clusters are generally available](https://swe.quest/articles/modal-clusters-are-generally-available-ac463de0f42a95b5.md): Modal · 2026-10-01 · Easy · 6 min read · Scheduling, Model training, Networking, Inference & serving, Serverless
  Modal Clusters, multi-node GPU groups requested via a single \`@modal.clustered(size=N, rdma=True)\` decorator, are now generally available with per-second billing and cluster acquisition in seconds.

## 2026-09-30

- [What's New in DBOS - September 2026](https://swe.quest/articles/what-s-new-in-dbos-september-2026-ade8f4b644e493f6.md): DBOS · 2026-09-30 · Medium · 7 min read · Scheduling, PostgreSQL, Multi-tenancy, AI agents, Capacity planning
  DBOS's September 2026 releases add partitioned fair queues that combine per-tenant limits with global and per-worker concurrency caps in a single queue, and new major versions (Python v3.0, TypeScript v5.0, Go v1.4, Java v1.1) that move workflow inputs and outputs into separate tables for better performance at scale.

## 2026-09-21

- [Open-Sourcing Rebalancer: A Generic, High-Performance Library for Solving Assignment Problems](https://swe.quest/articles/open-sourcing-rebalancer-a-generic-high-performance-library-for-solving-d79479af3daad1e0.md): Meta Engineering · 2026-09-21 · Medium · 8 min read · Algorithms, Scheduling, Open source, Datacenters, Performance engineering
  Meta has open-sourced Rebalancer, an assignment-problem solver used for nine years to place hardware, services, tasks and traffic across its infrastructure.
- [Your Neon Functions can now run on a schedule](https://swe.quest/articles/your-neon-functions-can-now-run-on-a-schedule-72b4a206b2b5554b.md): Neon · 2026-09-21 · Medium · 5 min read · Serverless, PostgreSQL, Scheduling
  Neon Function Triggers let Neon invoke a deployed Node.js function on a cron schedule.

## 2026-09-10

- [Kubernetes v1.37: Scheduler Preemption for In-Place Pod Resize (Alpha)](https://swe.quest/articles/kubernetes-v1-37-scheduler-preemption-for-in-place-pod-resize-alpha-876ab10ec3060b0b.md): Kubernetes Blog · 2026-09-10 · Medium · 9 min read · Kubernetes, Scheduling, Capacity planning
  Kubernetes v1.37 adds alpha scheduler preemption for in-place Pod resize behind the InPlacePodVerticalScalingSchedulerPreemption feature gate.

## 2026-09-08

- [Kubernetes v1.37: Advancing Workload-Aware Scheduling](https://swe.quest/articles/kubernetes-v1-37-advancing-workload-aware-scheduling-ae1f6d242ffec17d.md): Kubernetes Blog · 2026-09-08 · Hard · 15 min read · Kubernetes, Scheduling, ML platforms
  Kubernetes v1.37 promotes the Workload and PodGroup APIs (gang scheduling), workload-aware preemption and shared DRA ResourceClaims for PodGroups to Beta.

## 2026-09-03

- [Kubernetes v1.37: DRA Updates](https://swe.quest/articles/kubernetes-v1-37-dra-updates-eaa100a22253245f.md): Kubernetes Blog · 2026-09-03 · Hard · 6 min read · Kubernetes, Scheduling, Hardware
  Kubernetes 1.37 graduates DRA Extended Resource support to GA, letting DRA drivers satisfy classic extended-resource requests like \`example.com/gpu\` through a DeviceClass so existing workloads migrate without changes.

## 2026-08-27

- [DBOS Product Update August 2026](https://swe.quest/articles/dbos-product-update-august-2026-1554fe305b485227.md): DBOS · 2026-08-27 · Medium · 5 min read · Scheduling, PostgreSQL, Multi-tenancy, Go, Observability
  DBOS's August 2026 update brings roughly 10x higher throughput for partitioned queues, achieved through more efficient indexes, batched dequeues across partitions, and a faster replacement for a SELECT DISTINCT query that bottlenecked at scale.

## 2026-08-17

- [Same Cluster, 33 Points More Utilization: What Changed Was the Order](https://swe.quest/articles/same-cluster-33-points-more-utilization-what-changed-was-the-order-b3fd7e12cbfd3ecc.md): Hugging Face · 2026-08-17 · Hard · 13 min read · Scheduling, ML platforms, Inference & serving, Capacity planning, Algorithms
  A constraint-aware GPU allocator beat a FIFO scheduler on identical hardware and workloads across seven scenarios, raising utilization by up to 33 percentage points and priority-weighted output by up to 105%.

## 2026-08-02

- [AssemblyAI: A voice agent can fail without throwing an error](https://swe.quest/articles/assemblyai-a-voice-agent-can-fail-without-throwing-an-error-754d94c60f639ab7.md): Render · 2026-08-02 · Medium · 5 min read · Speech & audio, Evaluation, Observability, Scheduling, AI agents
  A post-hoc quality pipeline for production voice agents re-transcribes each recorded call with AssemblyAI's async Universal 3 Pro model, summarizes it and scores it against a failure rubric via LLM Gateway, then synthesizes fleet-wide findings against deployment history.

## 2026-07-29

- [Infrastructure patterns for agentic applications](https://swe.quest/articles/infrastructure-patterns-for-agentic-applications-ae04a737545ff7c9.md): Render · 2026-07-29 · Medium · 12 min read · AI agents, Resilience, Scheduling, Queues & messaging, System design
  Agents are long-running, stateful and non-deterministic, so running them inside an HTTP request handler breaks in production.
- [ThunderAgent: 2x Faster Agentic Inference for Synthetic Data Generation at Scale](https://swe.quest/articles/thunderagent-2x-faster-agentic-inference-for-synthetic-data-generation-at-scale-7560ef73731954d5.md): Together AI · 2026-07-29 · Hard · 6 min read · Inference & serving, AI agents, Scheduling, Performance engineering, LLMs
  ThunderAgent is a scheduling layer between agent clients and inference backends that treats each multi-turn agentic workflow as a schedulable program instead of independent requests, preventing KV cache thrashing when agents pause for tool calls.

## 2026-07-16

- [Scaling to 1 million concurrent sandboxes in seconds](https://swe.quest/articles/scaling-to-1-million-concurrent-sandboxes-in-seconds-44dad4f83cd974c1.md): Modal · 2026-07-16 · Medium · 10 min read · Scheduling, Scaling, Sandboxing & isolation, Distributed systems, Containers
  Modal rebuilt its sandbox control plane to run 1 million concurrent sandboxes, creating all of them in under a minute, by removing central coordination and durable stores from the creation path.

## 2026-07-15

- [New in Together GPU Clusters: Reliability and control for production GPU clusters](https://swe.quest/articles/new-in-together-gpu-clusters-reliability-and-control-for-production-gpu-clusters-0d510ff305711e6d.md): Together AI · 2026-07-15 · Easy · 9 min read · Kubernetes, Scheduling, Model training, Identity & auth, Observability
  Together GPU Clusters adds passive health checks that continuously watch live workloads for GPU bus drops, Xid errors, thermal throttling and Slurm drains, paired with human-approved node repair actions (reboot, reprovision, failover, remove).

## 2026-06-24

- [Spotlight on WG Device Management](https://swe.quest/articles/spotlight-on-wg-device-management-1188ea673d6c29b4.md): Kubernetes Blog · 2026-06-24 · Easy · 16 min read · Kubernetes, Scheduling, Hardware, Open source
  Kubernetes' Device Management Working Group built Dynamic Resource Allocation (DRA), now GA since 1.34, to replace the Device Plugin API's opaque integer device counts with a structured model of modeling (ResourceSlice), requesting (ResourceClaim), scheduling and actuation.

## 2026-05-13

- [Kubernetes v1.36: Advancing Workload-Aware Scheduling](https://swe.quest/articles/kubernetes-v1-36-advancing-workload-aware-scheduling-00f8e4f9a7ae7e81.md): Kubernetes Blog · 2026-05-13 · Hard · 13 min read · Kubernetes, Scheduling, ML platforms
  Kubernetes v1.36 splits workload scheduling into a static Workload template and a runtime PodGroup API (scheduling.k8s.io/v1alpha2). kube-scheduler gains a PodGroup scheduling cycle that snapshots cluster state once and places or rejects a whole group atomically, which is the basis for gang scheduling.

## 2026-05-11

- [Building Blocks for Foundation Model Training and Inference on AWS](https://swe.quest/articles/building-blocks-for-foundation-model-training-and-inference-on-aws-788daf28b6ff2749.md): Hugging Face · 2026-05-11 · Hard · 20 min read · Model training, Hardware, Cloud platforms, Scheduling, Networking
  Foundation-model pre-training, post-training and test-time inference now converge on the same infrastructure needs: tightly coupled accelerators, high-bandwidth low-latency networking, tiered distributed storage, orchestration and observability.

## 2026-05-07

- [Kubernetes v1.36: More Drivers, New Features, and the Next Era of DRA](https://swe.quest/articles/kubernetes-v1-36-more-drivers-new-features-and-the-next-era-of-dra-4c45f2c4f5da1f6d.md): Kubernetes Blog · 2026-05-07 · Hard · 6 min read · Kubernetes, Hardware, Scheduling
  Kubernetes v1.36 graduates several Dynamic Resource Allocation features: prioritized device lists go stable, and extended resource support, partitionable devices, device taints, binding conditions and resource health status reach beta.

## 2026-05-05

- [From SSH to REST: A Security-Driven Modernization of Slack’s EMR Data Pipelines](https://swe.quest/articles/from-ssh-to-rest-a-security-driven-modernization-of-slack-s-emr-data-pipelines-36e08660699cdbd7.md): Slack Engineering · 2026-05-05 · Medium · 13 min read · Data pipelines, Security, Refactoring & migrations, Cloud platforms, Scheduling
  Slack replaced 700+ SSH-based Airflow operators that ran jobs directly on EMR master nodes with REST-based submission through Quarry, its internal job gateway.

## 2026-04-27

- [An open-source spec for orchestration: Symphony](https://swe.quest/articles/an-open-source-spec-for-orchestration-symphony-d72167ccbacd436c.md): OpenAI · 2026-04-27 · Medium · 45 min read · AI agents, AI for coding, Developer productivity, Scheduling
  Symphony is an open-source, language-agnostic spec for an agent orchestrator that turns a Linear issue board into a control plane for Codex coding agents.

## 2026-04-21

- [Capacity without conflict: A guide to multi-tenant GPU cluster design for AI-native teams](https://swe.quest/articles/capacity-without-conflict-a-guide-to-multi-tenant-gpu-cluster-design-for-ai-c2f29c5aa8b2d044.md): Together AI · 2026-04-21 · Easy · 6 min read · Multi-tenancy, Hardware, Scheduling, Kubernetes, ML platforms
  Multi-tenant GPU clusters pool hardware at a shared infrastructure layer (central control plane, shared storage, InfiniBand east/west and Ethernet north/south fabric) while giving each team dedicated GPU nodes, storage PVCs, credentials and its own orchestration layer such as Kubernetes or Slurm.

## 2026-03-04

- [Cache-aware prefill–decode disaggregation (CPD) for up to 40% faster long-context LLM serving](https://swe.quest/articles/cache-aware-prefill-decode-disaggregation-cpd-for-up-to-40-faster-long-context-7f727a0ea889f194.md): Together AI · 2026-03-04 · Hard · 9 min read · Inference & serving, Caching, LLMs, Performance engineering, Scheduling
  Cache-aware prefill–decode disaggregation (CPD) extends standard PD serving with a dedicated pre-prefill tier for low-reuse (cold) long prompts, a router that estimates prefix-cache reuse per request, and a three-level KV cache hierarchy (GPU memory, host DRAM, RDMA-connected distributed cache).

## 2026-02-11

- [Scheduling in a changing world: Maximizing throughput with time-varying capacity](https://swe.quest/articles/scheduling-in-a-changing-world-maximizing-throughput-with-time-varying-capacity-d2823a7d4e628d27.md): Google Research · 2026-02-11 · Hard · 6 min read · Scheduling, Algorithms
  Non-preemptive scheduling under a time-varying capacity profile, where leftover capacity after high-priority tasks fluctuates, gets its first constant-factor approximation algorithms for throughput maximization.

## 2026-01-26

- [SkyPilot at Shopify: Multi-cloud GPUs without the pain](https://swe.quest/articles/skypilot-at-shopify-multi-cloud-gpus-without-the-pain-4e974636618c8521.md): Shopify Engineering · 2026-01-26 · Medium · 6 min read · ML platforms, Kubernetes, Scheduling, Cloud platforms, Cost optimization
  Shopify runs all ML training through SkyPilot as a launcher onto persistent Kubernetes clusters on Nebius and GCP, with a custom policy plugin that intercepts every request to validate labels, route jobs and inject configuration.

## 2026-01-21

- [From Bash to Bliss: Scaling Vespa Operations with Temporal](https://swe.quest/articles/from-bash-to-bliss-scaling-vespa-operations-with-temporal-fa0dde1673c9ecfb.md): Vinted Engineering · 2026-01-21 · Medium · 4 min read · Scheduling, Search, Resilience, SRE, Go
  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.

## 2025-12-29

- [Orchestrating Success](https://swe.quest/articles/orchestrating-success-66bb3bb5fc88069f.md): Vinted Engineering · 2025-12-29 · Medium · 9 min read · Data pipelines, Scheduling, Developer productivity
  Vinted replaced hand-written, layer-per-task Airflow DAGs with a generator that reads the dbt manifest and unfolds each domain's lineage into one Airflow task per dbt model, so a failing model only blocks its true downstream dependents.

## 2025-12-10

- [How we Use Dagster Automations in our Data Pipeline](https://swe.quest/articles/how-we-use-dagster-automations-in-our-data-pipeline-b3c1ffaf0bb22c62.md): FreeAgent Engineering · 2025-12-10 · Medium · 5 min read · Data pipelines, Scheduling
  FreeAgent's data team, migrating pipelines to Dagster, uses Schedules for assets with no upstream trigger (such as API extracts) and Declarative Automation as the default for everything else.

## 2025-11-26

- [Run Scheduled and Recurring Tasks with Cron](https://swe.quest/articles/run-scheduled-and-recurring-tasks-with-cron-ca49b6813f0599a8.md): Railway · 2025-11-26 · Medium · 10 min read · Scheduling, Deployment, PostgreSQL
  Cron runs commands on time-based schedules but keeps no job history, has no retries and does no concurrency control, so reliability depends on the job itself.

## 2025-11-25

- [Incident Report: November 25th, 2025](https://swe.quest/articles/incident-report-november-25th-2025-0f5ac3667ca5f9ba.md): Railway · 2025-11-25 · Medium · 3 min read · Incidents & postmortems, Resilience, Scheduling
  Slow GitHub API calls (about 4x normal p95 latency) during peak hours backed up Railway's Temporal-based task queue, causing workers to run out of memory and crash in a cascading thundering-herd pattern as surviving and newly started workers were overwhelmed by the backlog.

## 2025-11-21

- [20x Faster TRL Fine-tuning with RapidFire AI](https://swe.quest/articles/20x-faster-trl-fine-tuning-with-rapidfire-ai-9a83eb84953b1723.md): Hugging Face · 2025-11-21 · Medium · 5 min read · Model training, LLMs, Scheduling, Python
  Hugging Face TRL now integrates RapidFire AI, which runs multiple SFT, DPO or GRPO fine-tuning configurations concurrently, even on a single GPU.

## 2025-09-16

- [Processing large jobs with Edge Functions, Cron, and Queues](https://swe.quest/articles/processing-large-jobs-with-edge-functions-cron-and-queues-07d70dfaed40c250.md): Supabase · 2025-09-16 · Medium · 8 min read · Serverless, Data pipelines, PostgreSQL, Resilience, Scheduling
  Large data-processing jobs on Supabase can be split into a three-layer pipeline: cron-triggered Edge Functions collect work, distributor jobs route it into per-source Postgres queue tables, and specialized workers process one item at a time to stay within serverless timeouts.

## 2025-08-28

- [How We Oops-Proofed Infrastructure Deletion on Railway](https://swe.quest/articles/how-we-oops-proofed-infrastructure-deletion-on-railway-29c48b4679aeb3a6.md): Railway · 2025-08-28 · Medium · 9 min read · Scheduling, Storage systems, Resilience, TypeScript
  Railway now gives deleted persistent volumes a 48-hour grace period during which deletion can be undone, built on Temporal durable workflows.

## 2025-07-14

- [How to fix missing table errors in pg\_cron](https://swe.quest/articles/how-to-fix-missing-table-errors-in-pg-cron-3e70d0e00b3759de.md): Neon · 2025-07-14 · Medium · 8 min read · PostgreSQL, Scheduling, SQL
  pg\_cron stores scheduled jobs as raw SQL text, separate from Postgres' system catalogs, so dropping a table leaves jobs that fail every run with "relation does not exist" and fill cron.job\_run\_details with errors.

## 2025-06-12

- [How Long Prompts Block Other Requests - Optimizing LLM Performance](https://swe.quest/articles/how-long-prompts-block-other-requests-optimizing-llm-performance-d2ca64ef1cd69733.md): Hugging Face · 2025-06-12 · Hard · 7 min read · Inference & serving, LLMs, Performance engineering, Scheduling
  Under vLLM's default chunked-prefill scheduling, a single long prompt blocks the prefill queue, and any prefill running alongside decodes slows token generation for requests already in progress.

## 2025-04-02

- [Efficient Request Queueing – Optimizing LLM Performance](https://swe.quest/articles/efficient-request-queueing-optimizing-llm-performance-446db76df458bc3d.md): Hugging Face · 2025-04-02 · Medium · 8 min read · Inference & serving, Scheduling, Resilience, LLMs, Multi-tenancy
  Putting a gateway ("LLM-Server") in front of vLLM or TGI with per-user, per-model queues and round-robin scheduling keeps power users from starving others, which the engine's FIFO queue cannot do once requests reach it.
- [Make Before Break - Faster Scaling Mechanics for ClickHouse Cloud](https://swe.quest/articles/make-before-break-faster-scaling-mechanics-for-clickhouse-cloud-160bec81b6592a0e.md): ClickHouse · 2025-04-02 · Medium · 17 min read · Kubernetes, Scaling, Deployment, Scheduling, Analytics & OLAP
  ClickHouse Cloud replaced rolling-restart vertical scaling with Make-Before-Break (MBB) scaling: new, correctly sized replicas are added before old ones are removed.

## 2024-12-10

- [Running Durable Workflows in Postgres using DBOS](https://swe.quest/articles/running-durable-workflows-in-postgres-using-dbos-758f463809fa3e9f.md): Supabase · 2024-12-10 · Medium · 4 min read · PostgreSQL, Scheduling, Resilience, Serverless
  DBOS implements durable workflows entirely in Postgres: workflow and step decorators record a workflow's ID, inputs and status in a workflow\_status table and each step's output in operation\_outputs, all within a separate system database.

## 2024-08-21

- [Incident Review: Pageserver outage in us-east-1](https://swe.quest/articles/incident-review-pageserver-outage-in-us-east-1-0597b32138c02b21.md): Neon · 2024-08-21 · Medium · 6 min read · Incidents & postmortems, Resilience, Distributed databases, PostgreSQL, Scheduling
  A sudden EC2 instance failure took down a Neon pageserver in us-east-1, leaving about 0.4% of projects unable to read uncached pages for 30 minutes to 2 hours.

## 2024-07-18

- [Building On-call: Time, timezones, and scheduling](https://swe.quest/articles/building-on-call-time-timezones-and-scheduling-f978980b35f41e6a.md): incident.io · 2024-07-18 · Medium · 11 min read · Time & clocks, Scheduling, Testing, PostgreSQL, Go
  incident.io's on-call scheduler computes who is on shift from rotations with working hours, round-robin handovers and overrides, and getting it right depends on being precise about local time, offsets, IANA timezones, instants and durations.

## 2024-06-20

- [Run GPU jobs from Airflow with Modal](https://swe.quest/articles/run-gpu-jobs-from-airflow-with-modal-53fdd2aef1aa5c6f.md): Modal · 2024-06-20 · Medium · 7 min read · Data pipelines, Scheduling, Serverless, Python, ML platforms
  Airflow DAGs can offload GPU-heavy tasks to Modal instead of standing up Celery or Kubernetes executors, using a two-step pipeline that scrapes Reddit ELI5 questions and answers them with an LLM as the example.

## 2024-06-11

- [Incident Report: June 11th, 2024](https://swe.quest/articles/incident-report-june-11th-2024-9cee66de3a3331a6.md): Railway · 2024-06-11 · Medium · 4 min read · Incidents & postmortems, Scheduling, Resilience, Cloud platforms
  A buggy host-migration workflow that issued a redeploy per replica rather than per deployment coincided with normal deploys, hourly crons and failed European placements, quadrupling load on an IO-heavy machine status endpoint that the scheduler polls across all regions.

## 2024-05-08

- [Incident Report: May 4th, 2024](https://swe.quest/articles/incident-report-may-4th-2024-b8a15a36661e2277.md): Railway · 2024-05-08 · Medium · 6 min read · Incidents & postmortems, Multi-tenancy, Capacity planning, Scheduling, Linux
  A single self-service customer workload deployed multiple memory-hungry replicas into Railway's smallest region, Asia-Southeast, and exhausted its memory.

## 2024-05-02

- [Automating the Klarna Card Ownership Fees System using AWS Step Functions](https://swe.quest/articles/automating-the-klarna-card-ownership-fees-system-using-aws-step-functions-c726ac59ac2b16c2.md): Klarna Engineering · 2024-05-02 · Medium · 8 min read · Cloud platforms, Infrastructure as code, Scheduling, Payments & fintech, TypeScript
  Klarna replaced a manual, roughly three-business-day monthly routine for charging Klarna Card ownership fees with a scheduled AWS Step Functions workflow.

## 2024-04-25

- [Exploring Support Tooling at Supabase: A Dive into SLA Buddy](https://swe.quest/articles/exploring-support-tooling-at-supabase-a-dive-into-sla-buddy-85261d9d45d8b13f.md): Supabase · 2024-04-25 · Medium · 8 min read · PostgreSQL, Serverless, Scheduling, SQL
  SLA Buddy is Supabase's internal support-ticket SLA enforcer, built almost entirely in Postgres with Edge Functions.

## 2023-10-12

- [Saving Millions of Dollars by Bin-Packing ClickHouse Pods in AWS EKS](https://swe.quest/articles/saving-millions-of-dollars-by-bin-packing-clickhouse-pods-in-aws-eks-dd42beab98fa8427.md): ClickHouse · 2023-10-12 · Medium · 9 min read · Kubernetes, Cost optimization, Scheduling, Cloud platforms, Capacity planning
  ClickHouse Cloud raised EKS cluster CPU utilization from about 50% to 70% by switching the Kubernetes scheduler's NodeResourcesFit scoring from LeastAllocated to MostAllocated, cutting node count by roughly 10% and EC2 cost by over 20%.

## 2023-09-28

- [Executing Cron Scripts Reliably At Scale](https://swe.quest/articles/executing-cron-scripts-reliably-at-scale-300d2911de10f9b3.md): Slack Engineering · 2023-09-28 · Medium · 5 min read · Scheduling, System design, Kubernetes, Go, Queues & messaging
  Slack replaced a single cron box running all scripts from one crontab with a distributed cron execution service built mostly from existing infrastructure.

## 2023-09-27

- [So You Think You Can Scale?](https://swe.quest/articles/so-you-think-you-can-scale-8f8ef734834859da.md): Railway · 2023-09-27 · Medium · 7 min read · Load balancing, Scaling, Scheduling, DNS, Cloud platforms
  Railway services can now be horizontally scaled with a single replica-count setting, with automatic load balancing over public and private networks, failover between replicas, and replicas spread across multiple machines.

## 2023-08-29

- [Scheduling Jupyter Notebooks at Meta](https://swe.quest/articles/scheduling-jupyter-notebooks-at-meta-0caaff9caa37a0f3.md): Meta Engineering · 2023-08-29 · Medium · 5 min read · Data pipelines, Scheduling, Privacy, Python
  Meta schedules Bento (Jupyter) notebooks through a custom Dataswarm operator, BentoOperator, which keeps data lineage visible and privacy enforced even though notebook code is arbitrary.

## 2023-07-19

- [How we built the Internal Data Warehouse at ClickHouse](https://swe.quest/articles/how-we-built-the-internal-data-warehouse-at-clickhouse-d3d7520881242252.md): ClickHouse · 2023-07-19 · Medium · 16 min read · Analytics & OLAP, Data pipelines, System design, Identity & auth, Scheduling
  ClickHouse's internal data warehouse ingests tens of sources (Control Plane, Data Plane, AWS CUR, GCP billing, Salesforce, M3ter and others) into S3 hourly, then loads them into ClickHouse Cloud with the s3 table function and transforms them in SQL.

## 2023-04-07

- [Building Real-time Analytics Apps with ClickHouse and Hex](https://swe.quest/articles/building-real-time-analytics-apps-with-clickhouse-and-hex-28d6bbb0cc85e5a5.md): ClickHouse · 2023-04-07 · Medium · 15 min read · Analytics & OLAP, Data pipelines, Scheduling, Consistency models
  ClickHouse's git-import tool was run across the 50k most-starred GitHub repositories using a queue-worker model, with the job queue implemented as a KeeperMap table instead of an external queue like SQS.

## 2023-03-28

- [Avoiding Kubernetes Pod Topology Spread Constraint Pitfalls](https://swe.quest/articles/avoiding-kubernetes-pod-topology-spread-constraint-pitfalls-e98998a6a64fb2aa.md): Wise Engineering · 2023-03-28 · Medium · 6 min read · Kubernetes, Scheduling, Resilience, Deployment
  Kubernetes Pod Topology Spread Constraints with a naive LabelSelector (e.g. just the app label) can produce heavy zone skew during rolling updates, because kube-scheduler counts Pods from both old and new ReplicaSets and never rebalances when old Pods are randomly terminated.

## 2023-03-22

- [Cron Jobs with Django and GitHub Actions](https://swe.quest/articles/cron-jobs-with-django-and-github-actions-51c1dc05687de3cc.md): Railway · 2023-03-22 · Medium · 2 min read · CI/CD, Python, Scheduling
  Scheduled Django management commands can run against a Railway project by using a GitHub Actions workflow on a cron schedule.

## 2023-01-31

- [Asynchronous computing at Meta: Overview and learnings](https://swe.quest/articles/asynchronous-computing-at-meta-overview-and-learnings-38025981fbc83823.md): Meta Engineering · 2023-01-31 · Medium · 10 min read · Serverless, Queues & messaging, Scheduling, Distributed systems, System design
  Meta re-architected Async tier, its serverless asynchronous computing platform running multi-trillion workloads per day, by splitting an overloaded Dispatcher into data-source-specific "tailers" and a source-agnostic scheduler.

## 2022-09-14

- [Building Workflows, Part 2 – the executor and evaluation](https://swe.quest/articles/building-workflows-part-2-the-executor-and-evaluation-b966efc6ca5866f8.md): incident.io · 2022-09-14 · Medium · 19 min read · PostgreSQL, Scheduling, Queues & messaging, System design, Go
  incident.io's workflow executor listens for trigger events, evaluates workflow conditions against a scope, and creates a workflow run before executing steps.

## 2022-09-06

- [Viewing the world as a computer: Global capacity management](https://swe.quest/articles/viewing-the-world-as-a-computer-global-capacity-management-a52a2917bf341403.md): Meta Engineering · 2022-09-06 · Medium · 13 min read · Capacity planning, Datacenters, Scheduling, Distributed systems, Resilience
  Meta manages capacity across its 14 data center regions with two systems built on Twine and RAS.

## 2022-08-18

- [Cron Jobs on Railway](https://swe.quest/articles/cron-jobs-on-railway-97c5484f2a611343.md): Railway · 2022-08-18 · Medium · 3 min read · Deployment, TypeScript, Scheduling, Cloud platforms
  Before native cron support existed, Railway cron jobs could be run as an ordinary long-lived service that schedules work with a language-level library.

## 2022-05-23

- [Lessons Learned From Running Apache Airflow at Scale](https://swe.quest/articles/lessons-learned-from-running-apache-airflow-at-scale-465dd0ced6d11da7.md): Shopify Engineering · 2022-05-23 · Medium · 12 min read · Scheduling, Data pipelines, Multi-tenancy, Scaling, Kubernetes
  Shopify runs Airflow 2.2 on Kubernetes with the Celery executor and MySQL 8, and its largest environment handles over 10,000 DAGs and 150,000 runs per day.

## 2022-05-13

- [Maestro: The Orchestration Language Powering Shopify Flow](https://swe.quest/articles/maestro-the-orchestration-language-powering-shopify-flow-a032ef3290783e5a.md): Shopify Engineering · 2022-05-13 · Medium · 12 min read · Language design, Static analysis, Scheduling, Resilience, Ruby
  Shopify rebuilt Flow around Maestro, a domain-specific orchestration language that decouples the merchant-facing visual editor from a horizontally scalable execution engine.

## 2021-04-05

- [How Facebook encodes your videos](https://swe.quest/articles/how-facebook-encodes-your-videos-a25a3c51f5bfb7c5.md): Meta Engineering · 2021-04-05 · Medium · 12 min read · Video & media, Machine learning, Scheduling, Cost optimization
  Facebook prioritizes advanced video encodings (VP9, slower H264 recipes) by a Benefit/Cost score instead of hard-coded rules.

## 2021-04-02

- [Workflows are coming to Supabase](https://swe.quest/articles/workflows-are-coming-to-supabase-a57ed34660f0256b.md): Supabase · 2021-04-02 · Medium · 5 min read · Serverless, PostgreSQL, Elixir & Erlang, Scheduling, Event-driven architecture
  Supabase is building Workflows, an open source orchestration engine written in Elixir that uses the Amazon States Language to coordinate existing functions (AWS, GCP, Azure, OpenFaaS, Postgres) in response to database events or HTTP calls.

## 2021-03-05

- [Postgres as a CRON Server](https://swe.quest/articles/postgres-as-a-cron-server-d7e215165e9a3fbe.md): Supabase · 2021-03-05 · Medium · 6 min read · PostgreSQL, Scheduling, SQL
  Postgres can act as a cron server by combining the pg\_cron extension for scheduling with the pgsql-http extension for outbound HTTP calls, letting a scheduled SQL statement POST to a webhook every minute.

Same list as RSS: [https://swe.quest/feed.xml?tag=scheduling](https://swe.quest/feed.xml?tag=scheduling). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
