3 ms·
Moreover, how do they have so much code that they need k8s? Isn't their product just a proprietary function that converts lat/lon to three words and vice versa?
by beering 7y ago
Moreover, how do they have so much code that they need k8s? Isn't their product just a proprietary function that converts lat/lon to three words and vice versa?
- warp_factor 7y agoI agree and I'm always surprised to see how complex the backend of very simple businesses are. I'm always amazed to find 10 Infra engineers and 15 backend engineers to maintain a very simple webApp for example.
- alexandercrohde 7y ago100%. This could be done entirely in JS on the client in probably < 5k characters.
- warp_factor 7y agoNot sure if you are being sarcastic but they still need to keep their algorithm secret so client side wouldn't work.
- jjeaff 7y agoWikipedia says they use a dictionary of 40,000 words. So it's not going to fit in a few kb.
- jrockway 7y agoI feel like as soon as you have more than one program to manage, you need some sort of orchestration. You could build your own that's simpler than Kubernetes, or you can just click the checkbox on your cloud provider and not think about it for a long while. Type in 10 lines of YAML for a Deployment and maybe a LoadBalancer if you're feeling adventurous, and your app is deployed. Need another replica to deal with increased popularity? Change one line. Split up some code into another app? Just kubectl apply another deployment. There is certainly overhead (kubelet, master) over running your PHP app on bare metal or whatever, not to mention having to figure out what deployments, pods, services, kube-proxy, etc. are... but once you've done that, it's pretty easy. Especially if you use something like GCP, you don't pay for your master, and there is a web UI for doing everything that's simple. I would recommend it once you need to scale beyond 1 computer.