DevNation Live Blog: Building Reactive Applications with Node.js and Red Hat JBoss Data Grid
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.