How I Fly

I’m Xe Iaso. I’m a writer, technical educator, and philosopher who focuses on making technology easy to understand and scale to your needs. I use Fly.io to host my website and in nearly all of my personal projects now. Fly.io allows me to experiment

Xe Iaso
6 min readintermediate
--
View Original

Overview

The article discusses how Xe Iaso utilizes Fly.io to effectively host applications and manage personal projects. It highlights the benefits of using Fly.io for deploying applications close to users, facilitating easy updates, and ensuring robust performance through a global CDN.

What You'll Learn

1

How to deploy applications globally using Fly.io

2

Why using a CDN like XeDN improves website performance

3

How to integrate multiple projects using Fly.io infrastructure

Prerequisites & Requirements

  • Basic understanding of web hosting and CDN concepts
  • Familiarity with Go programming language

Key Questions Answered

What is Fly.io and how does it benefit application deployment?
Fly.io allows developers to host applications in data centers close to users, enabling rolling updates and seamless communication between services. This results in improved performance and user experience, as applications can be deployed globally with minimal latency.
How does Xe Iaso utilize Fly.io for personal projects?
Xe Iaso uses Fly.io to host their blog and other personal projects, leveraging its CDN (XeDN) for fast content delivery. The architecture allows for easy updates and integration of various services, enhancing the overall functionality and scalability of their projects.
What architecture does Xe Iaso's blog use?
Xe Iaso's blog consists of a backend server written in Go, running in Toronto, and a CDN named XeDN that operates across 35 data centers worldwide. This setup allows for efficient content delivery and quick updates triggered by changes in Patreon and GitHub.
What are the advantages of using XeDN for content delivery?
XeDN ensures that if one server goes down, others can handle the traffic, maintaining a seamless user experience. The aggressive caching logic also helps deliver content quickly, regardless of user location, making it ideal for global reach.

Technologies & Tools

Some links below are affiliate links. We may earn a commission if you make a purchase.

Backend
Go
Used to develop the backend server for the blog.
CDN
Xedn
Facilitates content delivery for the blog and other projects.
Storage
Backblaze B2
Used for storing and retrieving assets for the blog.
AI/ML
Stable Diffusion
Used in the Arsène project for generating images.

Key Actionable Insights

1
Utilize Fly.io to deploy applications closer to your users for improved performance.
By hosting applications in geographically distributed data centers, you can significantly reduce latency and enhance user experience, especially for global audiences.
2
Leverage XeDN for efficient content delivery across multiple projects.
Using a CDN like XeDN allows you to cache and serve assets globally, ensuring fast load times and reducing the load on your origin server.
3
Integrate multiple services using Fly.io's infrastructure for better scalability.
By creating interoperable components, you can streamline your development process and easily scale your applications as needed.

Common Pitfalls

1
Failing to utilize the global CDN effectively can lead to slow load times.
Without leveraging a CDN like XeDN, applications may experience increased latency, especially for users located far from the origin server.