CDN Up and Running is an educational project that demonstrates how content delivery networks work by guiding users through building one from scratch using real-world tools and infrastructure components. The repository combines theoretical explanations with hands-on implementation, allowing developers to understand both the concepts and practical challenges of CDN design. It starts with a simple backend service and progressively evolves into a distributed, multi-node system capable of handling caching, routing, and traffic distribution. The project uses technologies such as Nginx, Lua, Docker, Prometheus, and Grafana to simulate realistic CDN environments and monitoring systems. It also explores performance considerations, including latency simulation, load balancing, and scalability. By integrating observability tools, it enables users to analyze system behavior and performance metrics.
Features
- Step-by-step implementation of a CDN from scratch
- Use of Nginx and Lua for caching and routing logic
- Containerized environment with Docker and Docker Compose
- Integration with Prometheus and Grafana for monitoring
- Simulation of latency and traffic distribution scenarios
- Educational explanations of CDN design trade-offs