Primary links

The Zing™ JVM Supercharges Apache Lucene™ and Apache Solr™

SearchingApache Lucene is an Open Source, high-performance full-text search engine library written entirely in Java. Apache Solr is an open source search server based on the Lucene library. Lucene’s RAMDirectory stresses the Java Virtual Machine (JVM)’s garbage collector. Each file is held as a List of byte fragments and has unnecessary synchronization. Because of these issues, in the past Lucene developers used RAMDirectory only for small indices or testing. For production they let the operating system manage RAM by using MMapDirectory.

Azul Systems’ Zing JVM provides a better alternative. Using Lucene and Zing together allows very large indices (10s or even 100s of GB) to be held in-memory, increasing throughput by 2X and providing consistent response times even at high query loads. Whether your application is ad serving, driving product search for an eCommerce site or powering search for your corporate site, Zing will allow you to keep larger indexes in memory without garbage collection pauses. You can provide consistent response times and fast search results for your users.

Next section: Benefits of the Zing JVM for Apache Lucene and Apache Solr »

 

Apache Lucene and Azul Zing

"In summary, I remain impressed with Zing, and I wish its C4 collector were the default for Java! Then we all would stop having any GC worries and could freely use Java with very large heaps, fundamentally changing how we build software in this age of very cheap RAM." - Mike McCandless, Lucene committer and PMC member, in the Changing Bits blog