Skip to content
Fernando Bandeira

Processing donations for VAX Live

I designed the serverless architecture that took the online donations for Global Citizen's VAX Live, a concert broadcast in more than 100 countries. Goodworld was its only online donation provider.

Halftone drawing of a tilted broadcast microphone on a stand

VAX Live: The Concert to Reunite the World was Global Citizen’s campaign to get COVID-19 vaccines to the countries that could not afford them. The concert was taped on 2 May 2021 at SoFi Stadium in California, and it was one of the first large concerts since the pandemic began. It was broadcast on 8 May on ABC, CBS, FOX, iHeartMedia and YouTube, and aired in more than 100 countries. Selena Gomez hosted. Prince Harry and Meghan chaired the campaign. President Biden and Pope Francis sent video messages.

Promotional poster with the performers and broadcast details for VAX Live
The VAX Live broadcast, 8 May 2021

Global Citizen reported that the campaign mobilized $302 million for COVID-19 medical tools and more than 26 million vaccine doses. Those commitments came from governments, philanthropists and companies. The public’s online donations went through Goodworld, the event’s only online donation provider. I was Goodworld’s CTO, and I designed the architecture that took the traffic.

A page for each campaigner

We built the event’s main donation page and separate pages for the celebrities who promoted it.

Prince Harry and Meghan promoted the page below on 6 May, their son Archie’s birthday. On it, $5 paid for one vaccine. The donations went to Gavi’s Vaccine Alliance Friends Fund, which CAF America sponsored. Gavi buys COVID-19 vaccines for countries that cannot afford them. The Mastercard Impact Fund, the Seadream Family Foundation and a public charity matched the donations. That was one campaigner’s page among several. Global Citizen reported that this appeal alone mobilized $535,000, the price of 107,000 doses.

The Global Citizen fundraising page promoted by Prince Harry and Meghan
The donation page that Prince Harry and Meghan promoted on globalcitizen.org

Traffic that arrives all at once

The traffic was concentrated in a few moments. Whenever the broadcast or a celebrity shared a link, the viewers opened it together. Between those moments the site was quiet.

Regular autoscaling was too slow for that. A spike arrived faster than new servers could start.

We cached everything we could. We also moved some endpoints to serverless functions on AWS. A new instance of a function started in milliseconds, and after that cold start it served requests at the usual speed.

I load-tested the system before the event. We also shared some of the links in advance, to test the pages with real traffic before the broadcast.

Visitors in every region

The broadcast went out worldwide, and visitors came from all over the world. Until then we had operated mostly in the United States, and our servers were there.

The same two choices solved this. A CDN with edge locations around the world served the cached site, so latency stayed low wherever the visitor was. We deployed the serverless endpoints to AWS regions around the world as well. Someone donating in Japan reached an endpoint in Japan.

Our database was MongoDB, which could also run in every region. We configured that so one click would turn it on. We ended up not turning it on, because what we already had was enough.