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

Batch Requests #1

Open
CurleySamuel opened this issue Aug 21, 2015 · 0 comments
Open

Batch Requests #1

CurleySamuel opened this issue Aug 21, 2015 · 0 comments

Comments

@CurleySamuel
Copy link
Owner

Using the protobuf type MultiRequest it's possible to take any number of requests that would've been sent separately and combine them into a single RPC to save bandwidth (but sacrifice latency).

asynchbase has a queue of outgoing requests for every RS. If the queue is full or a timeout is hit, the queue will then be flushed into a MultiRequest that's sent to the RS. It then needs to parse the results back into their individual components and reply to each request appropriately.

hexuotzo pushed a commit to hexuotzo/PyBase that referenced this issue Jan 5, 2021
…n3_compatible

a lot of bytes/unicode mangling and updating protobufs decoder
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