Exploiting Data Locality to Improve Performance of Heterogeneous Server Clusters
Abstract
We consider load balancing in large-scale heterogeneous server systems in the presence of data locality that imposes constraints on which tasks can be assigned to which servers. The constraints are naturally captured by a bipartite graph between the servers and the dispatchers handling assignments of various arrival flows. When a task arrives, the corresponding dispatcher assigns it to a server with the shortest queue among randomly selected servers obeying these constraints. Server processing speeds are heterogeneous, and they depend on the server type. For a broad class of bipartite graphs, we characterize the limit of the appropriately scaled occupancy process, both on the process level and in steady state, as the system size becomes large. Using such a characterization, we show that imposing data locality constraints can significantly improve the performance of heterogeneous systems. This is in stark contrast to either heterogeneous servers in a full flexible system or data locality constraints in systems with homogeneous servers, both of which have been observed to degrade the system performance. Extensive numerical experiments corroborate the theoretical results.
Funding: This work was partially supported by the National Science Foundation [CCF. 07/2021–06/2024].
1. Introduction
Over the last two decades, large-scale load balancing has emerged as a fundamental research problem. In simple terms, the goal is to investigate how to efficiently allocate tasks in large-scale service systems, such as data centers and cloud networks. As modern data centers continue to process massive amounts of data with increasingly stringent processing time requirements, the need for more efficient and scalable, dynamic load-balancing algorithms is greater than ever. The study of scalable load-balancing algorithms started with the seminal works of Adler et al. (1995), Mitzenmacher (1996a, b), and Vvedenskaya et al. (1996), in which the popular “power-of-d choices” or the join-shortest-queue (d) (JSQ(d)) algorithm was introduced. Here, a canonical model was considered that consists of N identical parallel servers, each serving a dedicated queue of tasks. Arriving tasks are routed to the shortest of randomly selected queues by a centralized dispatcher, irrevocably and instantaneously, at the time of arrival. Since then, this model has received significant attention from the research community, and we have seen tremendous progress in our understanding of the performance of various algorithms; see van der Boor et al. (2022) for a recent survey.
Despite this phenomenal progress, when it comes to modern large-scale systems, much of the existing wisdom can be observed to be false. This is primarily because of the fact that the classical model fails to capture two of the most significant factors that impact the performance of these systems. The first is data locality constraints. In simple terms, it means that tasks of a particular type can only be routed to a small subset of servers that are equipped with the appropriate resources to execute them (Tsitsiklis and Xu 2017, Tirmazi et al. 2020, Weng et al. 2020, Rutten and Mukherjee 2022). For example, an image classification request must be routed to a server that is trained with appropriate machine learning models, such as deep convolutional neural network. Also, in online video services like Netflix and YouTube, users’ requests may only be routed to servers that are equipped with the required data (e.g., movies, music). The classical model ignores this effect and assumes full flexibility: that is, that any task can be assigned to any server in the system. In the presence of data locality constraints, the delay performance of the system may degrade drastically as compared with fully flexible systems. The second is heterogeneity in service rates. Servers in any modern large-scale server clusters do not process tasks at equal speeds. This heterogeneity of the service rates is a major bottleneck in implementing the existing heuristics of the classical model. For example, if there are two groups of servers in the system, one faster and the other slower, then popular dynamic algorithms like JSQ(d), which has a provably excellent delay performance when all server speeds are identical, can be observed to be unstable (i.e., their queue lengths blow up) (Mukhopadhyay and Mazumdar 2016, Mukhopadhyay et al. 2016, Gardner et al. 2021, Hurtado-Lange and Maguluri 2021). In other words, heterogeneity shrinks the stability region as formally established in Hurtado-Lange and Maguluri (2021). This happens simply because if all the servers are treated equally, then the slower server pool may receive a higher flow of arrivals than what it can process.
1.1. Takeaway
In summary, both data locality and heterogeneity of server speeds may significantly degrade the system performance. The main contribution of the current work is to establish that when these two aspects are considered together, then the performance can in fact be drastically improved. That is, if servers are heterogeneous, then efficiently designing the data locality constraints (by appropriately placing the resource files in the server network) can regain the full stability region, which was shrunk for fully flexible systems. Moreover, we also establish that carefully designed data locality constraints can ensure the celebrated double-exponential decay of tail probability of the steady-state queue-length distribution even for the heterogeneous systems.
1.2. Our Contributions
Motivated by this, in the current paper, we consider a bipartite graph model for large-scale load-balancing systems, which has recently gained popularity in the research community. In this model, a bipartite graph between the servers and task types describes the compatibility between the two, where an edge represents the server’s ability to process the corresponding task type. This encompasses the classical full-flexibility models as those having a complete bipartite compatibility graph. An immediate difficulty of the new model is that when the graph is nontrivial (i.e., not a collection of isolated pairs or a complete bipartite graph), the mean-field techniques break down. This is because, the queues no longer remain exchangeable, making the aggregate processes, such as the vector of number of servers with queue length i with , non-Markovian. In addition, we also consider that each dispatcher handles the arrival flow of one of K possible task clusters and that there are M server types. The rate of service at a server depends on its type. Throughout the paper, the key quantity of interest will be the global occupancy process , where represents the fraction of servers of type m with queue length at least l at time t in the Nth system with N servers, and we will look at the large-system asymptotic regime: .
Because of the compatibility constraints, the servers become nonexchangeable, even if they belong to the same type. This causes most of the existing frameworks to break down; see, for example, Mitzenmacher (1996b), Ethier and Kurtz (2009), and Stolyar (2015). To characterize the process-level limit of the queue-length process, we resort to the theory of weakly interacting particle systems and asymptotically couple the evolution of the N-dimensional vector of queue lengths with an appropriately defined infinite system of independent McKean–Vlasov processes; see, for example, Sznitman (1991) and Méléard (1996). We also show the asymptotic independence of any finite number of queue-length processes, also known as the propagation of chaos property. This convergence of the queue-length processes (in L2 sense) is then used to establish the transient convergence of the occupancy process. One downside of the convergence is that it depends on the assumption that the initial queue lengths within each set of servers of the same type are independent and identically distributed (i.i.d.) and are independent across the set of servers of different types. Because of this assumption, this convergence result cannot be used to establish the interchange of and limits, which is crucial in studying the limit of steady states.
To overcome this issue, we use the framework of Rutten and Mukherjee (2022), recently introduced in the context of homogeneous systems. Here, a notion called proportional sparsity for graph sequences was introduced, which ensures that the empirical queue-length distribution within the set of compatible servers of any dispatcher is close to the empirical queue-length distribution of the entire system. This was used in Rutten and Mukherjee (2022) to construct conditions on graphs that match the performance of a fully flexible system. In the current setup, however, this notion is inadequate because our goal is not to match the performance of the fully flexible system (which is usually poor under heterogeneity). That is why we extend this notion to what we call the clustered proportional sparsity for a sequence of graphs with increasing size to accommodate the heterogeneous systems. The clustered proportional sparsity property allows us to construct a stochastic coupling between the system and another intermediate system whose task allocation is done by a carefully constructed algorithm called global weighted shortest queue (GWSQ(d)) (Algorithm 1). This coupling with the intermediate system, along with clustered proportional sparsity, helps us establish that if the initial occupancy of two systems is close, then the distance (in the -norm) between their global occupancy remains small uniformly over any finite time interval. In turn, it implies that their limits of the global occupancy systems are the same. As a consequence, we can remove the i.i.d. assumption of the initial queue lengths because this guarantees that under clustered proportional sparsity, the convergence of the occupancy process depends only on the initial occupancy and not on how the individual queues are distributed.
The process-level limit result shows that the transient limit of the occupancy process can be described as a system of ODEs that depend on various graph parameters. Next, we also show that the interchange of limits holds and that the sequence of occupancy states in stationarity converges weakly to the unique fixed point of the ordinary differential equation (ODE). One celebrated feature of the classical JSQ(d) policy for homogeneous systems under full flexibility is that the steady-state queue length decays doubly exponentially as , where is the load per server (Mitzenmacher 1996b, Vvedenskaya et al. 1996). We establish this double-exponential decay property for the heterogeneous system.
It is worthwhile to note that the strength of the results lies in that they hold for arbitrary deterministic sequences of graphs satisfying certain properties. However, we show that all these properties are satisfied almost surely by a sequence of inhomogeneous random graphs (irgs) with parameters prescribed by the theorems. This makes it easy to design graphs with the desired favorable properties.
1.3. Related Works
The research on task allocation systems with limited flexibility can be traced back to the works of Foss and Chernova (1998) and Turner (1998). Of particular importance to the current work, Foss and Chernova (1998) considered stability properties of the system using the fluid model. Later, Bramson (2011) generalized some parts of the results in Foss and Chernova (1998) to a broad class of JSQ-type systems, including the JSQ(d) policy, via the Lyapunov function approach. Stolyar (2005) considered optimal routing in an output-queued flexible server system, which is essentially the bipartite graph model for the load-balancing system. Here, the author considered a system with a fixed number of servers and dispatchers in the conventional heavy traffic regime and proposed a routing policy that is optimal in terms of server workload. Recently, Cruise et al. (2020) considered load-balancing problems on hypergraphs and proved their stability conditions. The works, however, did not aim to precisely characterize the system performance in the large-scale scenario.
The analysis in the large-scale scenario became prominent in the last decade, with the emergence of its applications to load balancing in data centers and cloud networks. In the full-flexibility setup, the analysis of heterogeneous server systems gained some attention. In this case, Stolyar (2015, 2017) studied the zero-queueing property of the join-idle-queue policy, Mukhopadhyay and Mazumdar (2016) and Mukhopadhyay et al. (2016) analyzed the JSQ(d) policy in heterogeneous systems with processor-sharing service discipline, Hurtado-Lange and Maguluri (2021) studied the throughput and delay optimality properties of JSQ(d), and Bhambay and Mukhopadhyay (2022) studied a speed-aware JSQ policy. The works on the JSQ(d) policy observe that the stability region shrinks if the dispatcher applies the JSQ(d) policy blindly. One way to mitigate this performance degradation is to take the server speeds into consideration while sampling servers or while assigning tasks to the sampled servers. Such a “hybrid JSQ(d)” scheme is able to recover the stability region. The current work can be contrasted with this approach. First, in the presence of data locality, both the server speeds and the underlying compatibility constraints need to be taken into account during the sampling procedure, and the approach becomes significantly more complicated. Second, we show how exploiting the data locality, the blind JSQ(d) policy can recover the stability region and even achieve the double-exponential decay of tail probabilities of the steady-state queue-length distribution. One advantage of the latter approach is that the dispatchers can be oblivious to the server speeds, which reduces the implementation complexity and also, makes it robust against changes to the servers (e.g., when servers are added/removed).
Recently, Allmeier and Gast (2022) studied the application of (refined) mean-field approximations for heterogeneous systems. Their method is using an ODE to approximate the evolution of each server, and the error vanishes as the system scales. However, this method cannot be directly used in our case. Because of the bipartite compatibility graph structure, it is hard to capture the interactions between two servers, which means that we cannot write the transition rates of the underlying Markov chain as Allmeier and Gast (2022) does. Also, one important assumption in their work is the finite buffer, but we consider the infinite buffer case here.
The aspect of task-server compatibility constraints in large-scale load balancing and scheduling gained popularity only recently, as the data locality became prominent in data centers and cloud networks. This led to many works in this area (Tsitsiklis and Xu 2013, 2017; Gast 2015; Mukherjee et al. 2018a; Budhiraja et al. 2019; Weng et al. 2020; Rutten and Mukherjee 2022). All these works consider homogeneous processing speeds at the servers. The initial works of Turner (1998) and Gast (2015) focused on certain fixed-degree graphs and showed that the flexibility to forward tasks to even a few neighbors with possibly shorter queues may significantly improve the waiting time performance as compared with dedicated arrival streams or a collection of independent M/M/1 queues that the system has a Poisson arrival process, an exponential service time distribution, and one server. Tsitsiklis and Xu (2013, 2017) considered asymptotic optimality properties of the bipartite graph topology in an input-queued, dynamic scheduling framework. Later, in the (output-queued) load-balancing setup, Mukherjee et al. (2018a) considered the JSQ policy, and Budhiraja et al. (2019) considered the transient analysis of the JSQ(d) policy on nonbipartite graphs. The goal in these papers was to provide sufficient conditions on the graph sequence to asymptotically match the performance of a complete graph. Here, we should mention that the nonbipartite graph model cannot be used to capture the data locality constraints. In the presence of data locality constraints, the analysis of the JSQ(d) policy for homogeneous systems, including both transient and interchange of limits, was performed by Rutten and Mukherjee (2022). Weng et al. (2020) is the first to consider the large-scale heterogeneous server model under data locality. They showed that the join-the-fastest-shortest-queue and join-the-fastest-idle-queue policies achieve asymptotic optimality for minimizing mean steady-state waiting time when the bipartite graph is sufficiently well connected. However, these results fall in the category of JSQ-type policies, where the asymptotic behavior is degenerate in the sense that the queue lengths at servers can be either zero or one. Naturally, the results and their analysis are very different from the JSQ(d)-type policies where queues of any length are possible.
1.4. Notations
Let . For a set S, its cardinality is denoted as . For a polish space , the space of right continuous functions with left limits from to is denoted as , endowed with the Skorokhod topology. The distribution of -valued random variable X will be denoted as . For a function , let . The distribution of -valued random variable X will be denoted as . For , the Dirac measure at the point x is denoted as δx. represents the -norm. Define if and is zero otherwise. RHS is the acronym of right-hand side.
2. Model Description
The model for large-scale systems with limited flexibility was considered by Tsitsiklis and Xu (2013, 2017) in the context of scheduling algorithms for input-queued systems. Subsequently, it was considered in Mukherjee et al. (2018a), Budhiraja et al. (2019), Weng et al. (2020), and Rutten and Mukherjee (2022) for output-queued load-balancing systems. Let be a system with N single servers, each serving its own queue, and W(N) dispatchers, each handling the assignment of tasks of one type, where and denote the sets of dispatchers and servers, respectively. We will interchangeably use the terms task type and dispatcher type throughout the article. Similar to Tsitsiklis and Xu (2013, 2017), we assume that , where is a constant. The set of edges represents hard compatibility between the dispatchers and servers in the Nth system. In other words, tasks of type i can be assigned to a server j if and only if . Tasks arriving at a dispatcher must be assigned instantaneously and irrevocably to one of the compatible servers.
Dispatcher clusters. Each dispatcher belongs to one of K possible clusters labeled in . Let denote the set of all dispatchers in the kth cluster. As , assume that for with . Tasks arrive at each dispatcher as an independent Poisson process with rate λ. Note that dispatchers in the same cluster may not have the same set of compatible servers.
Server types. Based on its processing capability, each server belongs to one of M possible types labeled in . The processing time at a type-m server is exponentially distributed with mean , where um is a positive constant. Let denote the set of type-m servers, and as for with . Throughout, we will assume that asymptotically, the system has sufficient service capacity in the sense that
(2.1)Note that the left- and right-hand sides represent the scaled total arrival rate and the scaled maximum departure rate, respectively.
For all the asymptotic results, we consider a general class of systems where the compatibility graph satisfies certain asymptotic criteria as specified in Condition 1. Define
Namely, is the number of the dispatcher i’s neighboring servers whose type is . Similarly, is the number of the server j’s neighboring dispatchers whose cluster is .
The sequence satisfies the following.
For each and , let ,
(2.2)We call the matrix the compatibility matrix.
For each and ,
Intuitively, the condition implies that the “asymptotic density” of edges between cluster-k dispatchers and type-m servers is given by and that, for each task-cluster-server-type pair, the servers have similar levels of flexibility. The classical, well-studied setup, where any task can be processed by any server, corresponds to the complete bipartite graph with . In Section 3.5, we show that for any given , a sequence of graphs satisfying Condition 1 can be obtained simply by putting edges suitably randomly. This is a certain class of inhomogeneous random graphs, which we call irg(p); see Definition 3 for details. In fact, the irg(p) sequence of graphs will be proved to satisfy the required conditions for all the results of this article to hold.
2.1. State Space
In the Nth system, let be the number of tasks (including those in service) in the queue of server at time t. Let be the proportion of servers of type m with queue length at least l at time t, namely
Let . Then, is a process with sample paths in , where
2.2. Local JSQ(d) Policy
For any fixed , each dispatcher uses the JSQ(d) policy (Mitzenmacher 1996b, Vvedenskaya et al. 1996) to assign the incoming tasks to servers. To describe the policy, define the neighborhood of dispatcher , with . When a new task arrives at the dispatcher with , it is immediately assigned to the server with the shortest queue among d servers selected uniformly at random from . Ties are broken uniformly at random. If , then the task is assigned to one server selected from uniformly at random. This scenario is asymptotically not relevant for us because all the graphs that we will consider have diverging degrees as .
3. Main Results
3.1. Mitigating the Stability Issue
As discussed earlier, when the server speeds are heterogeneous, the fully flexible systems (with the complete bipartite compatibility graph) may not be stable under the JSQ(d) policy, even if we assume that the sufficient service capacity in (2.1) is satisfied. The next lemma provides a necessary and sufficient condition for ergodicity of the queue-length process. Recall . For any fixed N, define
The queue-length process under the local JSQ(d) policy is ergodic if and only if .
The lemma is an immediate consequence of Foss and Chernova (1998, theorem 2.5); see also Bramson (2011). We omit its proof. Intuitively, means that in the Nth system, for any subset U of servers with possibly long queues (compared with the rest servers), the total rate at which tasks are assigned to some server in this set must be less than the rate of departure from this set.
Because we are interested in large-N behavior, we will assume a certain asymptotic version of the stability criterion. This is fairly standard in the large-system analysis, as one would want to avoid the “heavy traffic” regime when as . The behavior in the latter scenario is typically qualitatively different from the so-called “subcritical” regime as defined.
(
Throughout this paper, we will assume that the sequence of systems under consideration is in the subcritical regime. From Lemma 1, it is immediate that if a sequence of systems is in subcritical regime, then its queue-length process is ergodic for all large-enough N. The potential nonergodicity of fully flexible, heterogeneous server clusters brings us to the question of when the sufficient service capacity in (2.1) is satisfied, whether we can design the underlying compatibility structure carefully so that the queue-length process is ergodic. In other words, can we regain the stability region? Proposition 1 shows that this is indeed the case. In some sense, this highlights the first-order improvements (i.e., in terms of stability properties) of a careful compatibility structure design in contrast to a fully flexible system.
The establishment of Proposition 1 relies on first building a simple criteria involving the system parameters, which for the sequence of systems satisfying Condition 1, ensures stability for all large-enough N (Lemma 2). Then, we show that given other parameters, a value of satisfying this criteria can be found by checking the feasibility region defined by M inequalities. Denote for each .
Let be a sequence satisfying Condition 1. The sequence of systems is in subcritical regime if
Let the parameters and , be such that (2.1) is satisfied. Then, there exists such that for any sequence of systems satisfying Condition 1, the queue-length process is ergodic for all N large enough. Moreover, such a can be obtained explicitly by solving a set of inequalities.
The proof of Proposition 1 is provided in Appendix A.
In the following sections, we will demonstrate, in addition to the first-order improvements, how asymptotic queue-length distribution can be improved as well, for example, in terms of having a double-exponential decay of tail probabilities.
3.2. Process-Level Limit: i.i.d. Case
Our first main result characterizes the process-level limit of the queue-length process , as , when the starting states are i.i.d. for all and independent across different m-values. When the sequence of graphs satisfies a stronger condition, called clustered proportional sparsity (Definition 2), the i.i.d. condition can be removed. This is the content of Section 3.3.
Now, note that for a fixed is a system of N interacting stochastic processes, where interactions enter the dynamics through the local empirical measures of neighboring states (the precise dynamics are given in (4.3) and (4.4)). Exploiting tools from the theory of weakly interacting particles, we show in Theorem 1 that as the system size becomes large, queue-length processes converge weakly to those of an infinite system of independent McKean–Vlasov processes (see, e.g., Sznitman 1991, Méléard 1996). In fact, using a suitable coupling to be described in more detail in Section 4.1, the convergence holds in L2. For ease of describing such processes and coupling, although we only assumed that certain fractions of servers are of certain types in the model description, it will be convenient to fix the type of each server in this subsection by defining a membership map , so that with and for each . With such fixed server types and , let
Here, are i.i.d. Poisson processes with rate um for each are i.i.d. Poisson random measures on with intensity λdsdy, and all Dj’s and Aj’s are independent. Loosely speaking, Aj corresponds to the arrival processes, and Dj corresponds to the departure processes at servers. is the probability that at time t, the server j will receive the new task given the event that the server j is among the d selected servers and the new task is of cluster k. Neglecting d and ζ, can be understood as the probability that the server j will receive the new task. We note that the existence and uniqueness of solutions to (3.2) and (3.3) can be proved by standard arguments (see, e.g., Sznitman 1991, Méléard 1996) using the boundedness and Lipschitz property of the functions b and on .
(
Theorem 1 gives us the limit law of all individual queues. Next, in Theorem 2, we will show how such a server-level convergence can be used to obtain a convergence result for the global occupancy process to a deterministic dynamical system, which was our primary goal. The proofs of Theorem 1 and Theorem 2 are provided in Section 4.
(
Here, for all .
Using the propagation of chaos property (3.6) and the fact that is independent and is i.i.d. for each , it follows that the limit of the global occupancy process at any time instant t, in fact, corresponds to the laws of for each type of servers j in (3.2): that is,
3.3. Process-Level Limit: General Case
Theorem 2 requires the strong assumption that for each , are i.i.d. In order to argue the interchange of limits, we need to relax this assumption on initial states. This is because the arguments for the interchange of limits involve initiating the prelimit system at the steady state and then showing that as , the system must converge to the unique fixed point of the limiting ODE. This requires us to characterize the (process-level) limiting trajectory of the system starting from the arbitrary occupancy state. We achieve this in this section.
Intuitively, the assumption of i.i.d. in Theorems 1 and 2 ensures that the local occupancy observed by any dispatcher is “close,” in suitable sense, to the average occupancy at the entire system. This phenomenon can be ensured asymptotically, even without the i.i.d. assumption, if the graph sequence satisfies a property we call the clustered proportional sparsity. This notion was first introduced for the homogeneous systems in Rutten and Mukherjee (2022). The definition is a modified notion that is suitable for the current heterogeneous setting.
(
We can view the subset U in the definition as a test set, say , where is the set of type servers with queue length at least at time t. Hence, Definition 2 ensures that for all but o(N) dispatchers, the observed empirical queue-length distribution within its neighborhood is close to the global weighted empirical queue-length distribution (Definition 4) of its corresponding type. Then, the global occupancy process evolves similarly to (and converges to the same limit as) the case when the initial states are i.i.d.
(
The proof of Theorem 3 is given in Section 4.4.
3.4. Convergence of Steady States
In the last section, we showed the process-level convergence of global occupancy process to a mean-field limit . In this section, we will establish the convergence of the sequence of stationary distributions to the unique fixed point of the mean-field limit by establishing the interchange of large-N and large-t limits: . Throughout this section, we will assume that the sequence of systems is in the subcritical regime (recall Definition 1). The first result states that the limiting system of ODEs has a unique fixed point and that it satisfies the global stability property (i.e., for any initial point ).
(
The proof of Theorem 4 is given in Section 5. It relies on a monotonicity property of the system, which ensures that for two processes and , if , then for all (see Martin and Suhov 1999, Stolyar 2015).
The last ingredient that we need in order to prove the interchange of limits is to establish tightness of the sequence of random variables under a suitable metric, where . Here, as before, we should note that the process is not Markovian. That is why the random variable should be interpreted as the functional applied to the steady-state system. The tightness result is stated in the next theorem.
(
Theorem 5 is proved in Section 5. The key idea is to use the Lyapunov function approach to bound the expected sum of tails . Combining Theorems 3, 4, and 5, we can prove the following interchange of limits result.
(
One major discovery about the JSQ(d) policy for the classical, homogeneous, fully flexible system is that the limit of the stationary distribution (which in our case, is given by ) has a double-exponential decay of tail (Mitzenmacher 1996b, Vvedenskaya et al. 1996) for any . This is in sharp contrast with the (single) exponential decay of the corresponding tail for random routing or d = 1. In fact, in this case, for any can be characterized explicitly as , where is the (limiting) steady-state fraction of servers with queue length at least . In the current case of heterogeneous systems, it is intractable to characterize the fixed point explicitly. However, as stated in the next theorem, we can still prove that the doubly exponential decay of the tails for each holds.
(
3.5. Simple Data Locality Design Using Randomization
Sections 3.1–3.4 characterize the performance of the occupancy process for arbitrary deterministic sequence of systems where the underlying graph sequence satisfies certain properties. In particular, Condition 1 and Definition 2 provide sufficient criteria under which both the process-level convergence (Theorem 3) and the interchange of limits (Theorem 6) hold. In this section, we show that graphs satisfying the required criteria can be obtained easily if the compatibility graph is designed suitably randomly. Given the asymptotic edge-density parameters in Condition 1, we define a certain sequence of inhomogeneous random graphs or irg as follows.
(
For any p for which the asymptotic stability criterion holds, we have the following result for the sequence of irg(p).
Let be such that the stability criterion in (3.1) holds and be a sequence of irg(p) with increasing N. Then, the conclusions of Theorems 3 and 6 hold for .
The proof of Theorem 8 is provided in Appendix I. It relies on verifying that the sequence of irg(p) graphs satisfies Condition 1 and the property of clustered proportional sparsity almost surely. The verification involves using the concentration of measure arguments to establish structural properties of the compatibility graphs.
4. Proof of Transient Limit Results
In this section, we will prove the results of transient limit results (Theorems 1–3 in Sections 4.2, 4.3, and 4.4, respectively). We start by proving a few auxiliary results in Section 4.1.
4.1. Auxiliary Results
First, we will need a characterization of the evolution of the queue-length process at each server. To describe this evolution, let us introduce the following notations:
To represent the graph, define the edge occupancy to be the binary variable:
Recall the function b, Poisson processes , and Poisson random measures in and after (3.4). By Condition 1, for all large-enough N, all dispatchers in the Nth system have at least d neighbors. Hence, without loss of generality, in the rest of this section, we will only consider the case . In that case, because of the Poisson thinning property, note that we can write as follows:
The RHS of the first summation in (4.4) represents the probability that a job arriving at the dispatcher will be assigned to the server given the state . Moreover, by Condition 1, the term for all can be upper bounded, uniformly for all t, by a constant for all large-enough N, which is stated in Lemma 4.
When we do some estimation, like bounding the term , we need to uniformly bound the number of the neighbors of servers or dispatchers. Such uniformity is stated in Lemma 3 and is a direct result of Condition 1. Recall and .
For each ,
Also, for each ,
For all large-enough N, we have that for any , and ,
By the definition of , for any and large-enough N,
By Lemma 3, we know that the neighborhoods of dispatchers of the same type are almost the same. With the scale of the system size, the local graph structure for each dispatcher of the same type will converge to the average one. The following two lemmas give necessary approximation of the graph structures for large-N systems. Their proofs are combinatorial and are based on Condition 1 and Lemma 3. They are provided in Appendix B.
Consider a sequence satisfying Condition 1. For each ,
Lemma 5 states that the probability that the server j in the Nth system will be among the d selected servers when a new task arrives converges to the corresponding probability in the limit system. The argument is mainly based on the law of large numbers (L.L.N.).
Consider any and . For large-enough N,
Lemma 6 implies that if we select two elements, say independently from , then the probability of is small. (4.10) and (4.11) are used in (4.16).
4.2. Convergence to the McKean–Vlasov Process: i.i.d. Case
It suffices to prove (3.5). Fix any , and T > 0. We have that for any fixed and any N such that ,
First, consider . For large-enough N,
Second, consider . By Jensen’s inequality, we have . Hence, it is sufficient to bound :
Third, consider :
4.3. Convergence of the Occupancy Process: i.i.d. Case
In this section, we want to show the convergence of the occupancy process to the limit process q represented by the ODE (3.7). The first step is to investigate the existence and uniqueness of the solution of the ODE (3.7). Define
If , then the ODE system (3.7) has a unique solution denoted as in .
The proof of Lemma 7 is based on the Picard successive approximation method (Martin and Suhov 1999, theorem 1(i)) and is provided in Appendix C.
Fix any . For each , consider random measures and on , where is defined in (3.2). Denote the joint measures and . Denote by the bounded Lipschitz metric for probability measures on :
From (3.5), we have
For any , if , then for . Hence,
Also,
4.4. Convergence of the Occupancy Process: General Case
In this section, we will discuss the case in which the sequence is clustered proportionally sparse, which helps us remove the i.i.d. assumption in Theorem 3. Intuitively, if is clustered proportionally sparse, then for each and each dispatcher , the queue-length distribution of its neighborhood will always be close (in an appropriate sense) to the corresponding global weighted queue-length distribution (GWQD). Clustered proportional sparsity ensures that this statement holds uniformly for all occupancy states. Loosely speaking, this statement enables us to make sure that the evolution of the occupancy process happens in the same way for any initial state as in the case of the i.i.d. initial state. For the case of homogeneous systems, the notion of proportional sparsity was introduced in Rutten and Mukherjee (2022). Here, proportional sparsity was defined in a way that for most dispatcher i, the fraction of its neighbors within any subset U of servers is proportional to the size of the subset U. However, because of the heterogeneous compatibility between dispatchers and servers, such a fraction, in the current setup, depends on the corresponding type of the dispatcher as well see the term in Definition 2. Thus, unlike the homogeneous case where the local queue-length distribution (LQD) is directly compared with the global queue-length distribution of the system, for the heterogeneous case, we need to define K types of global weighted queue-length distribution (see Definition 4), where the weights are determined by the asymptotic properties of the graph structure: and . Then, we compare the local queue-length distribution of dispatcher i with the global weighted queue-length distribution of the corresponding type as defined.
Consider any fixed and . Given the global occupancy of the Nth system, the GWQD of cluster k is defined as , where
Also, the local queue-length distribution is defined as follows.
Consider any fixed and . Given the state of the Nth system, the LQD of dispatcher is defined as , where
Although the dispatcher following the JSQ(d) policy selects a target server based on its LQD, if its LQD is close (in a suitable sense) to its corresponding GWQD, then the selection can be viewed as if the decision was based on the GWQD. The latter case is easier to analyze. Hence, if a dispatcher’s LQD is close to its corresponding GWQD, we call it a good dispatcher
(
Also, a dispatcher is ε-bad if it is not ε-good.
4.4.1. Consequences of Clustered Proportional Sparsity.
The proof of Theorem 3 relies on the idea that if the local occupancy of each dispatcher within a particular type evolves similar to the global occupancy of that type, then the process-level limiting behavior should not depend on any specific initial state. That is, it will enable us to go beyond the i.i.d. assumption. The first step for this approach to work is to show that almost all dispatchers are ε-good for any . Here is where we need the property of clustered proportional sparsity. This is stated in the next proposition.
Let be a sequence of clustered proportionally sparse graphs. For any and ,
The intuition behind Proposition 2 is that the servers of type with queue length form a subset of the server set VN. If this set is large, then by the clustered proportional sparsity, for any fixed and almost all , the fraction of the dispatcher i’s neighbors within is close to , which is close to for large-enough N by Condition 1. Also, in order to deal with the sum over , we will need to establish uniform bounds of the tail of the occupancy process on any finite time interval. The complete proof is given in Appendix D.
4.4.2. Coupling with an Intermediate System.
The main methodology for the proof of Theorem 3 is a stochastic coupling with a sequence of carefully constructed systems where the evolution of each system can be coupled with that of the system GN. For each N, the system has the same sets of dispatchers and servers as GN (i.e., and ). However, the task assignment in happens differently. To describe the task assignment policy, let us introduce the following notations. Let be the number of tasks (including those in service) in the queue of server at time t. Let be the corresponding global occupancy at time t, which is defined in the same way as for the system GN. Then, the system assigns tasks under the GWSQ(d) policy as described in Algorithm 1. The GWSQ(d) policy is essentially a variant of the JSQ(d) policy because for each new task, the dispatcher selects a target set of servers of size d according to the global weighted queue-length distribution.
(
while A new task arrives at dispatcher do
Get the current global occupancy ;
Calculate the global weighted queue-length distribution of cluster k,
Randomly select a set with size d as the following.
Let be the number of servers of type with queue length in the set ;
satisfies
the probability of selecting is
where .
Get ;
Assign the task to a type server with queue length with probability
end
Next, we couple the evolution of the system with that of the system GN by the optimal coupling method. The optimal coupling for two stochastic processes is similar to the maximal coupling for two discrete random variables (say, X and Y), maximizing the probability .
4.4.2.1. Optimal Coupling.
Fix any N. In both systems, within the pool of servers of each type, arrange the servers in the nondecreasing order of their queue lengths (ties are broken arbitrarily). Now, couple the evolution of the system GN with the system in the following way.
Departure. For any and , synchronize the departure epochs of the nth ordered servers of type m in the two systems.
Arrival. The coupling of arrivals is the tricky part. For this, first synchronize the arrival epochs at each dispatcher i in both systems and GN. At an arrival epoch of dispatcher , let be the local empirical distribution of dispatcher i in the system GN and be the weighted global empirical distribution of cluster-k dispatchers in the system . Then, in the system GN, the probability that the task will be assigned to a server of type with queue length is given by
(4.22)
In the system , the probability that the task will be assigned to a server of type with queue length is given by
For convenience, we denote and as and , respectively. Denote for and .
Now, to couple the task assignment, let us draw a random variable U, independently of any other processes and across various arrival epochs. U is used to generate the random variables and for the system GN and the system , respectively. In the system GN, set if
As alluded to before, the coupling is constructed in a way that maximizes the probability of the two systems to assign an arriving task to some server with the same queue length. Next, the difference in the occupancy processes of the two systems, on any finite time interval, can be upper bounded by the number of times the two systems assign to two different queue lengths. This is formalized by the notion of mismatch, which was originally introduced in Mukherjee et al. (2018b).
(
The next proposition provides a deterministic bound on the difference between the occupancy processes of the two systems in terms of the number of mismatches.
For any , consider the system GN and the system coupled. Then, the following holds almost surely on the coupled probability space: for ,
Bounds of the form as given in (4.26) were originally established in Mukherjee et al. (2018b, proposition 4), and they were later used in various contexts (Mukherjee et al. 2018a, Rutten and Mukherjee 2022). The proof does not depend on any specific assignment policy and relies on showing inductively that if the inequality in (4.26) holds before an event time epoch, then it is preserved after the event time epoch as well. The proof of Proposition 3 can be obtained following the similar arguments. We omit the details.
Given , then there exist and a positive constant L such that for any ,
By the model assumption, there exists such that for all , which gives us that
The final ingredient that we need is the probability of mismatch in a particular epoch under the optimal coupling method. The next lemma bounds this probability in terms of the -distance between the LQD of the GN system and the GWQD of the system.
Consider an arrival epoch at dispatcher i, and assume that in this epoch, the LQD in the system GN is given by and the GWQD of cluster-k servers in the system is given by . Then, there exists a finite positive constant L1 such that for all large-enough N,
The key step in the proof of Lemma 9 is that given the queue-length distribution , the probability that a task will be assigned to a server of type with queue length can be approximated by
4.4.3. Proof of Theorem 3.
Now, we have all the ingredients to prove Theorem 3. Let us explain the high-level proof scheme first.
Step 1. Using the optimal coupling, we will show that the global occupancy processes and must converge to the same limit process as if their initial states are the same, for all j. In other words, with the same initial states,
Step 2. Because there is no graph structure in the system , all servers of the same type in the system are exchangeable. Hence, is Markovian, which implies that given , its evolution does not depend on how individual ’s are distributed. Denote the system with the i.i.d. assumption as , where the i.i.d. assumption refers to that for any , are i.i.d. Also, denote the system without the i.i.d. assumption as . Their occupancy processes are and , respectively. Because task assignment policy in does not distinguish between two servers having the same type and queue lengths, by a natural coupling, holds for all , implying that
Step 3. Denote the system GN with the i.i.d. assumption as and the system without the i.i.d. assumption as , and denote their occupancy processes by and , respectively. Combining Step 1 and Step 2, the following equation holds. With the same initial global occupancy state,
where the first and last equalities are because of Step 1 and the second equality is because of Step 2.Step 4. Use Theorem 2 to note that when the sequence satisfies the assumption that for each , are i.i.d., the scaled global occupancy process converge weakly to q described by the system of ODEs in (3.7).
Step 5. By Steps 3 and 4, Theorem 3 holds.
In the proof scheme, observe that all that remains is to show Step 1, which is given here.
For Step 1 described in the proof scheme, by Proposition 3, it is sufficient to show that for any and , there exists an such that
Fix an , which will be chosen later. Let and be the numbers of ε-good and ε-bad dispatchers in the system GN at time t, respectively. We couple the evolution of the system GN with that of the system by the optimal coupling method. In system GN, let be the global weighted queue-length distribution of cluster and be the local queue-length distribution of the dispatcher . Also, let be the global weighted queue-length distribution of cluster in system . Denote . At an arrival epoch , if a task arrives at an ε-good dispatcher , then
Recall the uniform random variable U and defined in the description of the optimal coupling method. The probability that the systems have a mismatch at such arrival epoch is bounded by
Hence, by (4.33), (4.34), and Tonelli’s theorem, we have that for all and ,
Also, by the assumption that , there exists N0 such that . Hence, we have that for all and ,
By applying Grönwall’s inequality to (4.36), we have
Because is nonnegative, by Markov’s inequality and (4.37), we have
5. Proof of Interchange of Limits
5.1. Properties of the Limiting System of ODEs
First, we define the fixed point of the ODE (3.7). Recall and . Let be a fixed point of the ODE (3.7) if for all ,
If there exists a fixed point of the ODE (3.7) such that for each and , then for each , the sequence decreases doubly exponentially.
The proof of Proposition 4 is provided in Appendix F. The key observation used in the proof is that by (5.1), can be expressed in terms of and . Thus, we can recursively characterize the values of , if we know and .
By Proposition 4, we know that if is a fixed point of the ODE (3.7) and for all , then such must be in , so we only need to show that such exists. For the proof of the existence of such , we need a technical lemma, which will be used in (5.4).
Consider a sequence satisfying Condition 1. If is proportionally sparse and in the subcritical regime, then for any with , the following holds:
The proof of Lemma 10 is provided in Appendix G.
We prove the existence of the fixed point first. From (5.1), we know that if are fixed, then all are determined as well. Hence, can be the viewed as the function of . Moreover, in the steady state, , which implies that can be decided by the values of . Hence, we construct the sequence as functions of the vector as follows:
Because for all should be in (0, 1), then must lie in the polyhedron defined as follows:
For all , we have . Consider l = 2. By (5.3), we have that when ,
Let be the maximum number, which satisfies the following:
,
with such that .
Define as the following:
Again, by using (5.3), we get that when (i.e., ),
Let r1 be the minimum number that satisfies the following:
.
There exists such that and .
Define as the following:
Hence, for all , we have . Continuing this process, we can define a sequence of polyhedra such that for all , we have . Thus, we can get decreasing sequences for some . Because , then such that . Next, we need to show that . By (F.2), we have
Clearly, is a solution of (5.4). It must be the unique solution because by Lemma 10, for all with ,
Now, we are going to show the uniqueness. The proof of the uniqueness is based on a monotonicity property of the system, which is stated in the following claim.
If for , then for all t.
Consider any . It is easy to construct two copies of the Nth systems with initial states and satisfying the following.
For all .
has the corresponding global occupancy ; similarly, has .
By a natural coupling, we have that for all and , implying that . Because systems are stable, then for all . Moreover, by Theorem 2, the claim follows. □
We continue the proof of the uniqueness. Now, it is sufficient to show that , in which either or component wise, because Claim 1 implies that
We will prove the case that if , then
The case that is similar. Also, note that can be solved recursively by (5.1) when are determined, so it is sufficient to show that . By ODE (3.7), we have
Because , then . Observe that . Hence, if for some , then , which implies that
Because for all and , then must hold for all . □
The result holds immediately from Proposition 4 and Theorem 4. □
5.2. Proof of Tightness and Interchange of Limits
Next, we are going to prove the tightness of the steady-state occupancy processes . Let and . In order to show the tightness of , it is sufficient to show that the sequence is , which is stated in the next proposition. For showing the tightness, we will bound the tail of the expected global occupancy of the stationary state first.
Let be a sequence of proportionally sparse graphs satisfying Condition 1. There exists an N0 such that for all and ,
Furthermore,
The proof of Lemma 11 is similar to Rutten and Mukherjee (2022, lemma 3). We define a sequence of Lyapunov functions and bound the drift of , which enables us to bound the tail sum of starting from . Given the Nth system state, . Let be the set of servers of type with queue length at least . For each , we define a sequence of Lyapunov functions . The complete proof is provided in Appendix H.
The next lemma from Mukherjee et al. (2018a) gives us the criterion for -tightness.
(
is tight with respect to the product topology, and for all ,
(5.7)is tight with respect to the -topology.
Because for all , then it is easy to check that is tight with respect to the product topology. Hence, it is sufficient to show that for any ,
By Markov’s inequality and Lemma 11, we have that for all ,
By Theorem 5, is tight with respect to the -topology. Then, any subsequence has a convergent further subsequence. Let be such convergent subsequence, and assume . Clearly, must be in the space . Now, initiate the Nth system at its stationarity. Then, the system is in steady state at any fixed finite time . That is, we have for all . Also, by Theorem 3, Thus, for all , , which implies that is a stationary point of the limiting system. By Theorem 4, we know that is unique. Therefore, the desired result holds. □
6. Numerical Results
In this section, we will present the simulation to validate the theoretical results. Using the insights from the theoretical results, we will also show that systems with carefully designed compatibility structure perform much better than the classical, fully flexible systems. Throughout this section, we set the system parameters as follows: K = 2: two clusters of dispatchers; M = 3: three types of servers; d = 2: the system follows the JSQ(2) policy; , where each μm, m = 1, 2, 3, is the service rate of type m servers; λ = 3, which is the arrival rate at each dispatcher is λ; , where each is the probability that type m, m = 1, 2, 3 server’s initial queue length is l, l = 1, 2, 3; fraction of types of dispatchers: ; fraction of types of servers: ; and : the relationship between the number of dispatchers and that of servers in the system.
In the setting, the capacity sufficiency is satisfied, . The first experiment is to compare the performance of the classical, fully flexible system with that of the system with carefully designed compatibility structure.
6.1. Complete Bipartite vs. Designed Compatibility Structure
The complete bipartite is the case that the compatibility matrix is a matrix with all elements equal to one. From Lemma 1, we have that an Nth system under JSQ(d) is stable if and only if it satisfies the following:
By Lemma 10, for the complete bipartite case, we have that

Figure 1 shows that the average queue length of type 1 servers in S1 almost monotonically increases as t increases, which implies that the average queue length of type 1 servers in S1 is unbounded. However, in the system S2, the average queue length of each type of servers is bounded. From this numerical result, we observe that with an appropriately designed graph structure, the performance of the system can be improved. Although we tried to plot the 95% confidence interval (CI) for each point , the CI is narrow, and its size is smaller than that of markers in the plot. One reasonable explanation for such a narrow CI is that for large-enough N, the scaled occupancy process is close to the fluid limit q. In other words, the error of the mean-field approximation is quite small, which can be of independent interest. With a similar heterogeneous setting, Allmeier and Gast (2022) show that the error of the mean-field approximation is .
6.2. Convergence of Global Occupancy States
In this experiment, we generate systems by irg() and simulate the evolution of systems with size n = 100, 500, 1,000. For each system, we also simulate 100 times and plot the mean trajectories of and in Figure 2. Also, we plot the evolution of and , m = 1, 2, 3, of the limit system. The simulation results show that the evolution of the global occupancy of the Nth system converges to that of the limit system as N goes to infinity. From the simulation result, we find that and especially, decrease very fast when their initial values are large. In other words, when the average queue length of type 1 servers is large, it will decrease very fast. The reason is because of our designed compatibility matrix such that compared with other type servers, type 1 servers are sampled much less often.

6.3. Uniqueness of the Fixed Point of the Limit System
From Theorem 4, we have that for all . In order to verify this, we use a simulation of the evolution of with different (i.e., consider the different Q mentioned). We also simulate the system with and . Figure 3 shows that with different , m = 1, 2, 3, are the same. If , m = 1, 2, 3 are fixed, then the values of all , m = 1, 2, 3 are fixed as well by using (5.1). Hence, Figure 3 verifies the uniqueness of the fixed point.

7. Conclusion
In this paper, we model a heterogeneous system as a bipartite graph and investigate how we can impose the data locality to significantly improve the system performance even if the individual task assignment remains oblivious to the service rates. We figure out that if the sequence of systems satisfies the capacity sufficiency, we can always design an appropriate graph structure between dispatchers and servers such that the vanilla JSQ(d) policy achieves maximal throughput and the tail of queue-length distribution decreases doubly exponentially. However, it is worthwhile to mention that although we consider the data locality, which restricts the compatible servers for each dispatcher, our work is not really to investigate the sparsest system. It is an interesting future research direction to see what is the sparsest in which such a compatibility graph can achieve similar favorable properties, like the double-exponential tail decay.
Appendix A. Proofs for Stability Results
The goal of this appendix is to prove Proposition 1. We start by proving Lemma 2, for which we need the next technical lemma. This lemma will help us to upper bound the probability that a new task will be assigned to a specific subset of servers (in particular, (A.5)).
Consider the following optimization problem:
We will prove by contradictions. Suppose the maximizer contains some for some . Note that
Suppose that (3.1) holds. Because is finite, then there exists a such that for all . Fix any . Recall . By our model assumption and Condition 1, there exists such that for all and ,
Consider the Nth system. Consider any nonempty subset of servers. If , then there exists an such that for all ,
By (A.1), we have that for each ,
By Lemma A.1, (A.2), and (A.4),
If , then
Consider the case . Then, we get
By (3.1), we have that for all and ,
Because is nonempty, then we assume is in (i.e., ). Hence,
We choose ε such that . By (A.8) and (A.10), we have that there exists a positive integer such that for all ,
We choose ε such that . Now, because the subset is arbitrary, then for all , the Nth system is stable under JSQ(d) policy. □
By Lemma 2, it is sufficient to show that there exists some p such that for each ,
Let with . Now, we can formulate a linear optimization problem as the following; the objective is , and the constraints are
Next, we construct a specific solution satisfying Constraints (A.13) with . Note that by (2.1). For convenience, we denote for all . First, consider k = 1. Let , and for ,
Because , then and . Then, consider k = 2. For all , let . Let
Again, because , then and . We can construct by following the steps of the construction of . Hence, we get a specific solution satisfying (A.13) with . Therefore, is strictly less than one, and our desired result holds. □
Appendix B. Approximation of the Graph Structure for Large N Systems
Consider any fixed and fixed . Also, fix any and :
First,
For large-enough N,
Then,
Consider (B.1).
Fix any and . Consider (4.10). When , by the definition (4.2) of ,
Also, by Lemma 3, we have that for all and ,
Let with . Then, we have that for large-enough N,
Because and for some constant C3, then by choosing C1 appropriately, (4.10) holds for all large-enough N. We can get (4.11) in a similar way. □
Appendix C. Unique Solution of ODE (3.7)
Recall that is a solution of (3.7) given the initial point . For convenience, we denote as and write the ODE (3.7) as the following:
Observe that under (C.2), if for some , then and ; if for some , then . Hence, if , then any solution of (C.1) and (C.2) remains within . In order to show the existence and the uniqueness, we use the Picard successive approximation method (Martin and Suhov 1999, theorem 1(i)). In the rest of the proof, we use the norm
For any q, ,
By induction, we have that is continuous w.r.t. t on for all n and that
Hence, for all exists uniformly for . Also, by (C.3) and the dominated convergence theorem, the following holds:
Next, we show the uniqueness by contradiction. Assume that also satisfies
Then, we have
Similarly, we get
Appendix D. Proof of Proposition 2
If weakly converges to , then for any , and T > 0, there exist and , depending on , ε, δ, and T, such that for all ,
Fix any and . Because , then there exists such that . By the weak convergence , there exists such that for all ,
Let . Hence,
Because given (i.e., for all ), then if for some and (i.e., ), there must be at least tasks arriving in the system. By using the standard concentration inequality for Poisson random variables (Habib et al. 1998, theorem 2.3(b)), we have
Let . By (D.2), (D.3), and (D.5),
For each and ,
Fix any . By Condition 1 and Lemma 3, there exists such that for all ,
Hence, for all ,
Because (D.10) holds for any , we have
Consider any fixed . Also, fix and . By the triangle inequality, we have
By the triangle inequality and Markov’s inequality,
By Lemma D.2, there exists such that for all ,
Similarly, we have that there exists such that ,
By (D.12), (D.15), and (D.16), there exists such that for all ,
Fix any . By Definition 2, there exists such that for all ,
By Lemma D.1, there exists such that for all ,
Hence,
Because are arbitrary, then the desired result holds. □
Appendix E. Bound the Mismatch
Define a function as for ,
Also, define a function as for ,
Note that for any and . Then, we have
Let and . By (4.22) and (4.23), and . By the optimal coupling, we have
Next, we are going to show that is Lipschitz continuous for :
Let . By (E.3), (E.4), and (E.5), we have that for large-enough N,
Appendix F. Doubly Exponential Decay
Because q is a fixed point of (3.7), then we have
Multiplying both sides by vm and summing over gives
Also, because , then for , by adding , we have
From (F.2) and , we have
By induction, we obtain that for ,
Recall . From Proposition 4, we know that decreases doubly exponentially. In fact, they do not decay further faster. To see this, let Then, It then follows from (F.2) that
So,
Appendix G. Proof of Lemma 10
Fix any with . Consider any sequence of subsets with and for all . By Condition 1, we have that for all and ,
Fix any , which will be chosen later. Let and . By (G.1), for all large-enough N and ,
Also, by Condition 1, for all large-enough N,
Because the sequence is in the subcritical, then for large-enough N,
Because (G.5) holds for all , then
Appendix H. Proof of Lemma 11
Given the system state XN, when a task arrives at the system, by the Poisson thinning property, the probability that the task will be assigned to a server in the set is
We consider the system state at event times ; for all i, ti can be an arrival or a potential departure epoch. Define the drift as
Again, by the Poisson thinning property, we have that for all large N,
By the definition of the steady state, . Choosing ε such that , we have
Finally, summing over , we get the desired result. □
Appendix I. Proof for the Sequence of Random Graphs
First, to show that the sequence satisfies Condition 1, consider any fixed and . Let be a Bernoulli random variable with probability for each and . Then, , and by the L.L.N., we have that
Let . Then, for some ,
Then, the RHS of (I.2) is summable over N. From the Borel–Cantelli lemma, we get that a.s., for all large-enough N,
Thus, Condition 1(b) holds.
Now, we show that the sequence is clustered proportionally sparse. Fix any , and . Let be the event that the dispatcher i is bad w.r.t. the set U: that is,
Define for each . By the union bound, we have that
We will bound each term of the RHS of (I.4). By choosing and satisfying
Therefore, for large-enough N, we have
Moreover, for some and large-enough N,
The RHS of (I.12) is summable over N, and the set is finite; so, by the Borel Cantelli lemma, the sequence is clustered proportionally sparse.
If p satisfies (3.1), by Lemma 2, there exists an such that for all , the queue-length process under the local JSQ(d) policy is ergodic, which implies that all assumptions of Theorem 6 hold. □
References
- (1995) Parallel randomized load balancing. Proc. 27th Ann. ACM Sympos. Theory Comput. (STOC ’95) (Association for Computing Machinery, New York), 238–247.Google Scholar
- (2022) Mean field and refined mean field approximations for heterogeneous systems: It works! Proc. ACM Measurement Anal. Comput. Systems 6(1):13.Google Scholar
- (2022) Asymptotic optimality of speed-aware JSQ for heterogeneous service systems. Performance Evaluation 157–158(2022):10232.Google Scholar
- (2011) Stability of join the shortest queue networks. Ann. Appl. Probab. 21(4):1568–1625.Google Scholar
- (2019) Supermarket model on graphs. Ann. Appl. Probab. 29(3):1740–1777.Google Scholar
- (2005) Inequalities for eigenvalues of a clamped plate problem. Trans. Amer. Math. Soc. 358(6):2625–2635.Google Scholar
- (2020) Stability of JSQ in queues with general server-job class compatibilities. Queueing Systems 95(3–4):271–279.Google Scholar
- (2009) Markov Processes: Characterization and Convergence (John Wiley & Sons, Hoboken, NJ).Google Scholar
- (1998) On the stability of a partially accessible multi-station queue with state-dependent routing. Queueing Systems 29(1):55–73.Google Scholar
- (2021) Scalable load balancing in the presence of heterogeneous servers. Performance Evaluation 145(2021):102151.Google Scholar
- (2015) The power of two choices on graphs: The pair-approximation is accurate. Performance Evaluation Rev. 43(2):69–71.Google Scholar
- (1998) Probabilistic Methods for Algorithmic Discrete Mathematics, vol. 16 (Springer, Berlin).Google Scholar
- (2021) Throughput and delay optimality of power-of-d choices in inhomogeneous load balancing systems. Oper. Res. Lett. 49(4):616–622.Google Scholar
- (1999) Fast Jackson networks. Ann. Appl. Probab. 9(3):854–870.Google Scholar
- (1996)
Asymptotic behaviour of some interacting particle systems; Mckean–Vlasov and Boltzmann models . Talay D, Tubaro L, eds. Probabilistic Models for Nonlinear Partial Differential Equations, Lecture Notes in Mathematics, vol. 1627 (Springer, Berlin), 42–95.Google Scholar - (1996a) Load balancing and density dependent jump Markov processes. Proc. 37th Conf. Foundations Comput. Sci. (IEEE, Piscataway, NJ), 213–222.Google Scholar
- (1996b) The power of two choices in randomized load balancing. PhD thesis, University of California, Berkeley.Google Scholar
- (2018a) Asymptotically optimal load balancing topologies. Proc. ACM Measurement Anal. Comput. Systems 2(1):14.Google Scholar
- (2018b) Universality of power-of-d load balancing in many-server systems. Stochastic Systems 8(4):265–292.Link, Google Scholar
- (2016) Analysis of randomized Join-the-Shortest-Queue (JSQ) schemes in large heterogeneous processor-sharing systems. IEEE Trans. Control Network Systems 3(2):116–126.Google Scholar
- (2016) Randomized assignment of jobs to servers in heterogeneous clusters of shared servers for low delay. Stochastic Systems 6(1):90–131.Google Scholar
- (2022) Load balancing under strict compatibility constraints. Math. Oper. Res. 48(1):227–256.Google Scholar
- (2005) Optimal routing in output-queued flexible server systems. Probab. Engrg. Inform. Sci. 19(2):141–189.Google Scholar
- (2015) Pull-based load distribution in large-scale heterogeneous service systems. Queueing Systems 80(4):341–361.Google Scholar
- (2017) Pull-based load distribution among heterogeneous parallel servers: The case of multiple routers. Queueing Systems 85(1):31–65.Google Scholar
- (1991) Topics in Propagation of Chaos (Springer, Berlin).Google Scholar
- (2020) Borg: The next generation. Proc. 15th Eur. Conf. Comput. Systems (EuroSys ’20) (Association for Computing Machinery, New York), 1–14.Google Scholar
- (2013) Queueing system topologies with limited flexibility. Proc. ACM SIGMETRICS/Internat. Conf. Measurement and Modeling Comput. Systems (SIGMETRICS ’13) (Association for Computing Machinery, New York), 167–178.Google Scholar
- (2017) Flexible queueing architectures. Oper. Res. 65(5):1398–1413.Link, Google Scholar
- (1998) The effect of increasing routing choice on resource pooling. Probab. Engrg. Inform. Sci. 12(1):109–124.Google Scholar
- (2022) Scalable load balancing in networked systems: A survey of recent advances. SIAM Rev. 64(3):554–622.Google Scholar
- (1996) Queueing system with selection of the shortest of two queues: An asymptotic approach. Problemy Peredachi Informatsii 32(1):20–34.Google Scholar
- (2020) Optimal load balancing with locality constraints. Proc. ACM Measurement Anal. Comput. Systems 4(3):45.Google Scholar

