Skip to content

feat(server): enhance server concurrency with task queue, worker threads, and graceful shutdown #3181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
030ac27
graceful shutdown + concurrency improvements + (task queue with worke…
sachaarbonel May 22, 2025
f3c10ad
cleanup
sachaarbonel May 22, 2025
78f18f5
Implement custom CountingSemaphore for task queue management
sachaarbonel May 22, 2025
b0c0cbb
Fix temp upload directory creation for cross-platform compatibility i…
sachaarbonel May 22, 2025
8b59be8
Add conditional inclusion of unistd.h for cross-platform compatibilit…
sachaarbonel May 22, 2025
a546329
Fix temp upload directory access check for cross-platform compatibili…
sachaarbonel May 22, 2025
a93876f
removed unused std::chrono_literals
sachaarbonel May 26, 2025
af21d60
Remove redundant decrement of active tasks in process_transcription_t…
sachaarbonel May 26, 2025
507b4a0
improve readability of task queue slot release in process_transcripti…
sachaarbonel May 26, 2025
d311003
Refactor thread creation in server.cpp to improve clarity by removing…
sachaarbonel May 26, 2025
2839cfa
improve readability and consistency of ThreadGuard
sachaarbonel May 26, 2025
d738fc2
improved readability in error_type_to_http_status
sachaarbonel May 26, 2025
871da92
line up the indentation in error_type_to_string
sachaarbonel May 26, 2025
706cc30
Refactor HttpRequestCounter constructor in server.cpp to enhance read…
sachaarbonel May 26, 2025
9f889a1
Refactor destructor of HttpRequestCounter in server.cpp to improve re…
sachaarbonel May 26, 2025
1210a26
Align formatting of temporary upload directory usage message in serve…
sachaarbonel May 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading