Replies: 1 comment 1 reply
-
you cannot use ntex in multithreaded context. you need thread safe channel, send one side to tonic, and send chunks of data from ntex handler. other option is to create tonic connection for each ntex worker. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, there is a storage service by gRPC(use
tonic
) and I want save the files uploaded by the client to it, blow is some fake code:there are many thread safety and ownership issues during the implementation and I have no idea about this
I would be very grateful if have some examples
Beta Was this translation helpful? Give feedback.
All reactions