Download - What's New in Infinispan 6.0

Transcript
Page 1: What's New in Infinispan 6.0
Page 2: What's New in Infinispan 6.0

What’s new in Infinispan 6.0

•Mircea Markus, •Principal Software Engineer, Red Hat

Page 3: What's New in Infinispan 6.0

Who’s Mircea?

•Lead Infinispan/JBoss Data Grid •JSR-350 •@infinispan/@mirceamarkus •infinispan.blogspot.com

Page 4: What's New in Infinispan 6.0

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

What is Infinispan?•Distributed storage engine

•memory •disk

•Highly available •Elastic •Open source

Page 6: What's New in Infinispan 6.0

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

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

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

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

Define schema - protobuf

Page 11: What's New in Infinispan 6.0

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

Implement marshallers - based on schema

Page 13: What's New in Infinispan 6.0

Implement marshallers

Page 14: What's New in Infinispan 6.0

Execute the query

Page 15: What's New in Infinispan 6.0

Langauge neutral access

•“Side effect” •HotRod

•interoperabilut

Page 16: What's New in Infinispan 6.0

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

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

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

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

Cross Site Replication

Page 21: What's New in Infinispan 6.0

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

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

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

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
Page 26: What's New in Infinispan 6.0

Thank you!•infinispan.blogspot.com •@infinispan •mirceamarkus.blogspot.com •@mirceamarkus