5 ms·
Do your clients not have availability needs? Even if one machine can handle the traffic levels, what if there are hardware failures? How do you do patching?
by cortesoft 7y ago
Do your clients not have availability needs? Even if one machine can handle the traffic levels, what if there are hardware failures? How do you do patching?
- FpUser 7y agoI've always had failover functionality built in. As for patching - it very much depends on the nature of the patch, type of application and business constraints. Too much to write here. For the most part it never caused me any particular grief. The most generic case for server type is: all new requests are denied with appropriate error code, all requests in process are either gracefully completed or aborted if business logic allows for that. Meanwhile the background process is migrating/upgrading in place data model if there are any changes. Upon finishing the upgrade the new server takes over. I do not thing upgrading microservices is any simpler. It could actually be way way worse.
- jeremyjh 7y agoNothing stops you from running multiple instances of a monolith on different servers.
- cortesoft 7y agoRight, but the person I was commenting was not really talking about microservice vs monolith as much as "I only need one server"