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.
Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development. The developer program and software are both free!
More about DevNation: DevNation 2014 was our inaugural open source, polyglot conference for application developers and maintainers. View some of the DevNation 2015 session recordings here. DevNation 2016 will be in San Francisco, USA, the week of June 26. Be sure to follow its status and register at www.devnation.org.