From: bhupesh bansal <bbansal....@gmail.com>
Date: Thu, 13 Jan 2011 09:18:08 -0800
Local: Thurs, Jan 13 2011 12:18 pm
Subject: Re: [project-voldemort] StorageEngine Methods and Performance of Rebalancing Commands
I think it make perfect sense, till the time we can keep client and server On Thu, Jan 13, 2011 at 9:10 AM, Mark Rambacher <mramb...@gmail.com> wrote:
> We have created our own custom storage engine where each partition is > stored in a separate database (similar to what is proposed for BDB in > http://code.google.com/p/project-voldemort/issues/detail?id=179). > However, these changes do not "play nice" with a rebalancing in that > the rebalancing decisions are made at a layer *above* the storage > engine. The rebalance code ends up calling storageEngine.keys() and > storageEngine.get(key): > ByteArray key = keyIterator.next(); > if(validPartition(key.get()) && counter % skipRecords == 0) { > It seems like this code is very inefficient, at least for the case > Is there a reason not to change the method signatures for > If filter is null, all values are returned. If partitions is null or > Before we go about making such a change, is there any reason anyone > Thanks, > Mark > -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||