3 ms·
> A "C++ monolith" allows me to potentially bypass a lot of this deployment stuff No it doesn't. Let's assume you write that application as a C++ monolith. Con
by tsss 6y ago
> A "C++ monolith" allows me to potentially bypass a lot of this deployment stuff
No it doesn't. Let's assume you write that application as a C++ monolith. Congratulations, you now have source code that could potentially serve 10k users on a toaster... If only you could get it onto that toaster. How are you going to start the databases it needs? How are you going to restart it when it crashes, or worse: When it still runs but is unresponsive. How are you going to upgrade it to a new version without downtime? How are you going to do canary releases to catch bugs early in production without affecting all users? How do you roll back your infrastructure when there is an issue in production? How do you notice when your toaster server diverges from it's desired state? How do you handle authorization to be compliant with privacy regulations? I'd love to see that simple and safe shell script of yours which handles all those use cases. I'm sure you could sell it for quite a bit of money.
What you fail to understand is that k8s never was about efficiency. Your monolith may work at 10k users with a higher efficiency but it can never scale to a million. At some point you can't buy any bigger toasters and have no choice but to make a distributed system.
Besides, microservice vs monolith is orthogonal to using k8s.
- deleted 6y ago[deleted]
- deleted 6y ago[deleted]
- mrmonkeyman 6y agoHandling 1-5 "toasters" instead of 2.500 "microservices" is a piece of f'ing cake. You don't need orchestration. Sure, you have to actually understand the system and low-wage workers are probably not a good fit, but don't make this about engineering because it has nothing to do with it. Simple SaaSes with 500 users running on 500 servers is now the norm. Sure, then you need to get creative. The commenter referred to serving million users with a single digit amount of boxes. It is easy, it is possible. It requires you to actually know things though.