Author | Message | Time |
---|---|---|
Smurfling | Hmm in the game chat there's the client sending /astat <username> instead of /stats <username>. As far as i have seen there isn't a difference in the result, both will display the stats. Or have i missed there something and there's a difference? | April 25, 2003, 9:53 PM |
tA-Kane | I beleive the biggest difference is /astat (short for auto stats) is sent automatically, whereas /stats is not. | April 25, 2003, 10:24 PM |
iago | My guess is that it is asynchronous. If you send, say, /whoami and /stats right after each other, and /stats is processed first, it will still wait for /whoami to finish before displaying /stats, whereis /astat waits for nuttin' and no one. I've never tested this, though! :) | April 25, 2003, 11:10 PM |
St0rm.iD | Maybe it doesn't affect antiflood? | April 26, 2003, 2:50 PM |
Yoni | [quote author=St0rm.iD link=board=17;threadid=1155;start=0#msg8513 date=1051368611] Maybe it doesn't affect antiflood? [/quote]Try making a game and having 7 people join quickly. You will get IPbanned for flooding with 7 /astat's. That is something that SCE fixes (it disables the automatic /astat). | April 26, 2003, 3:33 PM |
iago | [quote author=Yoni link=board=17;threadid=1155;start=0#msg8518 date=1051371210] [quote author=St0rm.iD link=board=17;threadid=1155;start=0#msg8513 date=1051368611] Maybe it doesn't affect antiflood? [/quote]Try making a game and having 7 people join quickly. You will get IPbanned for flooding with 7 /astat's. That is something that SCE fixes (it disables the automatic /astat). [/quote] Yes, I fixed that too.. battle.net *should* make sure that /astat doesn't flood, and maybe at one time it did, but it doesn't now. | April 26, 2003, 6:23 PM |
Skywing | [quote author=iago link=board=17;threadid=1155;start=0#msg8487 date=1051312224] My guess is that it is asynchronous. If you send, say, /whoami and /stats right after each other, and /stats is processed first, it will still wait for /whoami to finish before displaying /stats, whereis /astat waits for nuttin' and no one. I've never tested this, though! :) [/quote] All stats and profile queries are asynchronous. | April 27, 2003, 11:35 PM |
iago | [quote author=Skywing link=board=17;threadid=1155;start=0#msg8639 date=1051486538] [quote author=iago link=board=17;threadid=1155;start=0#msg8487 date=1051312224] My guess is that it is asynchronous. If you send, say, /whoami and /stats right after each other, and /stats is processed first, it will still wait for /whoami to finish before displaying /stats, whereis /astat waits for nuttin' and no one. I've never tested this, though! :) [/quote] All stats and profile queries are asynchronous. [/quote] Then what's /astat do? | April 28, 2003, 1:43 AM |
Skywing | [quote author=iago link=board=17;threadid=1155;start=0#msg8648 date=1051494228] Then what's /astat do? [/quote] The same thing as /stats, apparently. A theory I had was that (a)utomatic stats queries would be given a lower priority than manual ones, but there's no easy way to prove or disprove that. | April 28, 2003, 2:19 AM |
Arta | That's what I thought too, but there's no difference that I can see - sending about 3 or 4 /stats commands in quick succession produces a "Too many server requests" message just like /astat does. | April 28, 2003, 4:22 PM |
tA-Kane | Maybe there used to be a difference... but now there isn't and, Blizzard being lazy, they never took it out because they didn't want to make a new patch just so the user wouldn't get "Unrecognized command" message everytime someone joined a game? | April 28, 2003, 4:30 PM |
Arta | That would be my guess. | April 28, 2003, 4:46 PM |
Skywing | [quote author=Arta[vL] link=board=17;threadid=1155;start=0#msg8694 date=1051546952] That's what I thought too, but there's no difference that I can see - sending about 3 or 4 /stats commands in quick succession produces a "Too many server requests" message just like /astat does. [/quote] The "Too many server requests" is unrelated - it's simply a limit on the number of database queries a user can make in a given amount of time. I don't think that you (one user) will have much of a hope of accurately measuring any prioritization when there are, say, 200000 other users online, many of which bound to be making their own queries indirectly or directly. | April 28, 2003, 5:06 PM |
Arta | That limit isn't calculated per-user? | April 28, 2003, 6:42 PM |
FyRe | I can't seem to find a difference either. The response time for both seem the same and they both go into a queue at overflow. My guess is that it's similar to the /w, /m, /msg, /whisper | April 28, 2003, 6:45 PM |
Skywing | [quote author=Arta[vL] link=board=17;threadid=1155;start=0#msg8712 date=1051555351] That limit isn't calculated per-user? [/quote] Uhm.. huh? I just said that the "Too many server requests" was per-connection. Anyways, my point is that there's far too much else going on for you to be able to accurately measure any possible differences in priority between /stat and/astat. | April 28, 2003, 8:26 PM |
Arta | My point was that if the limit is calculated per-connection, irrespective of the actions of other users over other connections, then I don't see why that should be the case :) In fact, it seems likely to me that the actions of other users are the most important. Perhaps /astat only affects priority when load on the servers reaches a certain point, or something? Anyway, I suppose it's moot really, since we have no way to find out. | April 28, 2003, 9:39 PM |
Skywing | [quote author=Arta[vL] link=board=17;threadid=1155;start=15#msg8736 date=1051565979] My point was that if the limit is calculated per-connection, irrespective of the actions of other users over other connections, then I don't see why that should be the case :) In fact, it seems likely to me that the actions of other users are the most important. Perhaps /astat only affects priority when load on the servers reaches a certain point, or something? Anyway, I suppose it's moot really, since we have no way to find out. [/quote] [quote]The "Too many server requests" is unrelated[/quote] I was theorizing that /astat requests would be marked as "low priority", and that requests issued otherwise would be moved in front of them in the database server's queue. This has nothing to do with the per-user restriction on number of queries per timeframe. | April 28, 2003, 11:18 PM |