2. They can install new servers to handle the higher load. Some load > balancing strategies depend on different server names, so you have to take > care again of 300 reponse codes. > >
I'm pretty sure Valve already have more than one server, considering their user base is in the millions. Besides, a HTTP redirect *should point to the right place*. That's my whole point here. Dropping the ?xml=1 from the URL as it does now is bad practice because it makes data requested from the community website wildly inconsistent - the same URL could change from serving an XML feed to a HTML page containing different data, with no warning, if a user changes one preference within Steam. I've worked with Valve products long enough to know that I should expect to deal with this kind of stuff, but it's a particularly bad example because it requires that I have six or seven times the amount of code just to retrieve a profile page. You shouldnt have to worry about 300 codes. Firstly they should work in the same way (so long as valve get the response header right) as 302's (even if the behaviour is theoretically wrong) and also having multiple servers wont result in a 300 code (as you say they already will have these - but behind the scenes in a cloud form [I imagine]) because that isn't what it is for ;) Tom ++ No problem should ever have to be solved twice ++ 2008/11/24 David Kellaway <[EMAIL PROTECTED]> > Ronny Schedel wrote: > >> This is what you would like to get, but this is not how the Internet works >> and can work. You should be aware of how the Internet works. Imagine your >> application gets very popular and the webserver requests increases very >> high, Valve have two options which can hurt your application: >> >> 1. They can block or limit the access, so you have to take care if they >> send you 400's or 500's if the server is overloaded. >> >> > My application already handles this by showing an error message saying the > community is unavailable. 4**/5** errors are something I *should* have to > deal with. > > 2. They can install new servers to handle the higher load. Some load >> balancing strategies depend on different server names, so you have to take >> care again of 300 reponse codes. >> >> > > I'm pretty sure Valve already have more than one server, considering their > user base is in the millions. Besides, a HTTP redirect *should point to the > right place*. That's my whole point here. Dropping the ?xml=1 from the URL > as it does now is bad practice because it makes data requested from the > community website wildly inconsistent - the same URL could change from > serving an XML feed to a HTML page containing different data, with no > warning, if a user changes one preference within Steam. > > I've worked with Valve products long enough to know that I should expect to > deal with this kind of stuff, but it's a particularly bad example because it > requires that I have six or seven times the amount of code just to retrieve > a profile page. > > -Dave > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds

