[PR #410] [MERGED] Change balancing and sorting behaviour of guests #184

Closed
opened 2026-03-02 05:14:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/gyptazy/ProxLB/pull/410
Author: @gyptazy
Created: 12/29/2025
Status: Merged
Merged: 12/29/2025
Merged by: @gyptazy

Base: mainHead: change/378-adjust-balancing-decisions


📝 Commits (1)

  • a9d11da Change balancing and sorting behaviour of guests

📊 Changes

2 files changed (+59 additions, -5 deletions)

View changed files

.changelogs/1.1.11/378_change_and_improve_balancing_decisions.yml (+3 -0)
📝 proxlb/models/calculations.py (+56 -5)

📄 Description

  • Sort to be balanced guests first by size of affinity group (ASC)
  • Sort to be balanced guests afterwards by used memory size (ASC/DESC)
  • Validate if lowest used node is still the lowest one

Fixes: #378
Fixes: #390


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/gyptazy/ProxLB/pull/410 **Author:** [@gyptazy](https://github.com/gyptazy) **Created:** 12/29/2025 **Status:** ✅ Merged **Merged:** 12/29/2025 **Merged by:** [@gyptazy](https://github.com/gyptazy) **Base:** `main` ← **Head:** `change/378-adjust-balancing-decisions` --- ### 📝 Commits (1) - [`a9d11da`](https://github.com/gyptazy/ProxLB/commit/a9d11daf40bf7fcfe51671670f2fd2dcfff75906) Change balancing and sorting behaviour of guests ### 📊 Changes **2 files changed** (+59 additions, -5 deletions) <details> <summary>View changed files</summary> ➕ `.changelogs/1.1.11/378_change_and_improve_balancing_decisions.yml` (+3 -0) 📝 `proxlb/models/calculations.py` (+56 -5) </details> ### 📄 Description - Sort to be balanced guests first by size of affinity group (ASC) - Sort to be balanced guests afterwards by used memory size (ASC/DESC) - Validate if lowest used node is still the lowest one Fixes: #378 Fixes: #390 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 05:14:56 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxLB-gyptazy#184
No description provided.