Luwak
Luwak
As of Riak 1.1, the Basho engineering team is no longer actively working on Luwak. The code is still available on GitHub and we do provide instructions on how to build Luwak into Riak releases, but for all intents and purposes this code is deprecated as an official part of Riak. More information on this can be found on here.
About Luwak
Luwak is an application built on top of Riak that provides functionality for managing large files. Luwak works by breaking large files into blocks and storing each block as a separate Riak object. Luwak is bundled with Riak, as of version 0.13, but disabled by default. (You can also browse the Luwak source code on GitHub.)
Enabling Luwak
Luwak can be enabled in Riak’s app.config file. As of version 0.13 a new section has been added to the app.config file for Luwak:
{luwak, [{enabled, false}]}
To enable Luwak set the “enabled” property to “true” and restart Riak:
{luwak, [{enabled, true}]}
Configuring Luwak
Luwak, by default, is accessible from the /luwak endpoint of Riak (i.e. http://127.0.0.1:8098/luwak). This endpoint is configurable via the “prefix” property in the Luwak section of app.config:
{luwak,
[{enabled, true},
{prefix, "different_luwak_prefix"}
]}
Luwak Operations
Luwak operations are detailed in the HTTP API.
Luwak and Map/Reduce
Looking to Map/Reduce over data you are storing in Luwak? Start here:
- Luwak Map/Reduce on Riak Function Contrib
- Baseball Batting Averages Using Riak Map/Reduce (From the Basho Blog)
- Fixing the Count (From the Basho Blog)
- MapReducing Big Data With Luwak (Recorded Webinar)
