Bitoracdn Go is the second version of the Bitoracdn project — a Go-based CDN system designed to explore distributed caching, concurrency, and performance at scale.
It’s a progressive rewrite of the NodeJS version, using Go to implement the same architecture with system-level efficiency.
User → Router → Edge Nodes → Origin Server- Origin → File server / data source
- Edge → Cache + serve content concurrently
- Router → Load balances or geo-routes requests
- Control Plane → Metrics, purge, health monitoring
- Master Go concurrency with goroutines & channels
- Build concurrent edge caches (LRU, TTL-based)
- Implement distributed invalidation and health checks
- Add observability using
pprof, Prometheus, and logs - Compare Node vs Go performance in real-world scenarios
- Go 1.23+
- net/http, context, sync, prometheus/client_golang
- Docker
- GeoLite2 (for Geo-routing)
This project translates the concepts mastered in NodeJS into Go — focusing on performance, type safety, concurrency, and system design.
You’ll learn how distributed systems scale in a compiled, low-latency language while maintaining the same architecture.
MIT License © 2025 Kapil Jangid