News for hackers. Stuff that matters.
Re:The right way to turn off your old APIs by toolslive on Saturday January 23, 2021 @03:42AM (#25880709)
This one is about HTTP APIs. Shouldn't the title reflect this?
Re:The right way to turn off your old APIs by jaachan on Saturday January 23, 2021 @04:18AM (#25880870)
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.

Re:The right way to turn off your old APIs by toolslive on Saturday January 23, 2021 @06:07AM (#25881421)
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.