clj-commons / clj-commons/aleph

Option to configure event loop group thread count

Open
#747 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Clojure
Stars
2.6k
Forks
242
Avg merge
4d 5h
Merged PRs (30d)
1

Description

While the same is configurable using a netty jvm option for client pools, for the server it's hardcoded at 2 * .availableProcessors

If there was an option to configure the event loop group thread counts (maybe even separately for the parent/child groups) users with enough understanding of their workloads would be able to configure more informed thread pools

Contributor guide

Open the contributing guide

Research direction

Start by locating the server's hardcoded event-loop thread-count setup and the existing Netty JVM option used for client pools. Trace how server options are configured, then define and test configurable parent and child counts; done means server users can set the intended counts without changing defaults.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
backend, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.