CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 06 Sep 2025 12:24:10 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100627050745
location: https://web.archive.org/web/20100627050745/https://github.com/basho/riak/tree/riak-0.6.1
server-timing: captures_list;dur=1.288459, exclusion.robots;dur=0.042241, exclusion.robots.policy;dur=0.019219, esindex;dur=0.017479, cdx.remote;dur=59.860382, LoadShardBlock;dur=2926.010504, PetaboxLoader3.datanode;dur=2686.109349, PetaboxLoader3.resolve;dur=129.336189
x-app-server: wwwb-app216
x-ts: 302
x-tr: 3075
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app216; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sat, 06 Sep 2025 12:24:10 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sun, 27 Jun 2010 05:07:39 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "165a375196a50cfbe6a2af1f559997b0"
x-archive-orig-x-runtime: 206ms
x-archive-orig-content-length: 41856
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 27 Jun 2010 05:07:45 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 27 Jun 2010 05:07:45 GMT", ; rel="memento"; datetime="Sun, 27 Jun 2010 05:07:45 GMT", ; rel="next memento"; datetime="Mon, 28 Jun 2010 12:30:55 GMT", ; rel="last memento"; datetime="Mon, 28 Jun 2010 12:30:55 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_16_20100627040724_crawl103-c/52_16_20100627050649_crawl101.arc.gz
server-timing: captures_list;dur=2.048098, exclusion.robots;dur=0.019994, exclusion.robots.policy;dur=0.009298, esindex;dur=0.011336, cdx.remote;dur=13.255689, LoadShardBlock;dur=170.688100, PetaboxLoader3.datanode;dur=124.207437, PetaboxLoader3.resolve;dur=95.939148, load_resource;dur=141.127020
x-app-server: wwwb-app216
x-ts: 200
x-tr: 440
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
basho's riak at riak-0.6.1 - GitHub
basho / riak
- Source
- Commits
- Network (7)
- Graphs
-
Tag:
riak-0.6.1
click here to add a description
click here to add a homepage
- Switch Branches (1)
-
Switch Tags (34)
- riak-0.11.0rc9
- riak-0.11.0rc8
- riak-0.11.0rc7
- riak-0.11.0rc6
- riak-0.11.0rc4
- riak-0.11.0rc3
- riak-0.11.0rc2
- riak-0.11.0rc1
- riak-0.11.0-rc1
- riak-0.11.0
- riak-0.10rc4
- riak-0.10rc3
- riak-0.10rc2
- riak-0.10rc1
- riak-0.10.1
- riak-0.10
- riak-0.9.1
- riak-0.9
- riak-0.8
- riak-0.7.1
- riak-0.7
- riak-0.6.3
- riak-0.6.2
- riak-0.6.1
- riak-0.6
- riak-0.5.3
- riak-0.5.2
- riak-0.5.1
- riak-0.5
- riak-0.4
- riak-0.3.1
- riak-0.3
- riak-0.2
- pre-0.10
- Branch List

