Hacker News new | ask | show | jobs
by jaachan 1966 days ago
Some of these suggestions (like the sleep(16)) also apply to non-HTTP APIs.

In fact, I find the headers part of the suggestion the least useful. No client will check these headers.

1 comments

Well, the context matters a lot:

  - Is it a distributed system ?
  - Are the clients yours ?
  - Is it one server, or our there thousands of components with the same API ?
These things influence what's possible and what's a good/bad strategy.