-
-
Save Randommood/887698 to your computer and use it in GitHub Desktop.
conversation about using Riak for a Rails 3 project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:55 <pferdefleisch> yo yo yo, I would like to use riak as a file serving | |
db for a rails 3 project. I am wondering if you can use ripple to save | |
images. I looked through the code(specifically casting.rb) and didn't see | |
an image or binary type. This makes me think that I need to use the riak_client | |
gem and set content type "image/jpg" or the like. | |
11:56 <pferdefleisch> so, can i even use the riak_client gem -- and -- is this even | |
a good idea in the first place? | |
11:56 <pferdefleisch> thx! | |
11:57 <roidrage> pferdefleisch: 1.) good idea: yes | |
11:59 <roidrage> pferdefleisch: you can use the riak-client gem, and should use the | |
methods store_file to store a file into Riak's luwak interface | |
12:00 <pferdefleisch> is luwak installed default in riak and riaksearch? | |
12:00 <pferdefleisch> roidrage: btw thanks | |
12:00 <roidrage> pferdefleisch: no, luwak needs to be enabled in the | |
configuration | |
12:01 <roidrage> in the app.config, there's a simple flag: {luwak, [{enabled, false}]}, | |
just set it to true and you're good to go | |
12:02 <pferdefleisch> so you don't need to build anything else? just | |
change that in the app.config? | |
12:02 <roidrage> yes, it's shipped with riak and riak search by default, but not enabled | |
12:02 <roidrage> i suggest reading up on luwak on http://wiki.basho.com/Luwak.html too | |
12:03 <pferdefleisch> will do. time to hack! I don't irc often... it is funny | |
to chat with people I follow on twitter ;) | |
12:04 <roidrage> we're real people! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment