L
L
LakeForest2022-01-12 22:27:52
Python
LakeForest, 2022-01-12 22:27:52

How on gRPC to process the message flow from the user independently of other users in the context?

I noticed that 1 my streaming method on grpc processes user requests multiplexed, but since the first message from a new user I set the processing settings for all other messages for this particular user, then when the second new user writes, when he processed the old one, the method used is already configured - but as for the first user. How to fix? I understand that multiplexing is a feature of grpc, but how can requests be processed correctly with it in a stream?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alfss, 2022-01-12
@LakeForest

Your problem is not grpc , but the code, you are doing something wrong.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question