Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do you implement that cache invalidation, assuming a multiple app server environment? Is it something like a separate redis server?


Yes, exactly: you use a fast data store such as redis or memcached.

As a user performs activities, this may involve a scenario requiring escalation or revocation of authorization roles and corresponding permissions. Invalidate cache at this moment. Lazy cache updated authorization info upon next request.

(I authored Yosai)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: