At the core Infinispan is an in-memory data grid with options for multi node replication or distribution. It is also able to index and search stored data using Apache Lucene, or inverting the roles to have Lucene store any index in the grid. This talk will illustrate how to get started and what benefits (or drawbacks!) you get by storing your Lucene indexes in Infinispan.
http://berlinbuzzwords.de/sessions/what-you-get-replicating-lucene-indexes-infinispan-data-grid
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
What you get by replicating Lucene indexes on the Infinispan Data Grid (Berlin Buzzwords 2012)
1. 4 June 2012
Sanne Grinovero, Red Hat
What you get by replicating
Lucene indexes on the
Infinispan Data Grid
2. Who is that guy?
• Sanne Grinovero
• From this planet
• Team Hibernate
• Hibernate Search
• Hibernate OGM
• Team Infinispan
• Infinispan Core
• Infinispan Query
• Apache Lucene, Netty, HotSpot, ANTLR, JGroups,
Byteman, The Jokre
3. What are we talking
about?
• Apache Lucene
• Infinispan
• Integrations with Lucene
●
Infinispan Lucene Directory
21. Hints
• Some tuning options might have
different effects than what you're used
• Network is orders of magnitude faster
than disk (YMMV)
• But data locality helps
• Balance resources
• Get mergers to avoid segment
chunking, or readlocks will engage
22. “benchmarks”, stats
and more lies
Write ops/sec Queries/sec
RAMDirectory RAMDirectory
Infinispan 0 Infinispan 0
Infinispan D4 Infinispan D4
queries per second
Infinispan D40 Infinispan D40
FSDirectory FSDirectory
Infinispan Local Infinispan Local
0 50 100 150 200 250 300 350 400 0 5000 10000 15000 20000 25000
23. It's not about the
figures
Write ops/sec Queries/sec
RAMDirectory RAMDirectory
Infinispan 0 Infinispan 0
Infinispan D4 Infinispan D4
queries per second
Infinispan D40 Infinispan D40
FSDirectory FSDirectory
Infinispan Local Infinispan Local
0 50 100 150 200 250 300 350 400 0 5000 10000 15000 20000 25000