justin (author)
Fri Nov 06 09:48:55 -0800 2009
riak /
name | age | message | |
---|---|---|---|
![]() |
.hgignore | Loading commit data... ![]() |
|
![]() |
.hgtags | ||
![]() |
Emakefile | ||
![]() |
LICENSE | Fri Aug 07 08:06:46 -0700 2009 | import [justin] |
![]() |
Makefile | ||
![]() |
NOTICE | Fri Aug 07 08:06:46 -0700 2009 | import [justin] |
![]() |
README | ||
![]() |
THANKS | ||
![]() |
TODO | ||
![]() |
client_lib/ | ||
![]() |
config/ | ||
![]() |
debug-fresh.sh | ||
![]() |
debug-join.sh | ||
![]() |
debug-restart.sh | ||
![]() |
demo/ | ||
![]() |
deps/ | ||
![]() |
doc/ | ||
![]() |
ebin/ | ||
![]() |
priv/ | Mon Feb 22 12:56:39 -0800 2010 | Moving riak -> riak_kv --HG-- rename : apps/ri... [dizzyd] |
![]() |
releasenotes/ | ||
![]() |
riak-env.sh | ||
![]() |
riak_demo.escript | ||
![]() |
scripts/ | ||
![]() |
src/ | ||
![]() |
start-backup.sh | ||
![]() |
start-fresh.sh | ||
![]() |
start-join.sh | ||
![]() |
start-logger.sh | ||
![]() |
start-restart.sh | ||
![]() |
start-restore.sh | ||
![]() |
www/ |
README
Welcome to Riak. Riak is a distributed, decentralized data storage system. Below, you will find the "quick start" directions for setting up and using Riak. For more information, browse the following files: README: this file TODO: a list of improvements planned for Riak LICENSE: the license under which Riak is released *.sh: various startup scripts riak_demo.escript: demo for a base level of Riak functionality doc/ basic-setup.txt: slightly more detail on setting up Riak basic-client.txt: slightly more detail on using Riak architecture.txt: details about the underlying design of Riak, and how this affects applications using it index.html: the root of the edoc output of 'make docs' src/ *.erl: the source for Riak (it's friendly) config/ *.erlenv: example configuration files Quick Start --- This section assumes that you have copy of the Riak source tree at $RIAK. You should have created this by cloning a repo or expanding a tarball from somewhere. The quick start goes like this: 1. Build Riak 2. Start the Riak server 3. Connect a client and store/fetch data 1. Build Riak - Assuming you have a working Erlang (R13 or later) installation, building Riak should be as simple as: $ cd $RIAK $ make 2. Start the Riak server - Assuming no errors were generated in the build step, $RIAK/config/riak-demo.erlenv and replace all instances of $RIAK with the directory in which $RIAK is installed. For example, change: {riak_heart_command, "(cd $RIAK; ./start-restart.sh $RIAK/config/riak-demo.erlenv)"}. to: {riak_heart_command, "(cd /usr/local/riak; ./start-restart.sh /usr/local/riak/config/riak-demo.erlenv)"}. Then start riak: $ cd $RIAK $ ./start-fresh.sh config/riak-demo.erlenv The server should start, then background itself, leaving you at a command prompt. At this point, you can use riak_demo.escript to ensure that Riak is functioning: $ ./riak_demo.escript config/riak-demo.erlenv Attempting to connect to 127.0.0.1:9000 with cookie riak_demo_cookie... Connected successfully Looking for pre-existing object at {riak_demo, "demo"}... No pre-existing object found, creating new Storing object with new value... Written successfully Fetching object at {riak_demo, "demo"}... Fetched successfully Object contained correct value SUCCESS If riak_demo prints no "Error: ..." messages, and instead prints "SUCCESS", then Riak is working. 3. Connect a client - Assuming no errors were generated during the server start step, a simple client interaction will look like: (remember, $RIAK should be set to the local path to your Riak installation) $ erl -name riaktest@127.0.0.1 -pa $RIAK/ebin -setcookie riak_demo_cookie (riaktest@127.0.0.1)1> %% connect to Riak (riaktest@127.0.0.1)1> {ok, C} = riak:client_connect('riakdemo@127.0.0.1'). {ok,{riak_client,'riakdemo@127.0.0.1', "20090722191020-riaktest@127.0.0.1-riakdemo@127.0.0.1-266664"}} riaktest@127.0.0.1)2> %% Create a shopping list for bread at /groceries/mine riaktest@127.0.0.1)2> O0 = riak_object:new(<<"groceries">>, <<"mine">>, ["bread"]). {r_object,<<"groceries">>,<<"mine">>, [{r_content,{dict,0,16,16,8,80,48, {[],[],[],[],[],[],[],[],[],[],[],[],[],[],...}, {{[],[],[],[],[],[],[],[],[],[],[],[],...}}}, ["bread"]}], [], {dict,0,16,16,8,80,48, {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],...}, {{[],[],[],[],[],[],[],[],[],[],[],[],[],...}}}, undefined} (riaktest@127.0.0.1)3> %% store the list (riaktest@127.0.0.1)3> C:put(O0, 1). ok (riaktest@127.0.0.1)4> %% retrieve the list (riaktest@127.0.0.1)4> {ok, O1} = C:get(<<"groceries">>, <<"mine">>, 1). {ok,{r_object,<<"groceries">>,<<"mine">>, [{r_content,{dict,2,16,16,8,80,48, {[],[],[],[],[],[],[],[],[],[],[],[],...}, {{[],[],[],[],[],[], [["X-Riak-Last-Modified",87|...]], [],[],[],...}}}, ["bread"]}], [{"20090722191020-riaktest@127.0.0.1-riakdemo@127.0.0.1-266664", {1,63415509105}}], {dict,0,16,16,8,80,48, {[],[],[],[],[],[],[],[],[],[],[],[],[],...}, {{[],[],[],[],[],[],[],[],[],[],[],...}}}, undefined}} (riaktest@127.0.0.1)5> %% extract the value (riaktest@127.0.0.1)5> V = riak_object:get_value(O1). ["bread"] (riaktest@127.0.0.1)6> %% add milk to the list (riaktest@127.0.0.1)6> O2 = riak_object:update_value(O1, ["milk"|V]). {r_object,<<"groceries">>,<<"mine">>, [{r_content,{dict,2,16,16,8,80,48, {[],[],[],[],[],[],[],[],[],[],[],[],[],[],...}, {{[],[],[],[],[],[], [["X-Riak-Last-Modified",87,101,100|...]], [],[],[],[],[],...}}}, ["bread"]}], [{"20090722191020-riaktest@127.0.0.1-riakdemo@127.0.0.1-266664", {1,63415509105}}], {dict,0,16,16,8,80,48, {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],...}, {{[],[],[],[],[],[],[],[],[],[],[],[],[],...}}}, ["milk","bread"]} (riaktest@127.0.0.1)7> %% store the new list (riaktest@127.0.0.1)7> C:put(O2, 1). ok (riaktest@127.0.0.1)8> %% find out what else is in the groceries bucket (riaktest@127.0.0.1)8> C:list_keys(<<"groceries">>). {ok,[<<"mine">>]}