The quest for 1M request per second (on my home lab)
I recently started learning kukernetes to pass the CKA.
To train, I decided to pursue a totally achievable goal that would teach me both the fundamentals of kube, and advanced load balancing and database sharding techniques : creating a simple url minifier app and scaling it to handle a million request per second.
The rules are simple :
- Use k3s as the kubernetes engine
- Use only the machines I have at home, no cloud
- >99.9% uptime target
The app itself is a simple go server, using go-chi as router, and goth for oauth authentication. The url creation route is authenticated, the url redirection route is public.