3 ms·
Very few companies reach the scale such that they require microservices. It’s not even about raw scale either as monoliths can also scale. Microservices serve o
by threethirtytwo 11mo ago
Very few companies reach the scale such that they require microservices. It’s not even about raw scale either as monoliths can also scale. Microservices serve only a specific kind of scale. Think about it. Load balancing across multiple servers? You can scale that monolith.
Most companies that switch to microservices often do it because of hype. The most common excuse is that microservices prevent spaghetti code as if carving it into different services is the thing that creates modularity while forgetting that folders and functions do the same exact thing.
It’s generally weak reasoning. Better to go with reasoning that is logically invariant like what I brought up in this thread.
- procaryote 11mo agoYou can of course bet on not being very successful as a company. If you can keep the number of users down you simplify a lot of things
- threethirtytwo 11mo agoMonoliths can scale to handle tons of users. Microservices are only needed for a specific type of scaling. For example Netflix you need http servers but you also need servers to handle video streaming. Or for google the search engine must be different from Gmail. Most companies provide 1 or few services that can be handled and scaled as a monolith to handle anything.