What kind of protocol are used between Riak nodes?

2012-05-28 Thread Alek Morfi
Hi there,

What kind of protocol is used betwwen Riak nodes to communicate. Because if
all Riak nodes are located in the same cluster (LAN network scale) there is
no problem.
But when Riak nodes are located on different clusters which are connected
through Internet, there are some limitations. Because some ISPs only allow
communicating by HTTP and SMTP protocol and I am wondering how Riak nodes
can communicate over the Internet. We know that each Riak node is an Erlang
application and Erlang application can communicate with each other by 1)
distributed erlang 2) secure socket

1) Do Riak nodes communicate with HTTP protocol ? ( I mean internal
communcation between Riak nodes)
2) If NO, then how we can connect Riak nodes in a large scale area such as
WAN or Internet scale? (please consider the limitation that some ISP have
on port number and communication protocol)

Cheers,
Alek
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Difference between Protocol Buffers and HTTP interface

2012-07-06 Thread Alek Morfi
Hi there,

What is the difference between Protocol Buffers and HTTP interface?
And how and when we should select one of them for our applications?

Thanks in advance,

Alek.
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


How to switch from Bitcask to eLevelDB

2012-04-11 Thread Alek Morfi
Hi,

Does anyone know how to switch from Bitcask to eLevelDB?
In app.config both of them exist as shown below:

 %% Bitcask Config
 {bitcask, [
 {data_root, "./data/bitcask"}
   ]},
 %% eLevelDB Config
 {eleveldb, [
 {data_root, "./data/leveldb"}
]},
Regards,
Alek
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Keys location

2012-04-15 Thread Alek Morfi
Hi,

1) How can I find where a key is ? (On which node)
2) How I can find which keys are mapped to a particular node?

Thanks in advance,
Alak
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Three kinds of node groups

2012-04-21 Thread Alek Morfi
Hi,

When I run a curl -H "Accept: text/plain"
http://137.195.143.116:8098/statscommand
I get three sets of nodes:connected_nodes, ring_members, ring_ownership
that are not the same. One node is included in connected_nodes but is not
included in ring_members, ring_ownership
What could be the reason?

Thanks in advance,

Alek
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Latency

2012-04-26 Thread Alek Morfi
Hi,

I have done a benchmark in Riak and I find that Insert a new record has the
lowest latency and Get's latecy (seek a record by key) is the middle one
(in terms of latency) and Update  command has the highest latency.
Latency means the amount of time that each operation takes to complete.

What is the reason of this order?
How can I reduce the GET latency? (I know It might cause an increase in
Insert latency)

Thanks,
Alek
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com