Thanks Vikas, we already took in consideration Bloom Filter for a related issue [2]. We decided that is still not too optimal since it leads toward content duplication and I would like to avoid that for now
regards antonio [2] https://issues.apache.org/jira/browse/SLING-3290 On Dec 5, 2014, at 4:26 PM, Vikas Saurabh <[email protected]> wrote: >> - do a search for a vanityPath if the /requestPath is not in the cache (as >> anticipated above I think this is not a great solution since it can be >> expensive, indeed I assume the majorities of requests are not even >> “vanityPath requests” so both the cache and the search will return empty >> result) > > I think the major concern here is that (a lot of) non-vanity path > resources would still have to go to repo for lookup. Would a bloom > filter[1] implementation be possible to help taking that decision? > > Thanks, > Vikas > [1]: http://en.wikipedia.org/wiki/Bloom_filter
