Add new storage system "Groonga".January 16, 2015
ROMA adopted new storage system which is a groonga.
Groonga is an open-source fulltext search engine and column store.
It lets you write high-performance applications that requires fulltext search.
As a result of this storage, we could implement "value full-text searchable feature" as a plugin based on the Groonga based storage backend.
This pull request was sent by kouhei.sutou-san. Thanks for your contribution sutou-san!!
Here are the benchmark test of Goonga & TokyoCabinet.
It says that (file based) Groonga is slower than memory based Tokyo Cabinet but faster than file based Tokyo Cabinet.
How to use Groonga
1. Download latest version of ROMA
ROMA will adjust groonga after v1.1.0.
Now we plan to release v1.1.0 at the end of March. But you can download v1.1.0 as a development version.
View on Github(version1.1.0-dev)
2. Download relevant library
$ sudo yum makecache
$ sudo yum install groonga-libs groonga-devel
$ gem install rroonga
Please refer to the Groonga official document for more detail.
3. Configuration setting
Please change storage setting in config.rb
< require "roma/storage/tc_storage"
> require "roma/storage/groonga_storage"
< STORAGE_CLASS = Roma::Storage::TCStorage
> STORAGE_CLASS = Roma::Storage::GroongaStorage