cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Turner <synfina...@gmail.com>
Subject Re: Force data to a specific node
Date Wed, 02 Jan 2013 19:54:38 GMT
You'd have to use the ordered partitioner or something like that and
choose your row key according to the node you want it placed.

But that's in general a really bad idea because you end up with
unbalanced nodes and hot spots.

That said, are your nodes on a LAN?  I have my 9+3 node cluster (two
datacenters) on 100Mbps ports (which everyone says not to do) and it's
working just fine.  Even node rebuilds haven't been that bad so far.
If you're trying to avoid WAN replication, then use a dedicated
cluster.

On Wed, Jan 2, 2013 at 10:20 AM, Everton Lima <peitin.inutil@gmail.com> wrote:
> We need to do this to minimize the network I/O. We have our own load data
> balance algorithm. We have some data that is best to process in a local
> machine.
> Is it possible? How?
>
>
> 2013/1/2 Edward Sargisson <Edward.Sargisson@globalrelay.net>
>>
>> Why would you want to?
>>
>> ________________________________
>> From: Everton Lima <peitin.inutil@gmail.com>
>> To: Cassandra-User <user@cassandra.apache.org>
>> Sent: Wed Jan 02 18:03:49 2013
>> Subject: Force data to a specific node
>>
>> It is possible to force a data to stay in a specific node?
>>
>> --
>> Everton Lima Aleixo
>> Bacharel em Ciência da Computação pela UFG
>> Mestrando em Ciência da Computação pela UFG
>> Programador no LUPA
>>
>
>
>
> --
> Everton Lima Aleixo
> Bacharel em Ciência da Computação pela UFG
> Mestrando em Ciência da Computação pela UFG
> Programador no LUPA
>



-- 
Aaron Turner
http://synfin.net/         Twitter: @synfinatic
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin
"carpe diem quam minimum credula postero"

Mime
View raw message