by vog · 10y ago · 0 comments
However, two things look a bit strange to me:
> On the day following the API termination, I received more than 1TB of incoming requests, [...] it doesn’t make sense for me to keep paying for data transfer overcharges.
This looks like the author chose a very bad hosting plan. For example, Hetzner simply lowers your connection speed if you get above the limit, and you only pay for additional traffic (and speed) if you really want to. Most other providers handle the situation in a similar way.
I know that those plans existed since at least ~15 years ago. At that time, our main criterion on a hosting provider was their traffic payment plan. We considered only providers who had a clear upper bound on the monthly costs.
> I stopped the service as planned, on November 15th, after a two weeks notice.
This seems to be very short period for closing down a service. Of course, there were no paying customers, so they got more than they paid for. However, some trouble could have been avoided by a longer closing period. In particular, it is much easier to get rid of annoying after-period users if you are able to deny their requests with a simple "You had 3 months to prepare for the shutdown!"
As mentioned elsewhere in the text, the core problem was that everything was hosted on the main domain (and IP). Hetzner at least only allows throttling per IP, which would have crippled the whole server. With everything tied together like that, there's little wiggle room.
Takeaway here, use distinct (sub-)domains for every project/product/whatever to prepare for cases like this.
> This seems to be very short period for closing down a service. Of course, there were no paying customers, so they got more than they paid for.
Especially as setting up your own Telize instance seems to take about 15 minutes including OS installation.
> However, some trouble could have been avoided by a longer closing period. In particular, it is much easier to get rid of annoying after-period users if you are able to deny their requests with a simple "You had 3 months to prepare for the shutdown!"
Users dense enough to make their products break on a 404 are rarely troubled by reason. Or deadlines. I doubt they'd have been deterred by a six months period – embedded code like that is a one-off affair and nobody checks on it until it breaks.
That's because "things changed when [Frederic] discovered Telize was being used by malware and ransomware."
> However, some trouble could have been avoided by a longer closing period.
Are you suggesting he should have willfully and intentionally continued allowing his service to be used by malware and ransomware to harm innocent web users? Seems like more trouble was prevented by shutting down as quickly as possible.
In my case, I was actually using Telize for the Geo IP lookup for some non mission critical stuff which only ran on-demand. I actually only noticed it was offline in mid-December when I wanted to use it. It took a few minutes to read the notice, and another 5 to find a similar free provider and parse their JSON. But the point remains; I don't think most people were aware of the impending shut down until it happened. Perhaps switching it off for a day or two then back on again would have got more people no notice. Either way, it was a free service, so I guess you can't complain much.
As a consumer of the API I could then (temporarily) ignore those errors and keep using the message body while I make plans to get off the platform.
EDIT: How does one go about proposing a new HTTP status code, anyway?
Looks like you submit proposals here: https://datatracker.ietf.org/wg/httpbis/documents/ I'll lurk a while and learn the culture before entertaining submitting a proposal. ^_^
Imo two weeks is plenty of time since you probably shouldn't be using free services like this in any actual product (or at least not without a backup or at very least proper logging)