Ok, if N=3 does it mean that each physical node in cluster with 3 nodes and 64 
partitions have to store his own data and copy from another node?

So if copy from another node can be stored in memory we should calculate 
cache's size using 42-44 vnodes for each physical node.

So it was a question, does risk use cache to store copy from another node?

Thank you.

On Dec 16, 2012, at 7:29 PM, Eric Redmond <[email protected]> wrote:

> N is the number of nodes a write is replicated to, not the total number of 
> nodes. The N=3 is not relevant to this calculation, just the number if 
> physical nodes.
> 
> Eric
> 
> On Dec 16, 2012, at 9:01 AM, Mikhail Tyamin <[email protected]> wrote:
> 
>> Hello guys, 
>> 
>> currently I am reading documentation about LevelDB backend on the site. 
>> Can you explain me one thing, in your example of calculation cache size you 
>> suppose that if we use cluster with 4 physical nodes and with 64 partitions 
>> each node has 16 partitions.
>> 
>> For example, take a cluster with 64 partitions running on 4 physical nodes 
>> with 16GB of RAM free on each. In a best case scenario, all the nodes are 
>> running, so a good cache size would be half the available RAM (8GB) divided 
>> by the number of expected active vnodes on each node, which would be 64/4 = 
>> 16. That's 536870912 bytes (512MB) per vnode.
>> 
>> But if we have N=3 then each node has more than 16 vnodes is not it?
>> 
>> Best,
>> Mikhail
>> 
>> _______________________________________________
>> riak-users mailing list
>> [email protected]
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to