Pattern: Domain-specific protocol
You have applied the Microservice architecture pattern. Services must handle requests from the application’s clients. Furthermore, services must sometimes collaborate to handle those requests. They must use an inter-process communication protocol.
Use a domain-specific protocol for inter-service communication.
There are numerous domain-specific protocols including:
- Email protocols such as SMTP and IMAP
- Media streaming protocols such as RTMP, HLS, and HDS