Service Communication Choices
Service Communication Choices REST (HTTP/1.1 or HTTP/2) => Synchronous, High Coupling, JSON/XML payload, Good for External public APIs, web clients. ASP.NET Core Web APIs for REST. gRPC ( Google Remote Procedure Call ) ( HTTP/2) => Synchronous (streaming available), High Coupling, Binary (Protocol Buffers) payload, Good for Internal service-to-service . First-class support for gRPC natively within ASP.NET Core , optimizing it to run on top of Kestrel. Kestrel is a lightweight, cross-platform, and high-performance HTTP web server built natively for .NET. Message Brokers Message Brokers are As ynchronous, Decoupled via broker, Any payload, Good for Event-driven microservices, background tasks: RabbitMQ is smart broker, dumb consumer. Uses a message queue routing messages using exchanges (Direct, F...