-
Book Overview & Buying
-
Table Of Contents
Building Modern SaaS Applications with C# and .NET
By :
When building microservices, it’s important to think about best practices to ensure that you get the benefits from the additional work required to build a microservice application. The system should be scalable, maintainable, and resilient – payback for the extra effort! Here are some of the most important best practices or “principles” to keep in mind.
Microservices should be “designed for failure.” If they are going to fail (and all software will fail!), they should fail gracefully, with redundancy built in to ensure that the system continues to function even if one service fails.
One of the essential steps when designing for failure is adding redundancy to your system. This can be achieved by having multiple instances of each service running in parallel so that if one fails, others can continue to operate. Note that this will incur some additional costs, such as cloud...