×

Overcoming Dyn: How DataXu Avoided Disaster the Day the Internet Went Dark

On 21 October, 2016, the internet faced its largest Distributed Denial of Service (DDoS) attack on record, with hackers knocking down dozens of the web’s top sites like Amazon, Twitter, Reddit, PayPal, Spotify, Netflix, Pinterest, GitHub, and many more, in one fell swoop in the now famous Dyn cyberattack. For those outside the marketing world, the Dyn attacks of 21 October were mostly just a major inconvenience to lose access to their favourite sites; but for advertisers, it meant millions of ad dollars were at risk of entering a black hole. Imran Malek, supply chain product manager, DataXu, explains how his team mitigated against the huge risks presented by the unusual Dyn attacks, by leveraging the interactive analytics platform, Metamarkets, to manage the programmatic spending of their partners.

Entering the war room

DataXu are an independent programmatic platform that help CMOs and their agencies around the world leverage the power of programmatic advertising to drive marketing ROI. At DataXu, Malek is responsible for the health of the company’s inventory supply chain, as well as the technical integration within that supply chain.

On an otherwise typical Friday, Malek arrived at work and immediately discovered the irregularities caused by the Dyn outage with his team at 8:31am ET. Malek gathered a group, including his VP of engineering, along with several engineering directors and technical engineers, to enter an office 'war room' to determine the scope of the issue.

“A lot of the internet went down, including some of our infrastructure, because a lot of our main routing was being done through Dyn”, said Malek. “We immediately noticed some intermittent network failures and responded quickly to make sure they wouldn’t impact our customers. Our real-time bidding systems were holding up pretty well, despite the outages, but we couldn’t be 100% sure of the impact. The more pressing concern was that we were bidding on requests without all the right information for a short period of time.”

With the issues outlined, Malek’s team began coordinating with DataXu’s exchanges and partners to explain the issues and have them stop sending bids. From the early moments in the war room, they pulled up data from Metamarkets on a big screen to display in real-time the results of the changes being made.

“We decided to pump the brakes and flip the kill switch, turning off all the bidders to make sure we didn’t over-spend on behalf of our customers”, said Malek. “Once we turned everything off, we needed to confirm as quickly as possible that everything was in fact getting turned off. We wanted to get good feedback from all of our bidder partners about whether or not they could confirm that we are not sending them any more traffic when they send us requests.”

That’s where Metamarkets came in handy – Malek says that with the interactive analytics time-series charts from Metamarkets, they could detect if any bid curves were still rising with more bidding, since they couldn’t detect that with certainty on the affected systems. They had easy access to any data they needed in the Metamarkets dashboards, and near-instant confirmation upon switching off any particular stream that they had successfully mitigated against the risk of potential runaway spend.

The result? Malek says they were able to see only about 20% less spending than they would normally see on an average Friday. “I’m sure that if we didn’t have that real-time feedback mechanism available, that number could have been much higher and we could have lost a full day’s worth of spend, as opposed to only losing a very small portion of it”, said Malek. With a potential for runaway spend that could have totalled in the USD$200,000-USD$300,000 (£137,000-£205,000) range, he says they only ended up losing about USD$4,000 (£2,736) that day.

“Having a real-time data tool like Metamarkets to have that instant feedback is something that I think you don’t realise how much you need it until it’s an emergency, so it was great to have that.”

Another Dyn attack hit around 12:15pm ET, requiring another round of communications from the DataXu team to halt bidding. They continued to track Metamarkets real-time data in the corner of the war room, and when the attacks came to a close that evening, they slowly ramped systems back up to 100% by around 7:30pm ET, using Metamarkets data to confirm everything was back and working smoothly.

From user to customer

DataXu’s development team had been using Metamarkets through their exchange partners for years, accessing logins from those individual partners to view programmatic data. But the crucial insights provided during the Dyn attack helped push them over the edge to work directly with Metamarkets for their programmatic analytics needs.

Malek says one of the main advantages he gets today from using the platform is understanding the bid stream with a level of granularity they need during troubleshooting. DataXu have several internal metrics dashboards, but Malek says they often serve end-point or hardware-specific purposes.

Metamarkets provides him with the ability to drill down on his data and answer exactly the questions he needs to improve revenue for his clients. Rather than spending valuable time and taking up loads of computing power digging deep into log files, the data is presented in an easy-to-understand, interactive format.

For example, Malek says that deal IDs that aren’t sending often is the result of a creative mismatch or a domain that keeps getting blacklisted. Metamarkets allows him to quickly identify that issue by looking at whether requests for that ID are coming from mostly one domain. They can quickly work to take that domain off the black list and start the campaign spending again.

“I can then see the entire performance of that deal ID in our bid stream right in front of me”, said Malek. “I can know whether or not that deal ID is actually spending – and, if not, I can use Metamarkets to drill down to the reasons why.”

“Without Metamarkets, we’d have to pull through the data logs, line by line, looking for that specific deal ID. We might be able to identify a trend that they all have the same domain, but at some point, when you’re looking at multiple log lines in sequence, your eyes can glaze over”, said Malek. “Whereas in Metamarkets you can actually see these patterns aggregated up – the correlation between deal IDs and domains stands out immediately.”

With their full integration with Metamarkets now in place, DataXu will be able to apply that process to all of their data directly. So you can be sure that when the next big outage hits – they’ll be ready to respond in real-time.