Day 20: Backends for Frontends (BFF)
A Backend for Frontend (BFF) is a small server-side application that exists for exactly one kind of client (for example the Angular web app, the iOS/Android app, or a partner portal).
A Backend for Frontend (BFF) is a small server-side application that exists for exactly one kind of client (for example the Angular web app, the iOS/Android app, or a partner portal).
An API Gateway is a single entry point that sits between external clients (browser, mobile app, partner systems) and your internal microservices.
A domain-specific protocol means choosing a wire protocol that fits the *shape of the traffic* instead of defaulting to HTTP/JSON for everything.
An idempotent consumer is a message handler that produces the same end result whether a message is processed once or several times.
Messaging means services talk to each other by putting messages on a durable broker (Azure Service Bus, Kafka, RabbitMQ) instead of calling each other directly and waiting.
Remote Procedure Invocation (RPI) is the simplest way for one service to use another: the caller sends a request over the network (REST/HTTP, gRPC, or GraphQL), waits, and gets a response, as if it had called a local...