Menu
Fly.io

Driven by a desire to build a content delivery network (CDN) that could be controlled by developers, Kurt Mackey and Jerome Gravel-Niquet founded Fly.io in 2017. In May 2018, the company released an open source JavaScript runtime that allows data to be kept close to end users at the edge, replicating for dynamic apps what CDNs do for static sites. Fly also offers a hosted platform.

2017
FOUNDED
Chicago / Remote
LOCATION
< 1 ms
USER-TO-JAVASCRIPT ENV. CONNECTION TIME

Packet took us to 16 cities very fast, and they've added two data centers since then. We're hoping that Packet keeps growing faster than we do.

Kurt Mackey | CEO

Fly.io: Making the Edge Accessible for Developers

After spending six years building the Compose Database-as-a-Service platform that was acquired by IBM in 2015, Kurt Mackey and Jerome Gravel-Niquet say they set out to do something really hard. 

“We have a long history with CDNs, which are really good at serving up the same static image to a million people very fast, but it always irked us that you couldn’t apply those same sort of edge caching mechanisms to applications that don’t serve the same thing to a million people,” says Mackey. “We wanted to make what I now call a programmable edge, which is a CDN that’s controlled by developers.” Of course, he adds with a laugh, “we didn’t really know what that meant when we started.”

The first thing they did was build a small CDN that they ran applications on “so we could see what people were doing,” and then developed a platform underneath it, says Mackey. Launching under the company name Fly.io, they released in May 2018 an open source JavaScript runtime that’s designed to run globally, along with a hosted platform. On Fly, “people write JavaScript to run all over the world and keep data really close to their users, which replicates for their dynamic apps what a CDN does for static sites,” says Mackey, who is a developer and CEO at the company.

Living on the Edge

With what Fly calls Edge Apps, “you have users with their devices and you have your application that’s probably on a server in Virginia or somewhere else, and there’s everything in between,” says Mackey. “The scope of our mission is to give developers control over the whole edge, which is everything between a user device and wherever the application runs.”

Enabling that mission is Fly’s partnership with Packet. As a startup, the company didn’t want to have to worry about managing farflung servers or hiring a network person. “Packet took us to 16 cities very fast, and they’ve added two data centers since then,” says Mackey. “We’re hoping that Packet keeps growing faster than we do.”

As it turns out, the two companies also have complementary missions. “I think both of us want to make a lot of ‘hard stuff’ accessible to developers,” says Mackey. “Working together on these kinds of problems is a unique part of our relationship with Packet as a cloud provider - and I think that is because we have very similar problems to solve.”

Some Unexpected Use Cases

Fly.io launched with a post on Hacker News. “There were no negative comments, which is always really weird,” Mackey jokes. Interest was high from the beginning from developers who had run into the limits of a CDN and wanted to try to solve existing problems with the platform. 

For Mackey, the really interesting use cases, though, are the companies that haven’t had experience with CDNs and are building things from scratch. “We just happen to give them a new way of thinking about things,” he says. “It’s fun to show them the types of problems you can solve if you just get outside of the constraints of your app and run things all over the world.”

I think both of us want to make a lot of ‘hard stuff’ accessible to developers. Working together on these kinds of problems is a unique part of our relationship with Packet as a cloud provider - and I think that is because we have very similar problems to solve.

Kurt Mackey | CEO

For example, Fly makes it easy to host your blog, homepage, and everything else under the same domain name, and that’s gotten a lot of mileage from new users. A number of users are also improving how they handle images. “One of the big problems people run into is they have a lot of images and they want to crop them into the right size to put them in their apps the right way,” says Mackey. “You wouldn’t necessarily want to run all that on one server and one data center. That’s one thing that’s inherently better because of being global.”

Mackey points to another use case that he never anticipated. A stock photo company uses Fly to apply a watermark on its images if they’re embedded on any other site. “It’s kind of stupidly simple to think about,” he says, “but I don’t think they could have done that without us, and it was such a cool little thing to see.”

The Fly platform is also being used for what the company calls routing. “Imagine you’re moving from one cloud provider to another,” Mackey says. “If you put Fly in front of that, you can manage that transition by sending a little bit of traffic to the new destination, making sure things are all good, and then slowly scaling the traffic over. And the users never know the difference.”

Looking Ahead

With Fly, the fear of changing CDNs because everything will go down has been taken away. In fact, Fly can be run on a local machine, so users can actually test and develop applications on an airplane if they want to. 

The company has reached a scale that requires much more speed, so they’re currently rewriting the runtime in Rust “to make it just ridiculously fast,” says Mackey. “It’s very fun, but it might actually also become an HAProxy alternative that’s programmable. We’re kind of developing it by accident, which is kind of cool.”

Today, most of Fly’s ongoing development is “expanding the scope of what we’re doing to cover a lot more surface area of the edge,” says Mackey. The underlying mission, he adds, is to “turn the whole edge into a set of APIs and expose those lower level fundamental bits of the edge to developers so they can solve new and interesting and global problems.”

Fly and Packet - Better Together

Read Other Customer Stories

Baremetrics

Founder Josh Pigford and his team wanted to simplify things, so they turned to Packet to get more power without expanding operational staff.

Read Story

Section

Achieve exceptional performance, scalability and security with the Edge PaaS built for modern engineering teams.

Read Story

OneSignal

The cost of processing 1.2 billion daily notifications on their growing platform drove OneSignal to switch to Packet. The results? Read on!

Read Story

GeoSpace Labs

In preparation for a new law that meant huge growth, this Colorado-based fleet safety startup set their trackers on Packet to meet demand.

Read Story

Don't see what you need? Need a platform demo? Contact us so we can chat about options, and help you get the most out of our platform.