Open Source Projects:

Use Case

Messaging

Pricing
Chat
Contact
Back to top
Overview

Hazelcast provides real-time, scalable messaging for your large-scale applications

Hazelcast provides real-time, scalable messaging for your large-scale applications

Hazelcast can be used as a fast and lightweight messaging system that lets applications communicate in real time at high speed. You can write to Hazelcast in a publish-subscribe paradigm, which means your applications can write (“publish”) to specific channels, called “topics,” and then one or more subscribers can read the messages from that topic.

Hazelcast processes all data in memory, so you are never speed-constrained by slow disk accesses. Also, Hazelcast is lightweight, as it’s delivered in a compact JAR file, allowing you to embed it in any of your applications.

The Hazelcast Approach to Messaging

Messaging in Hazelcast is inspired by JMS topics, but is scalable and extremely fast. This is important for large-scale applications that need the highest throughput and lowest latency.

When an event occurs, your applications immediately publish messages to topics, which can then be read from any number of subscribers. Hazelcast is elastic, horizontally scalable, and fault-tolerant, so organizations can publish any number of messages with low latency. You can publish messages to Hazelcast, and subscribe to a Hazelcast topic, with just a few lines of code.

This type of messaging implementation is good for preserving the order and timing of messages because much of the logic around order is built into these systems. You can have multiple consumers for any given message channel, so you can perform a lot of processing in parallel to increase performance.

Messaging in a Microservices Environment

Messaging plays a key role in microservices architectures, where compact, purpose-built applications are almost constantly sending events and small chunks of data to one another. With Hazelcast as the foundation for messaging, developers have an easy-to-use platform to manage the logic of inter-service communications, and they benefit from simplified coding. A set of microservices can look like a data pipeline, where each microservice receives a message from the previous microservice in the workflow, does some processing, then passes the data to the next microservice. The message passing is done via Hazelcast, and with the use of separate topics, each microservice knows exactly where to get input data, and where to send output data.

Solutions

The Hazelcast Advantage

High Speed, In-Memory Pub/Sub Messaging

The Hazelcast Advantage

Developers find it easy to leverage Hazelcast to build out messaging pipelines, even at scale with low latency. Applications can subscribe to multiple topics, and multiple applications may publish to the same topic. Hazelcast orders messages, so subscribers process messages in the order they are actually published.

If you are familiar with JMS topics, it will be extremely simple to come up to speed with Hazelcast for real-time scalable messaging.

Free Hazelcast Online Training Center

Whether you're interested in learning the basics of in-memory systems, or you're looking for advanced, real-world production examples and best practices, we've got you covered.