BuzzerBeater
BuzzerBeater Forums
BBAPI Support > BBAPI very slow
Back to the Sneak Peek
BBAPI Support
BBAPI very slow
22
teamstats / rating Problem
4
Get Rookies
4
Game ratings (low, medium, hig...
13
Changes to roster xml
8
CLOSED
1
CLOSED
1
Transfer List
3
want to develop an application
4
BBAPI Dokumentation
6
CLOSED
4
Not authorized
4
CLOSED
1
End of season
6
National Rank
2
Can not use the data service
4
help - can't login
9
BBAPI Agreement
1
PHP and CURL Issues
4
Bugs
9
<
>
Favorite Folders
BBAPI very slow
Set priority
High
Normal
Low
Show messages by
Everybody
LA-Niko (1)
Dr. Dr. Jàn Ïtor (6)
mark_lenders (1)
sailor_man (3)
OJAY (2)
GM-kozlodoev (1)
grdft (7)
Search this Thread (Supporter Feature)
From:
grdft
This Post:
0
72372.1
Date: 2/9/2009 1:43:22 PM
Overall Posts Rated:
0
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.
Mark Unread
Ignore User
From:
mark_lenders
To:
Dr. Dr. Jàn Ïtor
This Post:
0
72372.4
in reply to
72372.3
Date: 2/9/2009 3:21:57 PM
Le Cotiche
III.1
Overall Posts Rated:
777
it's strange because i find it much faster now than 4-5 months ago
Mark Unread
Ignore User
From:
grdft
To:
Dr. Dr. Jàn Ïtor
This Post:
0
72372.6
in reply to
72372.3
Date: 2/9/2009 3:50:54 PM
Overall Posts Rated:
0
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.
Mark Unread
Ignore User
From:
grdft
To:
Dr. Dr. Jàn Ïtor
This Post:
0
72372.7
in reply to
72372.5
Date: 2/9/2009 3:52:31 PM
Overall Posts Rated:
0
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.
Mark Unread
Ignore User
From:
OJAY
To:
grdft
This Post:
0
72372.9
in reply to
72372.6
Date: 2/10/2009 4:22:16 PM
Overall Posts Rated:
11
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
Mark Unread
Ignore User
From:
sailor_man
To:
OJAY
This Post:
0
72372.10
in reply to
72372.9
Date: 2/10/2009 5:21:57 PM
Overall Posts Rated:
0
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
Mark Unread
Ignore User
Message deleted
Disable Emoticons and Images