-
Notifications
You must be signed in to change notification settings - Fork 106
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
Multiple KeyTuples support in Anna #46
Comments
The Python client only currently supports a single With regards to how the sends and receives might work, keep in mind that Anna uses a DHT under the hood. So when you call a PUT with two keys, say |
Many thanks for your explaination.
Currently, in my tests, I found that doing many requests is costly:
============================================
I am also looking for batched way. |
@vsreekanti
Many thanks for your help.
I found
KeyRequest
can bring multipleKeyTuple
s in once transmission, so I try to upgrade it:When I set size = 1, it works normal; when it is larger than 1.
The request_id cannot match
Update:
I found the cause of this bug. It may not be related to the Multiple KeyTuples, but the receive function of batched put.
It is likes:
Update II:
The Python client said:
But I see
user_request_handler
goes through all tuples and handle all of them, then why it said PUT only supports one key operation?I have extended
PUT
operation likeGET
, but only the first key-value pair in the passed key vector is executedonly
keys[0]
's value is returned.The text was updated successfully, but these errors were encountered: