Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bernardoosthuizen/flyprivi-infrastructure
An illustration of Fly Privi's infrastructure architecture.
https://github.com/bernardoosthuizen/flyprivi-infrastructure
Last synced: 24 days ago
JSON representation
An illustration of Fly Privi's infrastructure architecture.
- Host: GitHub
- URL: https://github.com/bernardoosthuizen/flyprivi-infrastructure
- Owner: bernardoosthuizen
- Created: 2024-05-10T05:58:50.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-09-16T05:37:02.000Z (3 months ago)
- Last Synced: 2024-09-16T06:35:40.946Z (3 months ago)
- Homepage:
- Size: 211 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fly Privi's Infrustructure
This short document describes the architecture for [Fly Privi](https://flyprivi.com/). I update this document whenever I make a change in production based on new best practices I learnt or a new service I want to try out. Fly Privi is a project I am using to experiment with and explore interesting technologies.## Overview
![download](https://github.com/user-attachments/assets/5cd8b086-ffd5-44a3-8865-0ca0fd4cd616)
## CI/CD Pipeline
Coming soon ...## Thoughts :thinking:
### Load balancing
This is the first project that I am exploring load balancing. Firebase hosting provides built-in CDN and load balancing, but I have implemented load balancing for the API as well. Traffic is routed based on the user's location, their traffic is directed to the nearest backend region. Regions were chosen based on the concentration of existing users.### Databases
Having different regions means that data lives in multiple locations. Flight information is the only data replicated across regions. This data is replicated from the European region. User data is not replicated since it is accessed not as frequently and is not a lot of data.### IaC
This is also the first project that I am exploring Infrastructure as Code (IaC). Terraform was used to deploy this app.