how to count friends in social network
Posted: Sat Jun 09, 2007 3:05 pm
HI
I want to count friends in a social network type system,
Like if A is friend of B and B is friend of C you can say A is connected with 2 peoples
now the thing is where there are so many users and they are connected with each other how to count them so that one user don't get repeats.
More importantly we also need to make sure if 50 user login at same time and server starts counting it don't gets down etc.
any idea or help?
thanks
I want to count friends in a social network type system,
Like if A is friend of B and B is friend of C you can say A is connected with 2 peoples
now the thing is where there are so many users and they are connected with each other how to count them so that one user don't get repeats.
More importantly we also need to make sure if 50 user login at same time and server starts counting it don't gets down etc.
any idea or help?
thanks