Mid Microservices

Vertical Scaling:?

  • Scaling Up: This involves increasing the resources (CPU, memory) for a

specific microservice instance. Vertical scaling is more common for monolithic

applications or services that require more powerful hardware but is less

optimal for microservices due to their distributed nature.

  • Example: Increasing the memory or CPU for a service like the Payment

Service that requires more processing power.

Best practice: For microservices, horizontal scaling is preferred because it increases

resilience and fault tolerance by distributing traffic and workloads across multiple instances.

More from Microservices with .NET

All questions for this course