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

Backoff strategy for discovery #32

Closed
rhiaro opened this issue Sep 22, 2016 · 8 comments
Closed

Backoff strategy for discovery #32

rhiaro opened this issue Sep 22, 2016 · 8 comments

Comments

@rhiaro
Copy link
Member

rhiaro commented Sep 22, 2016

Similar to w3c/webmention#48, how many times should a Sender/Consumer that wants to do discovery several times on one resource, or multiple target resources on the same domain, try to find the inbox endpoint before it gives up? To avoid knocking over a server, or being blocked for too many GET requests?

@rhiaro
Copy link
Member Author

rhiaro commented Sep 22, 2016

Update: webmention is resolving this by adding something or replacing the User-Agent value (if present) but I think this is not possible or very complicated for JS implementations, so not a good recommendation for LDN

@akuckartz
Copy link

I suppose that guidelines regarding such http-questions exist somewhere.

@csarven
Copy link
Member

csarven commented Sep 22, 2016

Added a non-normative sub-section "Retry Discovery" under Considerations: da56c9a

@rhiaro
Copy link
Member Author

rhiaro commented Sep 23, 2016

F2F resolution was to add note to SWP (or external Note) about not accidentally beating servers up with discovery. Unless @BigBlueHat finds an existing note about it first.

w3c-social/social-web-protocols#38

@rhiaro
Copy link
Member Author

rhiaro commented Sep 23, 2016

Decision: Put a specific link in Discovery section linking to section in SWP.

@aaronpk
Copy link
Member

aaronpk commented Sep 28, 2016

What does "courteous" mean? Also this fragment ID referenced in 2bf7c0b doesn't seem to exist https://www.w3.org/TR/social-web-protocols/#targeting-and-discovery

@BigBlueHat
Copy link
Member

Perhaps recommending something quantifiable like Exponential Backoff would be best. There are lots of libraries for most common programming languages that do that--even for HTTP APIs.

@rhiaro
Copy link
Member Author

rhiaro commented Sep 28, 2016

Sorry about the broken SWP fragment, it's pre-empting a new WD: http://w3c-social.github.io/social-web-protocols/#targeting-and-discovery

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

No branches or pull requests

5 participants