Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This one is about HTTP APIs. Shouldn't the title reflect this?


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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: