DatacenterShardSnitch in 0.7 allows something like this:
# DatacenterShardStrategy is a generalization of RackAwareStrategy.
# For each datacenter, you can specify (in `datacenter.properties`)
# how many replicas you want on a per-keyspace basis. Replicas are
# placed on different racks within each DC, if possible.
(DSS is present in 0.6 but incomplete, which is why it is not documented there.)
On Mon, May 24, 2010 at 7:26 PM, Mishail <mishail.mishail@gmail.com> wrote:
> Greetings,
>
> Is it possible to spread the particular keyspace only to the part of the
> ring?
>
> For example:
>
> Node | Keyspaces
> --------------------
> node1 | KS1
> node2 | KS2
> node3 | KS1, KS2
>
> Each KeySpace has ReplicationFactor == 2, so, node3 would store data
> from all keyspaces.
>
>
--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com
|