incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <ty...@riptano.com>
Subject Re: How can build Bond graph?
Date Fri, 22 Oct 2010 20:26:18 GMT
Unless one user has several hundred million friends, this shouldn't be a
problem.

- Tyler

On Fri, Oct 22, 2010 at 3:00 PM, ruslan usifov <ruslan.usifov@gmail.com>wrote:

> Hello
>
> Does anybody have receipt how possible effectively hold  Bond graph in
> cassandra. For example relations between users in social
> networks(friendship).
> Simplest that comes to mind is follow keyspace
>
> <Keyspace Name="test_1">
>   <ColumnFamily Name="friends" CompareWith="LongType"  />
> </Keyspace>
>
>
> But this have a minus, if one user have many many friends, and all
> relations for this one user will by hold on one node. What kind of data
> design should i use to avoid problem?
>
> Thanks
>
>

Mime
View raw message