[PR #229] [CLOSED] feat: auto scale #386

Closed
opened 2026-02-16 01:15:49 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/229
Author: @Yeuoly
Created: 4/21/2025
Status: Closed

Base: mainHead: feat/auto-scale


📝 Commits (8)

📊 Changes

25 files changed (+1205 additions, -351 deletions)

View changed files

📝 .github/workflows/benchmark.yml (+22 -1)
📝 .github/workflows/tests.yml (+6 -0)
📝 .gitignore (+3 -1)
cmd/loadtesting/main.go (+351 -0)
📝 go.mod (+9 -0)
📝 go.sum (+23 -0)
📝 internal/cluster/plugin_test.go (+4 -3)
📝 internal/core/plugin_daemon/generic.go (+5 -1)
📝 internal/core/plugin_manager/debugging_runtime/io.go (+5 -5)
internal/core/plugin_manager/lifecycle/full_duplex.go (+106 -0)
📝 internal/core/plugin_manager/local_launch_test.go (+50 -0)
📝 internal/core/plugin_manager/local_runtime/instance.go (+37 -17)
📝 internal/core/plugin_manager/local_runtime/instance_test.go (+34 -34)
📝 internal/core/plugin_manager/local_runtime/io.go (+59 -6)
internal/core/plugin_manager/local_runtime/load_balance.go (+76 -0)
📝 internal/core/plugin_manager/local_runtime/run.go (+301 -84)
📝 internal/core/plugin_manager/local_runtime/type.go (+55 -1)
📝 internal/core/plugin_manager/runtime_lifetime.go (+2 -102)
📝 internal/core/plugin_manager/serverless_runtime/io.go (+8 -8)
📝 internal/core/plugin_manager/test_utils/openai_server.go (+4 -4)

...and 5 more files

📄 Description

AutoScale

image

🔄 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/langgenius/dify-plugin-daemon/pull/229 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 4/21/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/auto-scale` --- ### 📝 Commits (8) - [`2d1014e`](https://github.com/langgenius/dify-plugin-daemon/commit/2d1014e2e672f7287ed569eafcd0d560670b3f9f) feat: auto-scale - [`d811426`](https://github.com/langgenius/dify-plugin-daemon/commit/d811426f64b8396575543a7cef1aa9bcc0ec35e9) feat: auto scale - [`102e542`](https://github.com/langgenius/dify-plugin-daemon/commit/102e54258be479f630d0173ef5c259bd45a280be) refactor - [`63279c7`](https://github.com/langgenius/dify-plugin-daemon/commit/63279c70c1a2e02926c1f6fe48900b65d46a7f50) refactor - [`c0498dd`](https://github.com/langgenius/dify-plugin-daemon/commit/c0498dda3a4b43549bb6ed51537c05f1aca807d0) Merge branch 'main' into feat/auto-scale - [`f9bedba`](https://github.com/langgenius/dify-plugin-daemon/commit/f9bedbad4eccbef13bc46bae72e7f28cf7e1db92) fix: ci - [`01ef5f2`](https://github.com/langgenius/dify-plugin-daemon/commit/01ef5f27a311e52cec26e4cabb3d83c56e72303a) fix: ci - [`225742a`](https://github.com/langgenius/dify-plugin-daemon/commit/225742aa94a738c7c2ef41f11b843ec00b984480) optimize: load balancing ### 📊 Changes **25 files changed** (+1205 additions, -351 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/benchmark.yml` (+22 -1) 📝 `.github/workflows/tests.yml` (+6 -0) 📝 `.gitignore` (+3 -1) ➕ `cmd/loadtesting/main.go` (+351 -0) 📝 `go.mod` (+9 -0) 📝 `go.sum` (+23 -0) 📝 `internal/cluster/plugin_test.go` (+4 -3) 📝 `internal/core/plugin_daemon/generic.go` (+5 -1) 📝 `internal/core/plugin_manager/debugging_runtime/io.go` (+5 -5) ➕ `internal/core/plugin_manager/lifecycle/full_duplex.go` (+106 -0) 📝 `internal/core/plugin_manager/local_launch_test.go` (+50 -0) 📝 `internal/core/plugin_manager/local_runtime/instance.go` (+37 -17) 📝 `internal/core/plugin_manager/local_runtime/instance_test.go` (+34 -34) 📝 `internal/core/plugin_manager/local_runtime/io.go` (+59 -6) ➕ `internal/core/plugin_manager/local_runtime/load_balance.go` (+76 -0) 📝 `internal/core/plugin_manager/local_runtime/run.go` (+301 -84) 📝 `internal/core/plugin_manager/local_runtime/type.go` (+55 -1) 📝 `internal/core/plugin_manager/runtime_lifetime.go` (+2 -102) 📝 `internal/core/plugin_manager/serverless_runtime/io.go` (+8 -8) 📝 `internal/core/plugin_manager/test_utils/openai_server.go` (+4 -4) _...and 5 more files_ </details> ### 📄 Description ## AutoScale <img width="551" alt="image" src="https://github.com/user-attachments/assets/44e7a53e-9c24-4303-a3ae-aee687e6205d" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:15:49 -05:00
yindo closed this issue 2026-02-16 01:15:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#386