Massimo,

So just to understand your graph layout, you have:

(UID) --PERFORMED_ACTION_ON--> (DOMAIN)
(UID) --ACTION_TOOK_PLACE_FROM--> (IP)

Is this correct? Could you elaborate a bit more on the use case, along with
the queries you want to do on your data?

Thanks,
David

On Wed, Mar 16, 2011 at 10:00 AM, Massimo Lusetti <[email protected]>wrote:

> I remember to have read about some design smells but I cannot find it
> in the Design_Guide wiki so I post it here.
>
> I got IP addresses and uid (unique usernames), each uid performs
> actions on domains (kinda of urls). So I got a db with a small to
> medium number of Node for uid, IP and domains (with 1/2 properties
> each) but I have a lot of Relationships cause I create a Relationship
> between a domain Node and an uid Node (with properties of course) to
> represent  an "action" taken by the user on that particular domain and
> the same apply to Relationships between IP and uid cause that
> represent that the "action" has taken place from that particula IP
> address.
>
> So I'll end up with far more Relationship the Node, let's say that for
> 26139 Nodes I got 6866630 Relationships and the number of Nodes will
> continue to grow with a far far lighter curve then Relationships.
>
> Do you think there's some design smell in my graph!?
>
> Thanks
> --
> Massimo
> http://meridio.blogspot.com
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
David Montag
Neo Technology, www.neotechnology.com
Cell: 650.556.4411
[email protected]
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to