BuzzerBeater Forums

BBAPI Support > BBAPI very slow

BBAPI very slow

Set priority
Show messages by
From: grdft
This Post:
00
72372.1
Date: 2/9/2009 1:43:22 PM
Overall Posts Rated:
00
Hi,

I want to write a program that can produce team stats. The first part (coding against BBAPI and inserting in DB) is almost done, and while doing a test run, I noticied that BBAPI calls are very slow on www.buzzerbeater.com.
Since the API is meant for one call after another (ie you can't ask for results for a list of matches but have to go through each one by a different call), and since replies from server are so slow, it's very difficult to retrieve season 7 results for my level in my league. And I'm not even speaking about retrieving the whole league.

Is there a specific server that can process requests faster ? Or will there be a new call to fetch a bunch of (gziped one day I hope) results ? Or can I fork a few processes to do multiple parallel requests ?

Thanks.

This Post:
00
72372.2 in reply to 72372.1
Date: 2/9/2009 1:45:04 PM
Overall Posts Rated:
225225
Try www2.buzzerbeater.com?

"I don't know half of you half as well as I should like; and I like less than half of you half as well as you deserve."
This Post:
00
72372.4 in reply to 72372.3
Date: 2/9/2009 3:21:57 PM
Le Cotiche
III.1
Overall Posts Rated:
772772
it's strange because i find it much faster now than 4-5 months ago

This Post:
00
72372.6 in reply to 72372.3
Date: 2/9/2009 3:50:54 PM
Overall Posts Rated:
00
I've tried www2 domain but it's not much better. Do you known how many parrallel connections are allowed on the server ? I don't want to be too aggressive on it.

This Post:
00
72372.7 in reply to 72372.5
Date: 2/9/2009 3:52:31 PM
Overall Posts Rated:
00
I'm not saying it's slower, as it is the first time I use the BBAPI, I'm just saying that for a mass retrieving of info, it's very slow. Hope you don't misunderstand me.

From: OJAY

This Post:
00
72372.9 in reply to 72372.6
Date: 2/10/2009 4:22:16 PM
Overall Posts Rated:
1111
I dont try it actually but I also made some test for get a lot of information in short times - I get more than 1000 teams and there players in a time of less than 3 minutes maybe it was only a minute but really really fast..

so the most important for that is your server and your internet connection, then there should be not a problem.. thats my experience

From: sailor_man

To: OJAY
This Post:
00
72372.10 in reply to 72372.9
Date: 2/10/2009 5:21:57 PM
Overall Posts Rated:
00
Which language do you use for that ?

Can you share your code ?

I'm use PHP with socket connection and I really far from this performance :\

Last edited by sailor_man at 2/10/2009 5:23:20 PM

sailor_man, webmaster www.buzzer-manager.com
Message deleted