简体   繁体   中英

How to combine statebox and map/reduce in riak

Is it possible to combine statebox and map/reduce in riak? Can not find any examples, and statebox riak api does not provide any kind of map/reduce functionality as well.

Inside mapreduce phases you could write any erlang code. So you could use statebox modules from there, but you will get some complexity with this:

  1. you must have statebox modules on riak's path ( add_paths option)
  2. you will need feed right put and get options to statebox
  3. you will also need all statebox's deps on riak side (including riakc)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM