3 ms·
Or you can do poor man's microservices and use the same monolith with different production flags to load balance it. Keep all your code in one repo, deploy tha
by diveanon 7y ago
Or you can do poor man's microservices and use the same monolith with different production flags to load balance it.
Keep all your code in one repo, deploy that codebase to multiple servers, but have it acting in different capacities.
1 email server,
5 app servers dishing out html, 2 api servers
Etc
It works very well and was able to handle spikes of traffic during super bowl ads without any problems.
- bitterchicken 7y agoThis is the biggest favor you can do for yourself. The developer experience is as easy as production without descending into container induced madness.
- diveanon 7y agoTesting is a breeze too because you are using the same tools across the board. I don't know why it fell out of fashion, but for your average web app it is the gold standard imo.