Online Learning of Weakly Coupled MDP Policies for Load Balancing and Auto Scaling
The initial lplearn Python package provides a diagnostic bridge to a Rust
backend. The first software release is 0.1.0; this bootstrap reports backend
identity only and does not solve a policy. See
installation and usage.
Authors
- S.R. Eshwar
- Lucas Lopes Felipe
- Alexandre Reiffers-Masson
- Daniel Sadoc Menasché
- Gugan Thoppe
Abstract
Load balancing and auto scaling are at the core of scalable, contemporary systems, addressing dynamic resource allocation and service rate adjustments in response to workload changes. This paper introduces a novel model and algorithms for tuning load balancers coupled with auto scalers, considering bursty traffic arriving at finite queues. We begin by presenting the problem as a weakly coupled Markov Decision Processes (MDP), solvable via a linear program (LP). However, as the number of control variables of such LP grows combinatorially, we introduce a more tractable relaxed LP formulation, and extend it to tackle the problem of online parameter learning and policy optimization using a two-timescale algorithm based on the LP Lagrangian.
Acknowledgements
Eshwar was supported by the Prime Minister’s Research Fellowship (PMRF). G. Thoppe’s research was supported in part by DST-SERB’s Core Research Grant CRG/2021/008330, Walmart Center for Tech Excellence, and the Pratiksha Trust Young Investigator Award. This work was partially supported by CAPES STIC AMSUD project RAMONaaS, CNPq and FAPERJ through grants 315110/2020-1, E-26/211.144/2019 and E-26/201.376/2021.
Paper
For the most updated version of our paper, please click here.
Metadata
Release files for lplearn 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lplearn-0.1.0.tar.gz | 183.7 kB | With provenance | Details for lplearn-0.1.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lplearn-0.1.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for lplearn-0.1.0-py3-none-win_amd64.whl |
| lplearn-0.1.0-py3-none-manylinux_2_34_x86_64.whl | Python 3 | none | Linux glibc 2.34+ x86-64 | Details for lplearn-0.1.0-py3-none-manylinux_2_34_x86_64.whl |
| lplearn-0.1.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for lplearn-0.1.0-py3-none-macosx_11_0_arm64.whl |
Total release size: 873.2 kB
Release files / lplearn-0.1.0.tar.gz
| Download URL | lplearn-0.1.0.tar.gz |
|---|---|
| Size | 183.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33067f135b872f643c866608cb97fc5311ff9c4ece16e71e5a56d7d40f79918b
|
|
BLAKE2b-256 checksum How to use checksums |
781cff40d4a2302e84bc6c7ad64ae5134fe37102d2a5b8d6537205cd3be52df5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logRelease files / lplearn-0.1.0-py3-none-win_amd64.whl
| Download URL | lplearn-0.1.0-py3-none-win_amd64.whl |
|---|---|
| Size | 151.4 kB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
de0c93c2234b8240f5714f360746e69ec9e446753efe7c0d6304112b439bbdd2
|
|
BLAKE2b-256 checksum How to use checksums |
4e900b3a5905ef3074bb9a549542c464723e268ef847928c16d618a2340839b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logRelease files / lplearn-0.1.0-py3-none-manylinux_2_34_x86_64.whl
| Download URL | lplearn-0.1.0-py3-none-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 280.2 kB |
| Tags | Linux glibc 2.34+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
3679c967f6a5dfab979963ea247cb7f7c22c5afb380043f7e7fa59576096458d
|
|
BLAKE2b-256 checksum How to use checksums |
7bcf0f8f63c9c93193564123c43cf97e268f17c3eed7662d3605dab2ac5b0f56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logRelease files / lplearn-0.1.0-py3-none-macosx_11_0_arm64.whl
| Download URL | lplearn-0.1.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 257.7 kB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a94e79f84740edaafe97012a7cca30c13d485049f39464021a63f4067d71aa59
|
|
BLAKE2b-256 checksum How to use checksums |
57ae94f0d4d6a5a5169f31860a6e88474fd0a1cfdb00d7db4c98cda0565b040c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logSecurity for lplearn 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 4 files in this release have been uploaded with provenance metadata.
Attestation for lplearn-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.