Home > Back-end >  Vertx primary problems about asynchronous
Vertx primary problems about asynchronous

Time:12-17

All say vertx is asynchronous, after my test blockinghandler just make the whole through asynchronous, asynchronous, and the current are not
I, for example,
On the same route has four hander processing
Respectively hander1 hander2 handle3 hander4
One handler3 is required to perform the operation of the 20 s
After 1, 2, after a request to get stuck on the 3 when 3 not executed, and came over a new request 1 and 2 will be called but can't call 3, so I said the asynchronous just for big request and concrete handler is not asynchronous


But my problem is that I just have a lot of requests to execute more than N seconds so make my this process to turn into a single thread, how how broken how breaking

CodePudding user response:

Blockinghandler and a parameter called in the order, it is set to false

CodePudding user response:

Hello, the problem solved? I met the same problem with you also can't execute concurrently

CodePudding user response:

, it seems, can only use vertx executeBlocking this API, don't block
  • Related