Finance

Inside Two Sigma's cloud strategy: hundreds of new engineers, a multi-provider approach, and 'tremendous savings'

David Siegel, cofounder of Two Sigma, in New York in 2017.
David Siegel, cofounder of Two Sigma. Misha Friedman/Getty Images
Read in app

Two Sigma had a big problem in 2014: the compute power needed for the quantitative fund's research workflows was 10 times greater than what its data centers could provide.

"We said, 'You know what, we're not going to build out a 10x physical presence. That's just enormous, that feels wrong to us," Camille Fournier, Two Sigma's head of platform engineering, told Insider.

As a quantitative fund, the problem was particularly salient for Two Sigma. Quant funds rely on mathematical and computer-based modeling to make their bets in the market, meaning their demand for computer firepower can often be enormous. Two Sigma, founded by billionaires John Overdeck and David Siegel, is known for pushing the limit on computing and data usage, even amongst its fellow quant peers.

Instead of building more physical data centers, the decision was made to push the fund into the public cloud.

Today, the New York-based fund now has a cloud strategy where the majority of its workloads are spread across multiple public clouds. 

The $58 billion fund uses a combination of public cloud providers — mostly Google Cloud Platform (GCP), in addition to Amazon Web Services and Microsoft Azure — to host a wide set of programs and applications. About 70% of the firm's capacity is on the public cloud, with the remainder hosted in on-premise data centers, Fournier said. 

As Two Sigma's cloud strategy has matured, so too has its hiring of engineers focused on the tech. 

When Fournier joined the firm in 2017, around 10% of her platform-engineering group focused on public-cloud work. Now, half her team of more than 100 engineers works on the tech. 

And that group is set to grow "by several hundred engineers," in the coming years, as Two Sigma hires more people with a focus on data and cloud-focused distributed systems, Fournier added.

'Multicloud doesn't necessarily mean cloud agnostic'

In the beginning of its cloud journey, Two Sigma was mostly using AWS to host its research workloads. 

But the firm has shifted much of that work to GCP in a move that began around 2017 as Two Sigma expanded its cloud capabilities, Fournier said. 

The use of BigQuery, GCP's data warehousing and analytics service, for Two Sigma's research work was a driver in its adoption of Google Cloud. 

"There really isn't a comparable product that we could be running on prem," Fournier said. There was also a lower cost of ownership when using services built in the cloud versus building something internally, she added. 

Two Sigma still leverages AWS for certain storage capabilities, and is currently evaluating scaling up certain research workloads there, Fournier added. It's also using Microsoft Azure, and the fund still maintains its physical data centers despite its cloud push.

But while Two Sigma takes a multi-cloud approach, the goal isn't to have all tools operate on multiple clouds.

The fund adopted a fit-for-purpose approach that sees it use different tools in different circumstances.

"Multi-cloud doesn't necessarily mean cloud agnostic," Carter Page, head of data engineering at Two Sigma, told Insider. 

Two Sigma's hires have also reflected an increasing embrace of GCP. The firm poached Page, a former director of engineering at Google where he built cloud databases and led a team of 100, this past June. Page now oversees how data is ingested, standardized, and flows through Two Sigma's tech stacks and to its investment teams. 

The fund's former chief technology officer, Alfred Spector, was also a Googler before joining Two Sigma, which has poached the most talent from big tech firms of any fund over the last decade. 

A new approach to compute

Two Sigma has also recognized cost savings by using a cloud tool that allows it to leverage GCP's excess compute power at a reduced cost, a feature called preemptible virtual machines

The tradeoff is that the compute power isn't guaranteed, since GCP might not always have leftover compute capacity. As a result, preemptible VMs are ideal for tools and apps that don't need continuous compute power. 

Still, the feature can lead to drastic savings. According to Google Cloud, preemptible VMs have lowered compute engine costs by 80% in some cases. AWS and Microsoft Azure also have similar tools for their excess compute.

The tool has led to "tremendous savings," Page said, and prompted Two Sigma to consider doing more batch workloads, where computing is scheduled to be done at intervals, to leverage preemptible VMs.

The effort is best exemplified in its research, where the firm runs both daily simulations and long-run, historical regression analyses.  

"We actually have done a lot of work to make it so that we can checkpoint and restart workloads when they get interrupted so that we don't lose progress, so we can continue to make forward progress on these very large scale computations," Fournier said.

As Two Sigma realizes advantages related to cost and faster access to cloud-based tools and machine types, there's an "inevitability of just more and more of our internal operations mov[ing] to cloud," Page said.

Read next

Bradley Saacks
Bradley Saacks
Bradley Saacks covers hedge funds and other asset managers for Business Insider from New York. He first wrote about the multi-trillion-dollar industry for Business Insider from New York in late 2018, after spending two years covering mutual funds for the Financial Times' trade publication, Ignites.He left Business Insider for a little over a year, starting in mid-2022, and worked as a business reporter for Semafor, a media startup. He rejoined Business Insider in 2023, this time in the publication's London office, and has since relocated back to New York. A graduate of the University of North Carolina at Chapel Hill's School of Media and Journalism, he was the recipient of the O.J. Skipper Coffin Award, which is given to the top graduating senior in the reporting track.During his time at Business Insider, he has broken news on the biggest names in hedge funds, including Paul Singer's Elliott Management, Ken Griffin's Citadel, Seth Klarman's Baupost Group, and more. He is interested in telling stories about the people behind the scenes who are driving big changes at the biggest firms. He can be reached on WhatsApp and Signal at +1 919 816 5537.Notable stories include:
Carter was a reporter on the finance team at Insider covering Wall Street and investment banking. Previously, Carter wrote about fintechs and banking technology.Some of Carter's previous coverage includes a look at how Robinhood has used gamification to entice a new generation of mobile investors, a deep dive into the tech transformation shaping Truist, an inside view of JPMorgan Chase's Columbus, Ohio tech hub, and a breakdown of SoFi's plans to offer pre-IPO access for customers.He has a master's degree from Columbia Journalism School and is based in New York.
Bianca covered the intersection of finance and technology for Business Insider as a senior reporter, writing about the behind-the-scenes tech powering the country's largest financial firms. She is interested in all things cloud, data, AI and machine learning, crypto and blockchain, and cybersecurity.Her reporting has taken readers inside some of the biggest banks, hedge funds, private equity firms, and asset managers and their playbooks for spending billions every year on technology. When she's not covering finance giants, Bianca also brings readers to the bleeding edge of fintech innovation, frequently covering exciting and scrappy startups and the giant VC investors backing them. Selected works:Everything we know about how Wall Street is adopting AI, from Goldman Sachs to BlackstoneJamie Dimon says to quit if you don't like his RTO demands. Some of his tech workers might do just that.Here are 49 of the most promising fintech startups transforming how we bank, invest, and pay, according to 27 top investorsAI is fueling a culture clash inside hedge fundsInside AI's transformation of Wall Street, according to 35 insiders at banks, hedge funds, and asset managersThe secretive world of Wall Street technology is opening up like never beforeWall Street's top tech priority: building internal search engines