Replies: 2 comments 2 replies
-
|
Netty does not explicitly cancel running code when the client closes a connection (though e.g. write futures may fail). Sounds more like a thing webflux would do |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
It depends on what kind of reactive pipeline you build. I would encourage you to ask Spring/Reactor maintainers. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an application using WebFlux that processes a large amount (~500 TPS) of transactional information. The application runs two services: when the first service succeeds, it triggers a call to the second one. However, the second service, which uses reactive programming and runs on Netty, can be slow in some cases. To provide a quick response to the client, we have set a 2-second timeout on the requesting application, and the client checks the result through another service.
The problem is that when a timeout occurs, the second service stops execution without completing, even though it handles transactional information. Is it possible to ensure that the request is not interrupted if the client has a short timeout?
Beta Was this translation helpful? Give feedback.
All reactions