From: Colin T. <col...@ou...> - 2006-03-06 15:33:10
|
Jon Maber wrote: > Matthew Buckett wrote: > >> Ok here was the gotcha. The logging from SoftCache only tracks >> PrimaryKey hits/missed so although my stats were looking good it wasn't >> tracking the missed indexkey lookups. I'll add some logging to SoftCache >> so it also tracks the ratio of IndexKey lookups and logs them separately. >> >> The reason I had terrible performance was that I hadn't implemented >> matchesKey in Resource so it was going to the database every time. >> >> > How about a little IndexKey "how to" page from the current expert? We even have a Wiki at bodington.org now ;-) Colin -- ____________________________________ Colin Tatham VLE Team Oxford University Computing Services http://www.oucs.ox.ac.uk/ltg/vle/ http://bodington.org |