-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tune defaults, use async executor supplier with multiplication factor (…
…#83) * tune defaults & change interface for async executor supplier with multiplication factor * wrap up * nit
- Loading branch information
Kishan Sairam Adapa
authored
Oct 10, 2023
1 parent
4d3f717
commit f57eb9b
Showing
4 changed files
with
23 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
...s-framework/src/main/java/org/hypertrace/core/kafkastreams/framework/async/Constants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
package org.hypertrace.core.kafkastreams.framework.async; | ||
|
||
public class Constants { | ||
public static int DEFAULT_ASYNC_EXECUTOR_POOL_SIZE = 16; | ||
public static int DEFAULT_ASYNC_PROCESSOR_BATCH_SIZE = 5120; | ||
public static int DEFAULT_ASYNC_PROCESSOR_COMMIT_INTERVAL = 5000; | ||
public static String ASYNC_EXECUTOR_POOL_SIZE_KEY = "async.executors.maxPoolSize"; | ||
public static int DEFAULT_ASYNC_EXECUTOR_POOL_MULTIPLICATION_FACTOR = 4; | ||
public static int DEFAULT_ASYNC_PROCESSOR_BATCH_SIZE = 10240; | ||
public static int DEFAULT_ASYNC_PROCESSOR_COMMIT_INTERVAL = 30000; | ||
public static String ASYNC_EXECUTOR_POOL_MULTIPLICATION_FACTOR_KEY = | ||
"async.executors.pool.multiplication.factor"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters