| ▲ | wombatpm 4 hours ago | ||||||||||||||||||||||||||||||||||
How are you supposed to deal with recalcitrant users? I work for an organization that is ending support for several long running APIs. And by support I mean turn off the servers, you must move to an entirely new platform. We’ve sent out industry alerts, updated documentation and emailed all user. The problem is the contact information goes stale. The developer who initially registered and set up the keys, has moved on. The service has been running in production for years without problems and we’ve maintained backwards compatibility. So do we just turn it off? We’ve put messages in the responses. But if it’s got 200ok we know no one is looking at those. We’ve discussed doing brownouts where we fail everything for an hour with clear error messages as to what is happening. Is there a better approach? I can’t imagine returning wrong data on purpose randomly. That seems insane. | |||||||||||||||||||||||||||||||||||
| ▲ | ryandrake 3 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
Step 1: Stop thinking of them as "recalcitrant". They're not recalcitrant. They bought (presumably for money) a product, and expect that product to keep working as long as they need it to! They don't expect the vendor to pull the rug out from under them and break it just because the API is old and icky and their software engineers are sad to keep it around. Instead of "deprecate like you mean it" the article should be: "Release software like you mean it" and by that, I mean: Be serious. Be really, really sure that you are good with your API because users are going to want to use it for a lot longer than you might think. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| ▲ | GuB-42 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
> How are you supposed to deal with recalcitrant users? Keep the servers running, but make the recalcitrant users pay for the costs and a then some more. It is actually a common strategy. Big, slow companies often have trouble with deprecation, but they also have deep pockets, and they will gladly pay a premium so that they can keep the API stable at least for some time. If you ask for money, you will probably get more reactions too. | |||||||||||||||||||||||||||||||||||
| ▲ | mxey 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
> We’ve discussed doing brownouts where we fail everything for an hour with clear error messages as to what is happening. That sounds like the best option. People are used to the idea that a service might be down, so if that happens, they’ll look at what the error is. | |||||||||||||||||||||||||||||||||||
| ▲ | tormeh 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
Sleep()s that increase exponentially every month seem like a good solution. When the API has a 10 second latency hopefully someone starts asking questions. If not I think brownouts are a decent idea. | |||||||||||||||||||||||||||||||||||
| ▲ | kerkeslager 3 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
A technique I used on a project was to change the URL, and have the old URL return a 426 with an explanation, a new link, and a clear date when the moved API. This reliably breaks the API for clients so that they can't ignore it, while giving them an easy temporary fix. Clients weren't happy, but ultimately they did all upgrade. Our last-to-upgrade client even paid us to keep the API open for them past the date we set--they upgraded 9 months behind schedule, but paid us $270k, so not much to complain about there. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||