Doubt in inviteFriends implementation

2 views
Skip to first unread message

Pradeep Nayak

unread,
Nov 23, 2013, 9:48:50 PM11/23/13
to bg-socialbenchmark
Hi,

We are working on implementing a neo4j client for BG. We get the following error when we try to run our inviteFriends action. 
No more friends to allocate for  0 ; benchmark results invalid
No more friends to allocate for  1 ; benchmark results invalid
No more friends to allocate for  0 ; benchmark results invalid
No more friends to allocate for  1 ; benchmark results invalid
No more friends to allocate for  4 ; benchmark results invalid
No more friends to allocate for  4 ; benchmark results invalid
No more friends to allocate for  0 ; benchmark results invalid
No more friends to allocate for  2 ; benchmark results invalid
No more friends to allocate for  1 ; benchmark results invalid
No more friends to allocate for  1 ; benchmark results invalid
No more friends to allocate for  0 ; benchmark results invalid
No more friends to allocate for  0 ; benchmark results invalid
No more friends to allocate for  6 ; benchmark results invalid
..........
.................

Any idea what could we doing wrong ? Please let us know.

Sayat Satybaldiev

unread,
Nov 23, 2013, 10:05:17 PM11/23/13
to BG-Social...@googlegroups.com
I'm not an expert with Neo4j anb BG but assume there's a mismatch in usercount that you've specified during load phase and during workload. Can you check what's your usercount in populateDB(the file that've probably used during load phase) and workload parameter usercount?

Varun S L

unread,
Nov 23, 2013, 10:05:33 PM11/23/13
to bg-socialbenchmark
Hi,
.
Have you set the number of users to the same value in both the load and run phases?

--
You received this message because you are subscribed to the Google Groups "BG Social Benchmark" group.
To unsubscribe from this group and stop receiving emails from it, send an email to BG-SocialBenchm...@googlegroups.com.
Visit this group at http://groups.google.com/group/BG-SocialBenchmark.
For more options, visit https://groups.google.com/groups/opt_out.

Pradeep Nayak

unread,
Nov 23, 2013, 10:06:23 PM11/23/13
to bg-social...@googlegroups.com, bg-social...@googlegroups.com
No we are specifying the same number of users we have loaded during populate db

Sent from Mailbox for iPhone


--

Pallav Rustogi

unread,
Nov 24, 2013, 3:33:21 AM11/24/13
to BG-Social...@googlegroups.com, bg-social...@googlegroups.com

Sumita Barahmand

unread,
Nov 24, 2013, 11:45:02 AM11/24/13
to BG-Social...@googlegroups.com
Hi,

This error occurs for a user when the user has some kind of relationship (confirmed friendship, or pending friendship ) with every other user in the social graph.

For example consider a social graph with 5 users, user 0, user 1, user 2 , user 3 and user 4.
use 0 and user 1 are friends.
user 0 and user 4 are friends.
user 0 has sent a friendship request to user 2.
user 3 has sent a friendship request for user 0.

So now user 0 has some kind of a relationship with all other users in the social network, so it can't generate friendship requests to any other user (No more friends to allocate for  0 ; benchmark results invalid).
So I would suggest you to increase your number of users or add thawFriendship and rejectFriendRequest actions to your workload.


On Sat, Nov 23, 2013 at 6:48 PM, Pradeep Nayak <prade...@gmail.com> wrote:

--

Pradeep Nayak

unread,
Nov 24, 2013, 7:48:05 PM11/24/13
to BG-Social...@googlegroups.com, BG-Social...@googlegroups.com
Okay thanks, will try and let you know

Sent from my iPhone

Pradeep Nayak

unread,
Nov 25, 2013, 1:25:13 AM11/25/13
to BG-Social...@googlegroups.com
Hey Sumita,

Indeed that was the problem. I increased the number of users and added some mix of acceptFriendship and thawFriendship actions :-)

Reply all
Reply to author
Forward
0 new messages