Vert.x 3 HttpClient Performance vs. Vertx2 HttpClient

336 views
Skip to first unread message

Andreas Krieg

unread,
Apr 17, 2015, 4:22:56 AM4/17/15
to ve...@googlegroups.com
Hello All,

I'm wondering why the HttpPerf (from https://github.com/vert-x/vertx-examples/blob/master/src/raw/java/httpperf/PerfClient.java) tests for vertx have a difference between vert.x 2 and 3.

On my local notebook (HP zBook) I reach a rate with vert.x V2 up 900k counts per second ... wow!

Using vert.x3 I can only reach up to 20k counts per second ... and I have no clue why.

Using the V2 client with a V3 server ... everything is okay ... maybe I'm missing some setting or option?

Attached is the Client code migrated to vertx V3 ...

Thanks for any advise

Regards, Andreas


PerfTests_vertx3.zip

Tim Fox

unread,
Apr 17, 2015, 4:24:35 AM4/17/15
to ve...@googlegroups.com
Can you push your project to GitHub?

Much easier than attached zips :)
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andreas Krieg

unread,
Apr 17, 2015, 8:40:16 AM4/17/15
to ve...@googlegroups.com

Tim Fox

unread,
Apr 17, 2015, 8:48:43 AM4/17/15
to ve...@googlegroups.com
Thanks.

By default the Vert.x 3 client does not pipeline, but the Vert.x 2 client does, maybe that accounts for some of the difference?

Having said that I would expect V3 to be somewhat slower than V2 right now as we haven't done any performance tuning yet. That will happen after the last milestone before the final release (see roadmap) :)


On 17/04/15 13:40, Andreas Krieg wrote:
Reply all
Reply to author
Forward
0 new messages