an app server, which is itself behind a load balancer, I want to use the Django backend as a gRPC client. There will be 4 connections with this architecture design. I need to consume gRPC updates and process them. How can I ensure that the updates are not captured by multiple process instances of the Django process, but only one?
use grpc proxy? https://github.com/mwitkow/grpc-proxy
thanks, one alternate solution I have come up with is to have a microservice connect to the gRPC server and emit the incoming gRPC messages to Django via a message queue
Обсуждают сегодня