News for hackers. Stuff that matters.
Re:Tumblr just dropped out of DNS by emeraldd on Wednesday December 12, 2012 @06:32PM (#4913128)
Wow! Killing DNS is a nasty way to take down the site. That could take hours to come back.
Re:Tumblr just dropped out of DNS by adrr on Wednesday December 12, 2012 @07:23PM (#4913360)
Recovery is going to spread over a few hours which could be a benefit.
Re:Tumblr just dropped out of DNS by takeda64 on Wednesday December 12, 2012 @06:44PM (#4913196)
Not really. Looks like their domain is configured so negative responses are cached only for 300 seconds (5 minutes).
Re:Tumblr just dropped out of DNS by insaneirish on Wednesday December 12, 2012 @07:40PM (#4913427)
TTLs are a recommendation, at best. Not worth relying on.
Re:Tumblr just dropped out of DNS by Florin_Andrei on Wednesday December 12, 2012 @07:45PM (#4913458)
Technically true. In practice it does/could work pretty well.

Source: I've seen pure DNS-based site failover and it never had a problem.

Re:Tumblr just dropped out of DNS by bigiain on Wednesday December 12, 2012 @10:08PM (#4913932)
True. We did a fair bit of experimenting with this (for both load balancing and failover) a few years back, and so long as you stay at 300sec or greater it works fine for well over 99% of all the traffic we tested with. Once you dropped below 300 seconds problems started appearing - from memory some older versions of Windows would default to 900secs, 3600secs, or 86400secs.

I haven't revisited that research for 3 or 4 years, but our findings then led to a policy of "if you're prepared to accept ~15mins of mixed availability (after you've identified a problem and hit the panic button) then DNS based failover works well enough. If you need significantly better response times than that, you need proper hardware/network based failover"

Re:Tumblr just dropped out of DNS by Florin_Andrei on Thursday December 13, 2012 @12:13PM (#4916719)
Using 10sec TTL currently for site failover. No complaints.
Re:Tumblr just dropped out of DNS by bigiain on Thursday December 13, 2012 @06:01PM (#4918625)
Do you have much Windows XP traffic? From memory, we saw evidence of XP using 86400sec (1 day) TTLs if you tried publishing TTLs lower than 300. (This was back in '08, so perhaps things have changed since. I'm still seeing ~30% WinXP in some of my Google Analytics accounts...)
Re:Tumblr just dropped out of DNS by TallGuyShort on Wednesday December 12, 2012 @08:28PM (#4913624)
Exactly - my biggest complaint about ELB on AWS is that they relied on people honouring a TTL that was ridiculously low, and as such now honoured by many clients.
Re:Tumblr just dropped out of DNS by sveiss on Wednesday December 12, 2012 @09:54PM (#4913903)
Yup.

The day I got a bunch of Netflix traffic sent to servers I was running thanks to ELB and caching resolvers not honoring TTL values was great fun.

(That was also the day we learnt that our 500 page was actually really expensive to render, which added to the excitement...)

Re:Tumblr just dropped out of DNS by Silhouette on Wednesday December 12, 2012 @06:47PM (#4913208)
Given that they've been having can't-see-blogs-at-all scale problems for something like 24 hours already (I was looking for one last night, and it's currently nearly midnight UK time) I suspect a few more hours to clear up whatever fundamental screw-up is behind this could be a good investment.
Re:Tumblr just dropped out of DNS by nwh on Wednesday December 12, 2012 @07:11PM (#4913303)
Seeing as they have engineers deploying code directly into production with `vim`, a fundamental screwup was inevitable.
Re:Tumblr just dropped out of DNS by IgorPartola on Wednesday December 12, 2012 @07:25PM (#4913367)
No build process? In 2012?

Do you have a reference for deploying code with vim?

Re:Tumblr just dropped out of DNS by nwh on Wednesday December 12, 2012 @07:29PM (#4913388)
The source of their index.php, and the subsequent discussion on HN. Just imagine someone franticly trying to get into insert mode, and saving on a production server. It stayed like that for a reasonable period before someone noticed.

http://pastebin.com/raw.php?i=aPQJUh1Q

http://news.ycombinator.com/item?id=2343330

Re:Tumblr just dropped out of DNS by fryguy on Wednesday December 12, 2012 @10:47PM (#4914024)
That doesn't necessarily mean that they don't use source control or build control. The index file linked has tons of production-specific configuration information (database ip/keys), which wouldn't be checked into source control under best practices. That would require manual editing on the server to set up correctly.
Re:Tumblr just dropped out of DNS by bashtoni on Thursday December 13, 2012 @01:00AM (#4914486)
s/manual editing/mangement from configuration management like Puppet or Chef/
Re:Tumblr just dropped out of DNS by dan1234 on Wednesday December 12, 2012 @07:26PM (#4913375)
It would have more polite to point the A record at another server with a friendly message about the outage and any estimated resolution time.

I think the majority of tumblers will be pretty confused atm.

Re:Tumblr just dropped out of DNS by nwh on Wednesday December 12, 2012 @07:35PM (#4913406)