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

Update hybrid compute_prf_for_inputs to return a TryStream #1424

Open
eriktaubeneck opened this issue Nov 8, 2024 · 0 comments
Open

Update hybrid compute_prf_for_inputs to return a TryStream #1424

eriktaubeneck opened this issue Nov 8, 2024 · 0 comments

Comments

@eriktaubeneck
Copy link
Member

Currently compute_prf_for_inputs for the hybrid protocol returns a Result<Vec<_>, Error>. The function itself is async already, so we should be able to update it to return a Result<TryStream<_>>. This will then allow us to use the existing reshard_try_stream function that exists, and start resharding reports immediately after OPRF is computed, rather than waiting for all of them.

cc @akoshelev

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