4 ms·
How Not To Sort By Average Rating Or, "How to Make Your Host Very Happy Because You Suddenly Have to Move Up To a Server With Double the Processing Cycles"
by jackowayed 18y ago
How Not To Sort By Average Rating
Or, "How to Make Your Host Very Happy Because You Suddenly Have to Move Up To a Server With Double the Processing Cycles"
- patio11 18y agoI realize this is probably a joke, but the relative infrequency of rating, the fact that this rating algorithm only requires information from the local context[1], and the existence of caching means that this is very, very unlikely to be the bottleneck for any site. [1] i.e. to calculate Harry Potter's rating you only need to know about Harry Potter, not every other book ever printed
- jackowayed 18y agoyeah, you could cache it in the db until you get a new rating. It would still slow you down a little though. And yes, it was a joke :-)