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

page_service: batching needless waits for unbatchable requests #9835

Open
Tracked by #9377
problame opened this issue Nov 21, 2024 · 0 comments
Open
Tracked by #9377

page_service: batching needless waits for unbatchable requests #9835

problame opened this issue Nov 21, 2024 · 0 comments

Comments

@problame
Copy link
Contributor

          Consider the following request sequence: `get_page (lsn=x), get_page (lsn=x), db_size`.

First call to read_batch_from_connection: Return batch with get page requests and carry contains db_size request.
Second call to read_batch_from_connection: Wait until the batching time-out or the next request to serve the db_size.

Same applies for sequence: db_size.

We only care about batching get_page requests, so this is not necessary. Feels like we could work around without too much effort.

Originally posted by @VladLazar in #9792 (comment)

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

No branches or pull requests

1 participant