Cross-Compile Riak for Embedded Device

Magnus Kessler mkessler at
Tue Feb 14 05:45:15 EST 2017

On 13 February 2017 at 16:06, Darshan Shah <dg.shah1991 at> wrote:

> Our main usecase is to create a database in Embedded system to store value
> received from one server.
> For our usecase Key value based database is best suitable and we found
> Riak is one of best for this.
> So we want to cross compile Riak databse for Embedded system.
> On Fri, Feb 10, 2017, 3:46 PM Stephen Etheridge <setheridge at>
> wrote:
>> Darshan,
>> Perhaps if you gave some more details of what you are trying to do I
>> might be able to help further?
>> Stephen
Hi Darshan,

If I understand you correctly, your embedded devices will locally store
data and will communicate with a central server, but not other peer
devices. Riak's strength lies in being a centralised distributed database
optimised for dealing with very large data sets. Riak installations
typically distribute the data set over a small(-ish) number of nodes to
achieve high availability and resilience.

In your use case I expect there to be a large number of embedded devices,
each responsible for a small amount of data. This is not a good fit for

A quick search shows embeddable key-value stores, such as RocksDB [0],
unqlite [1], and others (*), which you could use to store data locally in
your embedded devices. If you'd like to use Riak on the central server, I'd
recommend using one of the Riak client libraries [2] to transfer data
between the central server and your devices.

Kind Regards,


(*) The quoted embeddable DBs are examples only. I haven't personally used
them yet, and can't vouch for their suitability for your project.


Magnus Kessler
Client Services Engineer
Basho Technologies Limited

Registered Office - 8 Lincoln’s Inn Fields London WC2A 3BP Reg 07970431
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list