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

DAP Integration: Batched submissions #36

Open
martinthomson opened this issue Oct 3, 2024 · 1 comment
Open

DAP Integration: Batched submissions #36

martinthomson opened this issue Oct 3, 2024 · 1 comment

Comments

@martinthomson
Copy link
Collaborator

The DAP protocol is presently structured so that the leader accepts submissions directly (and optionally, via Oblivious HTTP).

Our design has the advertiser site, or their delegate, collect a bunch of submissions before submitting them in batches. Batching submissions makes it less necessary to use something like Oblivious HTTP. It also offers a number of optimization opportunities. Most -- if not all -- submissions will share metadata, so it would make sense to ensure that metadata is only transmitted once. That is not currently compatible with the structure of submissions defined in DAP, but a batch submission extension should be possible.

@martinthomson martinthomson moved this to Essential in Level 1 API Nov 25, 2024
@cjpatton
Copy link

cjpatton commented Dec 9, 2024

We considered this feature for DAP. In the early days, @ekr and others objected, noting that this could be handled at the HTTP layer. (The HTTTP client could send many upload requests simultaneously on the same HTTP stream.)

That said, I'd be supportive of this change if it makes your life easier. We could either:

  1. Add it to the base draft (please file an issue at https://github.com/ietf-wg-ppm/draft-ietf-ppm-dap/issues).
  2. Define this DAP endpoint in a new document.

I don't have a preference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Essential
Development

No branches or pull requests

2 participants