Celery Beat: Where Should the Schedule Live?
Compare Celery Beat scheduler backends—file, SQL, and Redis/RedBeat—by where the active schedule lives, how updates propagate, and what failure modes each introduces.
Loading…
Topic
8 posts about Scheduling. Every summary links to the original.
See the idea
Compare Celery Beat scheduler backends—file, SQL, and Redis/RedBeat—by where the active schedule lives, how updates propagate, and what failure modes each introduces.
A five-checkpoint workflow for assignment problems: write the spec, name the objective, test whether choices interact, pick a solver class by scale, then validate against live state.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Kubernetes schedules individual pods but does not decide which Spark application should receive a team’s quota first, so concurrent submissions can leave driver pods stuck and pipelines racing for nodes. Kueue intercepts a SparkApplication before the Kubeflow Spark operator creates driver or executor pods, creating a Workload and admitting it only when declared CPU and memory fit ClusterQueue quota. The walkthrough builds a self-managed queue for the spark-team-a project with a ClusterQueue reserving 3 CPUs and 4 GiB, then submits a SparkApplication carrying the kueue.x-k8s.io/queue-name label. A second copy remains suspended while the first consumes the quota and is admitted automatically after the first completes. Preemption deletes all driver and executor pods, losing in-memory state, shuffle data, and ephemeral files, while quota is reserved from declared requests rather than runtime utilization.
NVIDIA Workload Map addresses the repeated adapter work required when Kubernetes platforms interpret distributed workloads such as JobSet, LeaderWorkerSet, PyTorchJob, and RayCluster. Each framework encodes pod templates, replica counts, hierarchy, and status differently, so schedulers and platforms often need framework-specific parsing code. Workload Map ships as a Kubernetes CRD and Go library, with declarative YAML definitions that locate those fields and map native conditions into shared running, completed, and failed states. A JobSet definition uses jq expressions over replicatedJobsStatus and computes pods per replicated Job as replicas times parallelism. The same definition supports workload inspection, KAI Scheduler gang scheduling, and NVIDIA Run:ai visibility; the project is Apache 2.0 licensed and used in production within Run:ai.
No single TensorRT scheduling strategy works best for every model: a heuristic that accelerates one network can slow another, and interactions between fusion, kernel choice, memory layout, and quantization are hard to predict. The Global Performance Tuner, released in TensorRT 11.1, automatically explores multiple customizable build routes, validates each candidate against a numerical accuracy tolerance, and selects the fastest feasible solution. This solves heuristic sprawl—where model-specific rules accumulate and interact in unmaintainable ways—and decouples performance optimization from accuracy constraints. The mathematical framework defines models, solution spaces, and build routes as compositions of compiler passes, assumes deterministic runtime under fixed conditions, and separates what executables can be constructed from how the compiler selects an optimal one. Among all solutions meeting the tolerance, the tuner picks the minimum-runtime feasible solution, rather than trying to encode every successful heuristic into a single universal strategy.
Intercom announced Workforce Management, a new set of tools inside its helpdesk for forecasting, scheduling, and planning teammate cover alongside the Fin AI agent. The tools automatically exclude conversations resolved by Fin to plan for human-bound volume only, addressing the challenge of fluctuating human volume as Fin resolves 76% of queries on average. Forecasting shows actual volume to date alongside predicted volume ahead, building automatically from the last eight weeks of conversation data, and can be exported, adjusted, and re-imported as CSV. Scheduling supports reusable shift templates and syncs with Google Calendar, while Teammate Coverage maps scheduled headcount against required staffing hour by hour. Team Performance provides individual scorecards for adherence, conformance, and shrinkage, with away reasons like lunch and meetings surfacing automatically and inbox actions like replies and notes on the timeline. The feature is available now in the Pro add-on and is already live in Pro workspaces.
Ai2 replaced its priority-based GPU cluster scheduler with a system combining GPU time budgets, hierarchical fair-share allocation, and a time-slicing contract to prioritize high-impact research while maintaining full occupancy. The previous priority scheduler induced GPU squatting, priority inflation, and constant negotiation over non-preemptable workloads, exemplifying a tragedy of the commons. In the new model, managers allocate proportional GPU time budgets to projects, making resource allocation a transparent administrative process rather than an operational debate. The scheduler tracks occupancy over a time window with weights set by budgets, and time-slicing enforces minimum runtime protection before workloads become preemptible. However, interactive sessions suffered from the 8-hour cap, prompting investment in a CPU-only cluster and restorable sessions, while potential capacity fragmentation for large workloads remains under investigation.
Investing in real-time customer support can drive revenue and satisfaction, but scaling it requires careful operational planning. The team found that new customers were 30% more likely to start a trial after a swift first response, and they defined two key metrics: first response time (target under 2 minutes) and subsequent response time. They started by offering real-time support to 50% of new customers, recruiting tenured top performers as Project Leads to help roll out the experiment and identify effective workflows. Operational success depended on four elements: scheduling (using heatmaps of conversation volume and dedicated tools), tools (Intercom’s Messenger and Inbox), workflows (shifting from pass-back to 100% ownership), and communication (Slack channels for handovers and feedback). After refining qualification criteria based on rep feedback to exclude customers with previously activated apps, the team scaled real-time support to 100% of new customers within six months.
AI factories are power-limited systems where GPU workload placement is a key optimization; poor placement fragments topology domains and forces traffic across shared links, reducing throughput and raising job costs. NVIDIA Topograph discovers cluster topology from cloud APIs or on-premises fabric systems, normalizes it into a common model, and publishes it in formats each workload manager expects, such as Kubernetes node labels, Slurm topology configuration, or Slinky ConfigMaps. It uses five components: API Server, Node Observer, Node Data Broker, Provider, and Engine to keep the topology view current as the cluster changes. The post covers deploying Topograph with Helm on Kubernetes, as a system package on Slurm, and as a Helm chart on Slinky, with support for cloud providers including Google Cloud, Lambda, Nebius, Nscale, and OCI. Topograph works alongside Dynamic Resource Allocation and KAI Scheduler to enable topology-aware gang scheduling, improving AI factory efficiency and tokens per watt.
ThunderAgent is a program-level scheduler for high-throughput agentic inference, developed by researchers at Georgia Tech, UIUC, CMU, and Together AI. It solves KV cache thrashing, which occurs when request-level engines like vLLM and SGLang evict an agent’s KV cache during tool calls and recompute it on resume, creating a cascade of evictions. ThunderAgent tracks each workflow as a schedulable program, pausing low-priority workflows under memory pressure and routing resumed programs through a global waiting queue to the node with the most available capacity. In synthetic data generation pipelines, it achieves up to 2.5x single-node throughput and 2.4x speedup on 8 nodes with near-linear scaling, and was accepted as an ICML 2026 Spotlight paper.
The best engineering reads, once a week.