Subscribe to receive notifications of new posts:

ReplayLastGoal and CloudFlare: Fanning World Cup Flames


3 min read

The World Cup is, at once, exhilarating and agonizing, and not just for those lucky souls in Rio or Manaus, folks working from home, or anyone else sitting happily in front of a TV. I’m talking about the quiet victories and silent pains loyal fans everywhere experience week after week at their desks. The muffled “YES!” breathed through your teeth as you check the FIFA app update; or a soft sigh when a text from a friend informs you that, yep, unfortunately, Belgium managed to score in overtime; and all too many of us know the slow burning resentment that accompanies those howls wafting through an open window from a bar near by. Sure, from your desk you can see the score, you can read the updates, you know who is winning—but you need to see that goal! And the major sports networks won’t start showing replays for hours!

Replay that last goal! NOW!

So, too, was Xavier Damman, co-founder of Storify, stuck at his desk during the World Cup. He felt our pain, but, unlike the rest of us, he also knew there was a solution. With a vision for innovation and disruption, Xavier spent a few long nights building ReplayLastGoal is a Twitter bot that automatically records and posts—instantly—an animated gif of the most recent World Cup goal. By the time you get that phone alert, or start hearing those cheers from down the street, you can watch the goal yourself on Twitter via @ReplayLastGoal. I’ll say it for all the World Cup fanatics far from Brazil, out of reach of a TV, but still trying to follow the action from the office: Thank you.

Xavier thinks that automatic and instant generation of sports highlights is the way people will follow sports in the future. So what did he do? He open sourced his code, and kept the project not for profit. “Use my code!” Xavier exclaimed on the phone this afternoon, “FIFA! ESPN! use my code! Give your fans what they want: instant access to goal replays as they happen!” That’s the idea, and, to pour some sugar on top, Xavier wrote hooks for Hipchat, Slack, and Flowdock.

CloudFlare: changing the game, delivering the passion.

The World Cup is truly an international event, and Xavier created a simple solution to a global problem. has changed the way those of us stuck in an office during the big game can participate in the glory.

It only took one server for Xavier to create and host’s content, but, given the massive World Cup fan base, it wasn't scalable. At best, it would be great for a few friends to enjoy.

Sites like are prone to downtime because, if they are massively popular, they see spikes in traffic, and those spikes can overwhelm a single server. You know this afternoon, as soon as Germany or Brazil score, thousands of people are going to want to see the replay, and will get a flood of traffic.

That might be a problem if CloudFlare wasn't changing the game. But, in five minutes or less, Xavier put on the CloudFlare network, letting us handle those traffic spikes. At the same time, we are able to distribute the content globally, bringing each goal closer to World Cup fans across the planet.

According to Xavier, "Developers have access to powerful tools that increase their productivity like never before. One developer in a garage can develop, in just a few nights, things that used to take months and months for a team to do. It’s companies like Cloudflare that make this possible. CloudFlare allowed me to focus on the core functionality of the app which is to automatically take a video clip and turn it into an animated GIF file. CloudFlare takes care of load balancing and distributes the content around the world through their CDN. I can rest easy because my server only has to be able to scale to serve one request."

Keeping stable during spikes in traffic, and distributing its content globably is just one more way CloudFlare is changing the game to build a better web.

We protect entire corporate networks, help customers build Internet-scale applications efficiently, accelerate any website or Internet application, ward off DDoS attacks, keep hackers at bay, and can help you on your journey to Zero Trust.

Visit from any device to get started with our free app that makes your Internet faster and safer.

To learn more about our mission to help build a better Internet, start here. If you're looking for a new career direction, check out our open positions.

Follow on X


Related posts

March 06, 2024 2:01 PM

Magic Cloud Networking simplifies security, connectivity, and management of public clouds

Introducing Magic Cloud Networking, a new set of capabilities to visualize and automate cloud networks to give our customers secure, easy, and seamless connection to public cloud environments...