Overall Leaderboards?
Moderator: Bizarre Devs
12 posts
• Page 2 of 2 • 1, 2
Re: Overall Leaderboards?
Also, make sure you're using everything in your HTTP arsenal when making multiple calls, most specifically Keep-Alive.
For the GeoWars ScoreCard app from MGC, it only takes about 1.5 seconds (max) to make all 6 calls to the service (1 call for each GameType). I'd imagine without Keep-Alive, it'd be at least double that -- there's quite a bit of overhead to invoke a new HTTP state.
If you see this instantly, it's probably cached - but a new generation should only give a brief pause:

For the GeoWars ScoreCard app from MGC, it only takes about 1.5 seconds (max) to make all 6 calls to the service (1 call for each GameType). I'd imagine without Keep-Alive, it'd be at least double that -- there's quite a bit of overhead to invoke a new HTTP state.
If you see this instantly, it's probably cached - but a new generation should only give a brief pause:

Re: Overall Leaderboards?
Not entirely savvy with the ASP.NET XmlTextReader, thanks for the tips though--encouraging to know this should be quicker!
I did find out that the calls were slow because there were not running in async mode (i.e. threaded calls)! That's made a world of difference! Running quicker than 20 seconds for 60 calls (Top 1000 across all boards).
http://www.fantasyrole.org/gw2_master.aspx now shows the same as it did as per last, but it's using the dynamic data now. I think I'll try and revisit the earlier code and try and get GamerTag lookups for those outside lists--it looks feasible and will be a fun test.
t.S.
I did find out that the calls were slow because there were not running in async mode (i.e. threaded calls)! That's made a world of difference! Running quicker than 20 seconds for 60 calls (Top 1000 across all boards).
http://www.fantasyrole.org/gw2_master.aspx now shows the same as it did as per last, but it's using the dynamic data now. I think I'll try and revisit the earlier code and try and get GamerTag lookups for those outside lists--it looks feasible and will be a fun test.
t.S.
- The Silverlord
- Posts: 11
- Joined: 16 Jan 2009, 21:33
- Location: Scotland
- Gamertag: The Silverlord
12 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest

Register
Login