Re:Spiral: Self-tuning services via real-time machine learning
by taeric on Tuesday July 03, 2018 @12:07PM
(#17451307)
I think this makes sense. My mental model would have been viewing this as a sharding style concern. Where different sized and topic items would be to effectively different caches. With hit rates determining the size of each cache.
That said, I think I see where I was mistaken in thinking that was an odd example. It was literally the example. Not just a random pedagogical one.
To that end, thanks for sharing! Cool stuff.
With Spiral, we were able to approach this top down as a classification problem.
e.g.
If you have a cached query for "Friends that liked my post", the Spiral classifier quickly learns that "Post Last Viewed At" or "Post Last Modified At" is not relevant to this via the feedback from the caching code.
Pre-spiral, this was expressed via a curated blacklist/whitelist which had to be recreated if the query characteristics changed.