Over the past year, more and more Java applications have benefited from gaining access to elastic, cloud-ready, data grids thanks to Infinispan, and from now on, Ruby apps running within TorqueBox get the same benefit as well thanks to the ability of TorqueBox to talk to Infinispan Hot Rod servers. In this talk, Galder will demo the integrations between TorqueBox, which is a Ruby application plattform, and Infinispan, which is a Java based data grid plattform, highlighting the benefits for TorqueBox administrators and Ruby developers, which include, amongst others, access to highly-scalable, low-latency data store that avoids single point of failure.
3. Galder Zamarreño
• R&D Engineer, Red Hat Inc.
• Infinispan developer
• Work on various JBoss projects
• Twitter: @galderz
• Blog: zamarreno.com
Thursday, November 3, 11
4. Agenda
• What is TorqueBox?
• Rails caching limitations
• What is Infinispan?
• TorqueBoxStore
• Cloud storage with Infinispan
Thursday, November 3, 11
5. What is TorqueBox?
The mating of JRuby to
JBoss Application Server
Thursday, November 3, 11
7. Goals of TorqueBox
• Support Ruby web frameworks
• Rails, Sinatra, Rack
• Go beyond web
• Messaging
• Enterprise-Grade Caching
• Data Grid Storage
Thursday, November 3, 11
8. Hmmm, but...
... Rails already supports
caching
... and why would I want to
store data in a data grid?
Thursday, November 3, 11
22. And more...
• Highly concurrent with MVCC locking
• Persistence, not just in-memory
• Adaptive eviction and expiration
• JMX and RHQ server monitoring
• ...etc
Thursday, November 3, 11
23. Why should I use
TorqueBoxStore?
Thursday, November 3, 11
42. Either
• Infinispan Hot Rod servers started via:
• or servlet container w/ Infinispan REST war
• or JBoss Enterprise Data Grid nodes
Thursday, November 3, 11
43. How do Ruby apps
talk to them?
Thursday, November 3, 11