Replies: 1 comment
-
What do you expect to get out of this kind of integration? Do you have a design in mind? Ractor could be the underlying request runtime but if you want it as a middleware then I would suggest probably wrapping a factory. Something like struct MyMiddleware {
factory: ActorRef<Message,...>
} And you would implement the tower traits I guess which then send rpcs to the factor workers. Something like that would make sense, and would let you implement back pressure on your middleware. That is assuming I understand how Tower works, I don't personally have any experience with it yet |
Beta Was this translation helpful? Give feedback.
-
I'm currently exploring options for integrating Ractor with Tower. I'm particularly interested in moving requests to a specific actor.
Could you please provide information or guidance on how this integration can be achieved?
Beta Was this translation helpful? Give feedback.
All reactions