cre



cre

0 0


cre

Presentation for Custom Riak Endpoints

On Github dankerrigan / cre

Hacking functionality into Riak for fun and profit

Follow Along:

http://dankerrigan.github.io/cre/index.html

Basho

Riak

Webmachine powers the HTTP API within Riak KV

Not content with Riak's perfectly simple API?

Add your own!

  • Riak batch operations
  • Document compression, encyption/decryption
  • Document transform
  • Authentication/Authorization

But Beware

  • Unsupported and not recommended by Basho
  • Worst case: Your code can break Riak
  • Unexpected behavior? Probably not Riak

Live Dangerously!

Step 1: Modify Riak

Step 2: Write your app

Some Webmachine overrides

Step 3: ...

https://github.com/drewkerrigan/custom_riak_endpoints

Step 4: Profit!

Questions?

Real Examples