Skip to content

Make ReadAhead related const into optional arguments.#535

Open
maobaolong wants to merge 2 commits intokahing:masterfrom
maobaolong:master
Open

Make ReadAhead related const into optional arguments.#535
maobaolong wants to merge 2 commits intokahing:masterfrom
maobaolong:master

Conversation

@maobaolong
Copy link
Copy Markdown

No description provided.

@maobaolong
Copy link
Copy Markdown
Author

@kahing Please take a look at this PR. Thanks.

@kahing
Copy link
Copy Markdown
Owner

kahing commented Aug 24, 2020

could you explain why you want these?

@maobaolong
Copy link
Copy Markdown
Author

@kahing Thanks for your reply.

This PR aimed to supply a way to custom the readAhead chunkSize and readAhead maxSize. For some higher performance request case, we want to read ahead more data, so we want customized the readAhead chunkSize and readAhead maxSize.

@maobaolong
Copy link
Copy Markdown
Author

Hi @kahing , how about your idea? We use this feature in our product env for months, it can helps us to customize the readAhead chunkSize and readAhead maxSize.

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.

2 participants