The Fly Blog

News, tips, and tricks from the team at Fly

11 min

Better Business Intelligence in Elixir with Livebook

As a developer, has your manager ever come and asked a question like, "How much money are we making?" If you were a line-of-business developer at a global insurance company, you'd reach for your handy, nosebleed-expensive Business Intelligence (BI...

Read more  

Read more
3 min

FYI: Phoenix drops webpack and npm for esbuild

The Phoenix Framework is the go-to web framework for Elixir developers. A recent PR was merged that replaces the use of node, npm, and webpack with esbuild. For those new to esbuild, it is written in Go so it compiles to native code and runs reall...

Read more  

Read more
13 min

Last Mile Redis

100 milliseconds is the magic number. For a backend application, a sub-100ms response time is effectively instantaneous, and people love using "instant" apps. Since we're all dirty capitalists, we'd add: if people love your app, you'll make more m...

Read more  

Read more
2 min

FYI: Livebook 0.2 with Kino

Livebook 0.2 was released. The big news here was the announcement of "Kino" (meaning "cinema"). It's a client-side focused feature that animates data changes. José Valim created a video demonstrating some of the new Livebook features. Use this lin...

Read more  

Read more
15 min

Globally Distributed Postgres

This is a story about a cool hack we came up with at Fly. The hack lets you do something pretty ambitious with full-stack applications. What makes it cool is that it’s easy to get your head around, and involves just a couple moving parts, assemble...

Read more  

Read more
12 min

Monitoring Elixir Apps on Fly.io With Prometheus and PromEx

Fly.io takes Docker containers and converts them into fleets of Firecracker micro-vms running in racks around the world. If you have a working Docker container, you can run it close to your users, whether they're in Singapore or Amsterdam, with ju...

Read more  

Read more
5 min

Fly Is Hiring SREs

Anyways, we’re hiring for our SRE team. You can read that introduction and get a good idea of how intense our SRE challenge is. To further set the scene, two important true things about ops at Fly.io: ops is a very big deal here, and, because we’r...

Read more  

Read more
8 min

Observing Elixir in Production

Elixir, Erlang, and really just the BEAM has a feature called "Observer". It's fun showing it to people new to Elixir because it's just so cool! It's a WxWidgets graphical interface that connects in realtime to a running Erlang node and lets you "...

Read more  

Read more
11 min

Livebook is a secret weapon for documentation

Every application has that core, most important thing that it does. It is the reason the application exists. It's that central idea that everything else is there to support. A major hurdle for new developers joining a project can be understanding ...

Read more  

Read more
17 min

Hooking Up Fly Metrics

We’ve written a bit, for a general audience, about how Fly collects and manages metrics. If you’re just sort of generally interested in metrics and observability, go read that first. Meanwhile, if you’re a Fly user, or considering becoming such a...

Read more  

Read more
16 min

Fly's Prometheus Metrics

We should talk a bit about metrics and measurement and stuff, because they’re how we all know what’s going on. There’s two reasons we’ve written this post. The first is just that we think this stuff is interesting, and that the world can always us...

Read more  

Read more
10 min

Building a Distributed Turn-Based Game System in Elixir

One of the best things about building web applications in Elixir is LiveView, the Phoenix Framework feature that makes it easy to create live and responsive web pages without all the layers people normally build. Many great Phoenix LiveView exampl...

Read more  

Read more