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

fix: improve remote write performance by using separate runtime #837

Merged
merged 2 commits into from
Apr 13, 2023

Conversation

ShiKaiWi
Copy link
Member

Which issue does this PR close?

Closes #

Rationale for this change

Currently, the write runtime is also used for the remote engine client's network io, which may lead to extra time cost because of the scheduling overhead.

What changes are included in this PR?

Use separate runtime for the io operations.

Are there any user-facing changes?

New config option io_thread_num in the runtime.

How does this change test

Manually tests.

Copy link
Contributor

@Rachelint Rachelint left a comment

Choose a reason for hiding this comment

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

LGTM

@Rachelint Rachelint added this pull request to the merge queue Apr 13, 2023
Merged via the queue into main with commit e9e4fb4 Apr 13, 2023
5 checks passed
@ShiKaiWi ShiKaiWi deleted the fix-remote-write-performance branch April 13, 2023 12:14
chunshao90 pushed a commit to chunshao90/ceresdb that referenced this pull request May 15, 2023
…he#837)

* feat: call remote_engine service in io-runtime

* feat: spawn the sub io task immediately
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants