Ingress controller vs api gateway

Ingress controller allows single ip-port to access all services running in k8s through ingress rules. The ingress controller service is set to load balancer so it is accessible from public internet. An api gateway is used for application routing, rate limiting, security, request and response handling and other application related tasks. Say, you have a … Read more

Websockets in microservices architecture

Websockets A websocket connection opened by a client must eventually connect to a websocket server. API Gateway The job of the API gateway is to accept an incoming websocket connection from a client and correctly route it to a websocket server. An API gateway will redirect ALL data sent from a client websocket to the … Read more

What is Upstream and Downstream services in a microservices based architecture?

Definition 1: The direction of action Upstream: receiving requests from / sending responses to A service upstream is calling me. Downstream: making requests to / receiving responses from I am calling a service downstream. Definition 2: The direction of dependency Upstream: making requests to / receiving responses from I am calling a service upstream. Downstream: … Read more

tech