At DevNation, Red Hat's Galder Zamarreño gave a talk with a live demo, Building reactive applications with Node.js and Red Hat JBoss Data Grid. The demo consisted of building an event-based three tier web application using JBoss Data Grid (JDG) as the data layer, an event manager running on Node.js, and a web client. Recently, support for Node.js clients was added to JDG, opening up the performance of a horizontally scalable in-memory data grid, to reactive web and mobile applications.
JDG is capable of processing and storing real-time streams of data, while maintaining very fast response times. It does this by using the memory available from a dynamically scalable grid of machines. Galder described JDG as a four-in-one package capable of being:
- a distributed cache.
- a high performance NoSQL primary data store.
- an event-driven data store, particularly for real time event processing.
- a big data and Internet of Things (IoT) data store.
The three-tiered web app in the demo consisted of:
- An event manager running on Node.js using Express.js.
- JBoss Data Grid as the data store. Three nodes were used, running on the same laptop. Each element was guaranteed to be stored in two nodes, providing redundancy for fail over.
You can download JBoss Data Grid from developers.redhat.com. If you'd like to get involved, join the open source community at infinispan.org.
Last updated: March 16, 2023