what's new in infinispan 6.0
DESCRIPTION
Presentation delivered by Mircea Markus (JBoss) at the London JBoss User Group Event on Wednesday, the 4th of December 2013. In this talk, Mircea Markus (Infinispan Lead) covers the major features added in the 6.0 release to the Infinispan ecosystem: - querying in client/server mode - better integration with the persistent storage - multi-master cross-site replication - support for heterogeneous clusters Participants will take home a better understanding of Infinispan capabilities and the use cases in which it can be put at work. Ideally the attendees should have a basic knowledge of the in-memory data grids.TRANSCRIPT
![Page 1: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/1.jpg)
![Page 2: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/2.jpg)
What’s new in Infinispan 6.0
•Mircea Markus, •Principal Software Engineer, Red Hat
![Page 3: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/3.jpg)
Who’s Mircea?
•Lead Infinispan/JBoss Data Grid •JSR-350 •@infinispan/@mirceamarkus •infinispan.blogspot.com
![Page 4: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/4.jpg)
Agenda•Infinispan •New in 6.0
•Cpp Hot Rod client •Querying client/server mode •Persistence integration •Cross site replication enhancements •Heterogenous clusters •Licensing
•Roadmap
![Page 5: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/5.jpg)
What is Infinispan?•Distributed storage engine
•memory •disk
•Highly available •Elastic •Open source
![Page 6: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/6.jpg)
TCP/UDP
Transport (JGroups)
Node (JVM process)
Memcached HotRod REST
Storage Engine (RAM
+Overflow)
Monitoring
Map/ReduceQuery
Transaction/xaNotification
Embeded Application (Java)
Remote Application (Cpp)
Transport (JGroups)
Node (JVM process)
Memcached HotRod REST
Storage Engine (RAM
+Overflow)
Monitoring
Map/ReduceQuery
Transaction/xaNotification
Embeded Application (Java)
Remote Application (Java)
Remote Application (.Net)
Network (TCP)
![Page 7: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/7.jpg)
Cpp Hot Rod client
•Hot Rod •Binary protocol •3 levels of intelligence •Clients in Java(L3), Python(L1), Ruby (L1)
•Cpp client •L3 •RHEL5, RHEL6, Windows 7 •OSS/Apache licence
![Page 8: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/8.jpg)
Querying - existing•Embedded mode only •Based on Hibernate Search/Lucene •Objects in the grid are indexed
•index management
![Page 9: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/9.jpg)
Remote Querying•Language neutral
•client/server access : Hot Rot •type representation : protobuf & protostream •DSL for querying
•Schema management •protofiles •JMX
![Page 10: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/10.jpg)
Define schema - protobuf
![Page 11: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/11.jpg)
Serialize to protobuf•Protobuf tooling
•schema to cpp/java. Not the other way around •constraining on the format of your domain
•Protostream •protobuf serializer developed by Red Hat •OSS/Apache licensed •flexible •strongly typed
![Page 12: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/12.jpg)
Implement marshallers - based on schema
![Page 13: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/13.jpg)
Implement marshallers
![Page 14: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/14.jpg)
Execute the query
![Page 15: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/15.jpg)
Langauge neutral access
•“Side effect” •HotRod
•interoperabilut
![Page 16: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/16.jpg)
Further query improvements•Query on non-indexed fields •HotRod Cpp client
•query DSL •protostream
•protobuf default serialization (?) •better schema management
![Page 17: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/17.jpg)
New Persistence SPI•Simpler
•no locking •no transaction
•Faster •parallel iteration/expiry •reduced serialization overhead
•Aligned with JSR-107 •easier migration
![Page 18: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/18.jpg)
New Local (File) Store•Very popular
•easy setup/no dependencies •New file store
•fast! •keeps all keys in memory •courtesy @Karsten Blees
![Page 19: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/19.jpg)
X-Site replication
•Since Infinispan 5.2.0 •Hot-standby for geographic failover •Follow the sun
![Page 20: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/20.jpg)
Cross Site Replication
![Page 21: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/21.jpg)
Multiple site masters
•Single site master (5.2.x) •does not scale •mitigated by capacity-factor (6.0.0)
•Multiple site masters •site masters form a jgroups cluster •configurable number
![Page 22: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/22.jpg)
Heterogenous clusters
•Heterogenous clusters •not all machine are equally powerful • some are more busy
•Load-factor •e.g. 0.5 -> half of the average load •0 is acceptable
•alternative to client/server
![Page 23: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/23.jpg)
New Licensing
•LGPL -> Apache License •Apache License
•open source •considered more business friendly •better integration with other Apache licensed projects
![Page 24: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/24.jpg)
Roadmap
•Eventing over Hot Rod •Clustered listeners •Security •Query over Cpp Hot Rod •Better partition handling •C# Hot Rod client
![Page 25: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/25.jpg)
![Page 26: What's New in Infinispan 6.0](https://reader033.vdocuments.us/reader033/viewer/2022052523/556296d2d8b42a68128b51f2/html5/thumbnails/26.jpg)
Thank you!•infinispan.blogspot.com •@infinispan •mirceamarkus.blogspot.com •@mirceamarkus