Skip to content
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

Make light and heavy thread pool configurable for s3 proxy v2 #17082

Merged
merged 2 commits into from Mar 21, 2023

Conversation

humengyu2012
Copy link
Contributor

@humengyu2012 humengyu2012 commented Mar 14, 2023

What changes are proposed in this pull request?

Add properties to config s3 proxy v2 thread pool.
for light pool:

  1. alluxio.proxy.s3.v2.async.light.pool.core.thread.number ;
  2. alluxio.proxy.s3.v2.async.light.pool.maximum.thread.number;
  3. alluxio.proxy.s3.v2.async.light.pool.queue.size.

for heavy pool:

  1. alluxio.proxy.s3.v2.async.heavy.pool.core.thread.number ;
  2. alluxio.proxy.s3.v2.async.heavy.pool.maximum.thread.number;
  3. alluxio.proxy.s3.v2.async.heavy.pool.queue.size.

Why are the changes needed?

We config alluxio.web.threads as 1000, because our OPS has reached 2000. The default value of thread number is not big enough.

@alluxio-bot alluxio-bot added the API Change Changes covering public API label Mar 14, 2023
@jja725 jja725 requested a review from lucyge2022 March 20, 2023 20:55
@jja725
Copy link
Contributor

jja725 commented Mar 20, 2023

This PR LGTM but need your input @lucyge2022

Copy link
Contributor

@lucyge2022 lucyge2022 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jja725 jja725 self-requested a review March 21, 2023 22:58
@HelloHorizon
Copy link
Contributor

alluxio-bot, merge this please

@alluxio-bot alluxio-bot merged commit 65ed1bb into Alluxio:master Mar 21, 2023
17 checks passed
jiacheliu3 pushed a commit to jiacheliu3/alluxio that referenced this pull request May 18, 2023
### What changes are proposed in this pull request?

Add properties to config s3 proxy v2 thread pool.
for light pool:
1. `alluxio.proxy.s3.v2.async.light.pool.core.thread.number` ;
2. `alluxio.proxy.s3.v2.async.light.pool.maximum.thread.number`;
3. `alluxio.proxy.s3.v2.async.light.pool.queue.size`.


for heavy pool:
1. `alluxio.proxy.s3.v2.async.heavy.pool.core.thread.number` ;
2. `alluxio.proxy.s3.v2.async.heavy.pool.maximum.thread.number`;
3. `alluxio.proxy.s3.v2.async.heavy.pool.queue.size`.

### Why are the changes needed?

We config `alluxio.web.threads` as 1000, because our OPS has reached
2000. The default value of thread number is not big enough.

pr-link: Alluxio#17082
change-id: cid-a89b016822a511619d23971118336a34cdf39328
jiacheliu3 pushed a commit to jiacheliu3/alluxio that referenced this pull request May 18, 2023
### What changes are proposed in this pull request?

Add properties to config s3 proxy v2 thread pool.
for light pool:
1. `alluxio.proxy.s3.v2.async.light.pool.core.thread.number` ;
2. `alluxio.proxy.s3.v2.async.light.pool.maximum.thread.number`;
3. `alluxio.proxy.s3.v2.async.light.pool.queue.size`.


for heavy pool:
1. `alluxio.proxy.s3.v2.async.heavy.pool.core.thread.number` ;
2. `alluxio.proxy.s3.v2.async.heavy.pool.maximum.thread.number`;
3. `alluxio.proxy.s3.v2.async.heavy.pool.queue.size`.

### Why are the changes needed?

We config `alluxio.web.threads` as 1000, because our OPS has reached
2000. The default value of thread number is not big enough.

pr-link: Alluxio#17082
change-id: cid-a89b016822a511619d23971118336a34cdf39328
jiacheliu3 pushed a commit to jiacheliu3/alluxio that referenced this pull request May 19, 2023
### What changes are proposed in this pull request?

Add properties to config s3 proxy v2 thread pool.
for light pool:
1. `alluxio.proxy.s3.v2.async.light.pool.core.thread.number` ;
2. `alluxio.proxy.s3.v2.async.light.pool.maximum.thread.number`;
3. `alluxio.proxy.s3.v2.async.light.pool.queue.size`.


for heavy pool:
1. `alluxio.proxy.s3.v2.async.heavy.pool.core.thread.number` ;
2. `alluxio.proxy.s3.v2.async.heavy.pool.maximum.thread.number`;
3. `alluxio.proxy.s3.v2.async.heavy.pool.queue.size`.

### Why are the changes needed?

We config `alluxio.web.threads` as 1000, because our OPS has reached
2000. The default value of thread number is not big enough.

pr-link: Alluxio#17082
change-id: cid-a89b016822a511619d23971118336a34cdf39328
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Change Changes covering public API area-s3-rest-api
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants