
Raffi Krikorian is a smart engineer and technical manager; I've know him for decades, but didn't realize that he was currently Vice President for Platform Engineering at Twitter. This interview with him at InfoQ gives a really fascinating flavor for how Twitter's reliability engineering is baked in at the systems level:
So Decider is one of our runtime configuration mechanisms at Twitter. What I mean by that is that we can turn off features and software in Twitter without doing a deploy. So every single service at Twitter is constantly looking to the Decider system as to what are the current runtime values of Twitter right now. How that practically maps is I could say the discover homepage, for example, has a Decider value that wraps it, and that Decider value tells discover whether it's on or off right now.
So I can deploy discover into Twitter and have it deployed in the state that Decider says it should be off. So this point we don't get an inconsistent state. The discover, for example, or any feature at Twitter runs across many machines. It doesn't run on one machine, so you don't want to get in the inconsistent state where some of the machines have the feature and some of them don't. So we can deploy it off using Decider and then when is on all the machines that we want it to be on, we can turn it on atomically across the data center by flipping a Decider switch.
This also gives us the ability to do a percentage-based control. So I can say actually now that it's on all of the machines, I only want 50% of users to get it. I can actually make that decision as opposed to it being a side effect of the way that things are being deployed in Twitter. So this allows us to really have a runtime control over Twitter without having to push code. Pushing code is actually a dangerous thing, like the highest correlation to failure in a system like ours, not just Twitter but any big system, is software development error. So this way we can actually deploy software in a relatively safe way because it's off. Turn it on really slowly, purposely, make sure it's good and then ramp it up as fast as I want.
Interview with Raffi Krikorian on Twitter's Infrastructure
(via O'Reilly Radar)
report this ad
Six weeks after Mother Jones published its explosive undercover expose on the abuses, shortcomings and waste in America’s vast private prison system, the Department of Justice has issued a ban on renewal of federal private prison contracts (where they are not able to do this, officials are told to “substantially reduce” the scope of those […]
Starting in 2000, Walmart began an aggressive cost-cutting campaign that removed greeters, reduced floor staff, and replaced cashiers with automated checkouts; the more this went on, the higher the crime-rate at Walmart soared, everything from shoplifting to deadly violence. In true Walmart style, the world’s largest retailer has offloaded the costs associated with this crime […]
Francis Tseng’s simulator game invites you to “grow your startup and please those investors until there’s nothing left to give” by building biotech, defense, machine learning, cloud computing, drone and space companies with a crew of employees whose low wages can be mitigated with bulletproof coffee and whose products can be sold with “causewashing” sponsorships […]
With all of the digital information out there—from credit card numbers to Instagram posts to consumer behavior—there’s so much data that businesses struggle with the task of storing, managing, and analyzing the information. That’s why Big Data is one of the fastest growing career paths in the world. Big Data is a giant, intimidating subject, which is why […]
We’re always searching for, borrowing, and losing Lightning cables, and that’s why we are loading up with the Apple MFi-Certified Lightning Cable: 3-Pack.These Apple-certified USB cables let you charge your iPhone, iPad, or iPod via any USB port—whether you prefer your computer or the Apple USB Power Adapter. And since there’s three of them, you never […]
Mophie’s gadgets are reliable, minimalist, and stacked with all the right features. We use these two gadgets to keep our phones, tablets, e-readers, and other electronics charged.Recharge on-the-go with the Mophie Powerstation XL External BatteryThe Mophie Powerstation XL ($39.95) packs enough power to re-charge your phone eight times over. It has three levels of charging, so […]
report this ad