Introduction
Cloud computing environments are scaling at an unprecedented rate, requiring providers to manage thousands of heterogeneous resources and millions of competing demands. Whether scheduling AI training jobs across diverse GPU clusters or routing traffic through global wide-area networks (WANs), the underlying challenge is a massive resource allocation problem. Traditional commercial solvers, while robust, are increasingly unable to meet the sub-second latency requirements of modern cloud systems as problem sizes balloon. Zeal addresses this "scalability crisis" through a novel framework called DEDE (Decouple and Decompose).
The Scalability Crisis
The primary bottleneck in large-scale optimization isn't just the number of variables, but the complex "coupling" of constraints. In a typical monolithic problem, every resource constraint is entangled with every demand constraint. Commercial tools like Gurobi often take minutes or hours to solve these "entangled" problems, whereas production systems require decisions in seconds. Previous attempts to bypass this bottleneck often relied on domain-specific heuristics or brittle assumptions that fail to generalize or handle real-world workload volatility.
The DEDE Framework: Decouple and Decompose
DEDE is a domain-agnostic optimization framework that leverages the mathematical insight that most resource allocation problems are "separable"—the total system utility is the sum of individual resource and demand utilities.
The framework operates in three primary stages:
- Decouple: DEDE introduces auxiliary "copy" variables to mathematically separate resource constraints (e.g., GPU capacity) from demand constraints (e.g., job requirements).
- Decompose: Using the Alternating Direction Method of Multipliers (ADMM), DEDE transforms the monolithic problem into thousands of independent, smaller subproblems.
- Parallelize: These subproblems are solved simultaneously across multiple CPU cores. DEDE is implemented as a Python package using the Ray framework for high-performance parallel execution and cvxpy for flexible modeling.
Evaluation and Key Results
DEDE was evaluated across three large-scale scenarios: cluster scheduling (16,000+ instances), traffic engineering (1,700+ node network), and load balancing (2,048 data shards).
The results demonstrate significant improvements over both commercial solvers and state-of-the-art research baselines like POP:
- Performance: DEDE achieved a 7.6x speedup in traffic engineering and was 3.1x faster in cluster scheduling compared to POP.
- Allocation Quality: Beyond speed, DEDE found higher-quality solutions, improving allocation efficiency by up to 12.6% in load balancing tasks.
- Robustness: Unlike partitioning-based methods, DEDE maintains a global view of resources, making it more resilient to sudden demand spikes or hardware failures.
Discussion and Future Work
DEDE's success stems from its ability to "snip" the ties between constraints, making optimization naturally parallel. It also benefits from "warm-starting," where previous solutions are used to accelerate convergence in dynamic environments.
While currently optimized for separable, convex objectives, future work will explore extensions for non-separable objectives (e.g., where jobs interfere with each other) and further optimizations to reduce parallel overhead at very high core counts. DEDE represents a significant step toward making real-time, optimal resource allocation a reality for the next generation of cloud infrastructure.
Summary updated