Asynchronous execution inside poll method. #84
-
Hi, I have some code:
Method It is real problem for me, because I must be able to handle thousands simultaneous |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
I try to analyze your code in order to implement own ParallelStreamProcessor (following the example of vertx implementation) - but i don't understand one thing: why in vertx implementation thread poll size is also same as max queue size ? If I understand do doc ('maxConcurrency') doesn't suite to code:
Any tips for me ? Your parallel client is great - I'd rather not write own client. |
Beta Was this translation helpful? Give feedback.
-
Ah - sorry for the long delay. Ok sorry yea I see you've already looked at that. Let me see... |
Beta Was this translation helpful? Give feedback.
-
Hi, I wrote own ParallelEoSStreamProcessor implementation. But I also tried a vert.x implementation. Both has some problem - maxConcurrency = thread pool size, and possible throughput is maxConcurrency * factor - so I if want handle 10k messages i must have huge number of threads. |
Beta Was this translation helpful? Give feedback.
-
Use the generic existing http support in the vert.x module for this, for generic CompletableFuture or Vert.x Future support, this is being added in this PR #94. |
Beta Was this translation helpful? Give feedback.
Use the generic existing http support in the vert.x module for this, for generic CompletableFuture or Vert.x Future support, this is being added in this PR #94.