Scaling with CacheObservers(nerds.airbnb.com) |
Scaling with CacheObservers(nerds.airbnb.com) |
class ListingCache extends CacheObserver
The rest of the code is Ruby but this isn't. Guessing this code wasn't copied and pasted but written on the fly by someone who's been doing some Java recently? :-)Edit: fixed.
"There are only two hard problems in Computer Science:
cache invalidation and naming things."
-- Phil Karlton
Always helpful to see how someone else is solving the problem at scale.Thanks for the catch. :)