Hey, quick question.
which server is better to fetch stats from? XML or masterserver?
is the speed the same? anyone know?
I'd expect the Master Server to be slightly quicker, but I don't think there's really much difference at all.Code: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
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.
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
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.