Hello!
On Wed, Nov 18, 2015 at 3:08 AM, RJoshi wrote:
> I am managing user backlist in resty.lrucache. When new users are added
> to the blacklist, I want to clear the cache and retrieve data from backend.
> Clearing cache request is invoked using a HTTP request and able to clear
> the cache.
>
> My understanding is that resty.lrucache is per worker so how do I make sure
> I clear cache from all worker process?
Why not just use a shorter exptime on the keys? Then the keys always
expire periodically and automatically.
Regards,
-agentzh