Skip to content

Commit

Permalink
[performance](load) increase max_broker_concurrency to 100 (#44929)
Browse files Browse the repository at this point in the history
Increase default `max_broker_concurrency` to 100 to improve broker load
performance.
This option will affect the max number of scan / sink instances allowed
in a broker load.

```
parallel instance = min(max_broker_concurrency,
                        source file size / min_bytes_per_broker_scanner,
                        num backends * load_parallelism)
```

S3 load time of tpcds_1000g catalog_sales:
* before: 438s
* after: 225s
  • Loading branch information
kaijchen authored Dec 10, 2024
1 parent 8ad6b28 commit df90de9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ public class Config extends ConfigBase {

@ConfField(mutable = true, masterOnly = true, description = {
"单个 broker scanner 的最大并发数。", "Maximal concurrency of broker scanners."})
public static int max_broker_concurrency = 10;
public static int max_broker_concurrency = 100;

// TODO(cmy): Disable by default because current checksum logic has some bugs.
@ConfField(mutable = true, masterOnly = true, description = {
Expand Down

0 comments on commit df90de9

Please sign in to comment.