Git Product home page Git Product logo

vertx-cluster-performance's Introduction

vertx-cluster-performance

Reproducer for performance degradation when running Vert.x in clustered mode

Setup:

ConsumerVerticle listens on the eventbus and replies to messages it receives.
ProducerVerticle sends 500k eventbus messages and logs the duration of replies.
WithClusterStarter starts Vert.x in clustered mode and deploys both verticles.
WithoutClusterStarter starts Vert.x in non clustered mode and deploys both verticles.

The only difference between the two scenario's is Vert.x is started with or without cluster. Both verticles are deployed as worker verticles to rule out eventloop blocking issues.

Tried with different vert.x versions (3.3.x and 3.4.0.Beta1, no noticeable differences)

Timings (on my 2014 MBP):

  • without cluster: first message received after 10ms, done after 5200 - 5500ms
  • with cluster: first message received after 15000ms, done after 17000ms
  • with cluster, local consumer: first message received after 13000ms, done after 15000ms

Findings:

  • JGroupsClusterManager seems to be faster than HazelcastClusterManager (JGroups: first message after 4780 ms, done after 7000ms)
  • IgniteClusterManager seems to be faster too, but not faster than JGroups (first message after 9863 ms, done after 12000ms)

vertx-cluster-performance's People

Contributors

bertjan avatar

Stargazers

 avatar  avatar  avatar Emad Alblueshi avatar Ares avatar

Watchers

James Cloos avatar  avatar CIH avatar  avatar

Forkers

vietj

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.