Replies: 3 comments 5 replies
-
Hm not quite sure what you're asking. It should be possible to create a tonic client, the way you always do it, and somehow pass it to your actix-web app. Maybe using @Leanerz does that help? Otherwise, could you try and be more specific? Perhaps share some code? |
Beta Was this translation helpful? Give feedback.
-
Does tonic support pooling? He asks to pass a pool instead of simple client. Interested as well. |
Beta Was this translation helpful? Give feedback.
-
A tonic client is backed by a You can however load balance across multiple endpoints using |
Beta Was this translation helpful? Give feedback.
-
Hi
Is there a way to combine properly Tonic and Actix-web?
The goal is to get a GRPC client as pool and pass it to actix-web to use it, or even make a shared GRPC client without opening each time connection for each requests of users.
Any idea please to follow?
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions