View Full Version : XML vs Masterserver
RAGEDMONKEY
10-29-2011, 04:01 AM
Hey, quick question.
which server is better to fetch stats from? XML or masterserver?
is the speed the same? anyone know?
joe@domo:python$ python time_hon.py
---- Test 0 ----
Timing XML GET..
0.51
Timing MasterServer GET..
0.48
---- Test 1 ----
Timing XML GET..
0.48
Timing MasterServer GET..
0.47
---- Test 2 ----
Timing XML GET..
0.48
Timing MasterServer GET..
0.49
I'd expect the Master Server to be slightly quicker, but I don't think there's really much difference at all.
Be safe and nice to S2 and use the XML server, plus there's some tiny variations in the data provided in the two I think.
RAGEDMONKEY
10-29-2011, 01:24 PM
joe@domo:python$ python time_hon.py
---- Test 0 ----
Timing XML GET..
0.51
Timing MasterServer GET..
0.48
---- Test 1 ----
Timing XML GET..
0.48
Timing MasterServer GET..
0.47
---- Test 2 ----
Timing XML GET..
0.48
Timing MasterServer GET..
0.49
I'd expect the Master Server to be slightly quicker, but I don't think there's really much difference at all.
Be safe and nice to S2 and use the XML server, plus there's some tiny variations in the data provided in the two I think.
nice quick test results. I guess there is no difference. But yes, the masterserver provides much more info.
theli
10-30-2011, 06:55 AM
you are not actually allowed to use masterserver, masterserver is for gaming ...
xml is made specifically for data fetches so that those fetches won't overload masterserver
hayer
07-27-2012, 02:44 PM
Necro :]
Well, what about sites relaying on getting the stats? I mean; can't be that bad if I fetch user stats for 500 users and cache them for 24 hours when using the master server?..
Cause XML is constantly down it seems - and its getting really annoying.