DZone
Performance Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Performance Zone > HornetQ Stings the Competition in Peer-Reviewed Benchmarks

HornetQ Stings the Competition in Peer-Reviewed Benchmarks

Mitch Pronschinske user avatar by
Mitch Pronschinske
·
Feb. 12, 10 · Performance Zone · Interview
Like (0)
Save
Tweet
24.74K Views

Join the DZone community and get the full member experience.

Join For Free

Software vendors can say what they want about their products, but most developers want proof, which is why people want to test different products against the competition.  Researchers at UT Darmstadt have been testing the performance of enterprise message-oriented middleware servers based on JMS (Java Messaging Service) for several years, and this year the SPECjms2007 benchmark record was broken by JBoss' open source enterprise messaging system, HornetQ.

SPECjms2007 is a peer-reviewed, industry standard benchmark for JMS messaging systems.  It measures standard workload and performance metrics for competitive product comparisons.  The benchmark provides a framework for in-depth analysis as well.  All components that make up the application environment are taken into account, including hardware, JMS server software, JVM software, database software if used for message persistence, and the system network.  The benchmark also provides two key scalability metrics: horizontal and vertical topologies.

The benchmark pitted HornetQ 2.0 against Apache ActiveMQ 5.3, which has a reputation for being fast.  Each messaging system ran on an IBM x3850 system with the same OS setup.  When the dust settled, HornetQ had blown ActiveMQ out of the water.  HornetQ not only beat ActiveMQ, but it also broke the record for all SPECjms2007 benchmarks.  HornetQ 2.0's scores were up to 307% higher than previously published SPECjms2007 results.

In a recent interview with Tim Fox, the project lead of HornetQ, he told DZone the two main areas that contribute to HornetQ's high-performance.  First, there's Netty, which is a low‑level Java NIO library written by the author of Apache MINA.  Then there's real "secret weapon" behind HornetQ.  Fox explains:

"This system is a very high‑performance journal, which is basically written in 99‑percent Java.  But we also have a small layer of native code that's accessed by JNI.  And what this does is, when you're running on Linux, it detects that you're running on Linux, and then it automatically enables a bit of native code, which allows us to pass into Linux asynchronous file IO.  And basically, what this does is it allows us to get much faster persistence than would be possible in pure Java."


                                                                                         Netty Architecture


The final version of HornetQ 2.0 was released about one month ago.  You can learn more about HornetQ in DZone's podcast interview with the project's lead developer, Tim Fox.  JBoss says it has already started working on HornetQ 2.1, which will include another round of performance enhancements.

HornetQ

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • API Security Weekly: Issue 165
  • Modern Application Security Requires Defense in Depth
  • How To Evaluate Software Quality Assurance Success: KPIs, SLAs, Release Cycles, and Costs
  • Caching Across Layers in Software Architecture

Comments

Performance Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo