-
Notifications
You must be signed in to change notification settings - Fork 65
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
Implement proposed batch size to be floor(B/N) #28
Comments
From @amiller on September 1, 2017 19:0 We're already doing a version of this in the |
From @afck on August 14, 2018 9:49 I'd maybe use |
I wonder why one would choose such small batch sizes though, considering the following from the paper:
|
I think the batch size in the paper is mainly to demonstrate that the claimed asymptotic throughput can be achieved in theory, but in practice it would lead to a latency that grows very quickly in I agree that |
From @sbellem on August 26, 2017 0:57
@amiller I assume you are well aware of this as there's already a
TODO
note in the code about implementing the random selection.Nevertheless, regardless of the size, only one element (
tx_to_send[0]
) is currently passed to_run_round()
:So
_run_round()
andtpke.encrypt()
should be capable to take alist
or a similar data structure.tpke.encrypt()
would need to be modified so that a string (e.g.:cPickle.dumps(raw)
) is passed to the padding operation.So this issue could be done in two (or three) parts:
_run_round()
, e.g.:tx_to_send[:1]
floor(B/N)
transactions to_run_round()
, e.g.:tx_to_send[:int(B/N)]
Copied from original issue: amiller/HoneyBadgerBFT#36
The text was updated successfully, but these errors were encountered: