pippin;522731 Wrote: > OK. So the typical selection of some music to play requires, what, 5 > queries >
In MyMusic the longest would be Genre 'Rock' -> Artist 'U2' -> Album 'Rattle And Hum' -> Track 'All along the watchtower' = 4 queries But most people will prbly add an album or something. > > so every 4ths try will fail. > Well, I think that depends on the 'distribution'. It could be anything like e.g.: 95% users with reasonably speedy servers (like my 1.5Ghz 7 year old Athlon) would have 0.5% timeouts And 5% users would have 90% timeouts. > > Plus you will see those clustered around: > - people browsing by Genre since this query is incredibly slow... wait: > do you support Genres at all, can't remember right now. > Yes, but the thing is, when you browse via genre->artist->album, the queries become much faster, because they return only few items. Now that I think about it: It's actually impossible to give a fail rate. So my 5% ballpark was pretty ignorant. My approach was the following: Every query is divided in chunks of n elements. And I chose n so that (in my environment) each chunk response returns with 1-2 seconds. And the timeout is 10 sec. Maybe it's better to interpret the 5% like so: In 5% of all thinkable use-cases will a query fail. in 95% it will not fail. so it will never fail for the average user (never := < 0.0001 % e.g.) Maybe we should talk about this on the phone. It seems to be on your mind too :-) Remember the 80/20 rule? I am poing by the 95/5 rule with a 10sec timeout You are taking the 98/2 route with a 30sec timeout;-) Oh and as to ruining some people's program experience. What's there to ruin if it takes > 10 seconds to query a couple of albums, or a single image. These people are having no fun anyways. -- Locuth Use your PDA/Phone as SqueezeBox remote -- http://sc.sciatec.de ------------------------------------------------------------------------ Locuth's Profile: http://forums.slimdevices.com/member.php?userid=29693 View this thread: http://forums.slimdevices.com/showthread.php?t=75455 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
