pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
Res facta quae tamen fingi potuit ([personal profile] pauamma) wrote in [site community profile] dw_dev2016-12-31 03:31 am
Entry tags:

Question thread #48

It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
ewx: (Default)

[personal profile] ewx 2017-01-02 06:41 pm (UTC)(link)
http://wiki.dwscoalition.org/notes/Bot_Policy asks that clients rate-limit their requests.
Is there a suggested request rate, as a default to build into client software?

Apologies if this isn't the right place to ask; if not, where would be better?
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2017-01-03 04:23 am (UTC)(link)
Depends on what you're doing, but 1 QPS is probably pretty reasonable for most purposes.
ewx: (Default)

[personal profile] ewx 2017-01-03 09:17 am (UTC)(link)
The initial application is backup. So:
- one bulk download the first time round
- subsequent intermittent, (usually) smaller updates
- not much user expectation of responsiveness

But the API library is separated from the user-facing functionality so may support other functions, in a neutral way, in the future.