[PR #6015] [CLOSED] chore: non work stealing thread pool #7140

Closed
opened 2026-03-23 23:18:17 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/6015
Author: @Horusiath
Created: 8/20/2024
Status: Closed

Base: mainHead: multi-threaded


📝 Commits (1)

  • b1a8a0f chore: non work stealing thread pool

📊 Changes

3 files changed (+51 additions, -29 deletions)

View changed files

📝 frontend/rust-lib/Cargo.lock (+4 -3)
📝 frontend/rust-lib/dart-ffi/Cargo.toml (+2 -0)
📝 frontend/rust-lib/dart-ffi/src/lib.rs (+45 -26)

📄 Description

This PR comes with dedicated non work-stealing thread pool, that is used by appflowy dispatcher. It enables distributing work over multiple threads (by default equal to the number of logical cores on the machine) without having Send restriction over executed futures that the tokio default thread pool requires.


🔄 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/AppFlowy-IO/AppFlowy/pull/6015 **Author:** [@Horusiath](https://github.com/Horusiath) **Created:** 8/20/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `multi-threaded` --- ### 📝 Commits (1) - [`b1a8a0f`](https://github.com/AppFlowy-IO/AppFlowy/commit/b1a8a0fc8fa13f1fd5316d312c0ba6b65deccc52) chore: non work stealing thread pool ### 📊 Changes **3 files changed** (+51 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `frontend/rust-lib/Cargo.lock` (+4 -3) 📝 `frontend/rust-lib/dart-ffi/Cargo.toml` (+2 -0) 📝 `frontend/rust-lib/dart-ffi/src/lib.rs` (+45 -26) </details> ### 📄 Description This PR comes with dedicated non work-stealing thread pool, that is used by appflowy dispatcher. It enables distributing work over multiple threads (by default equal to the number of logical cores on the machine) without having `Send` restriction over executed futures that the tokio default thread pool requires. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:18:17 +00:00
Sign in to join this conversation.
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
AppFlowy-IO/AppFlowy#7140
No description provided.