News for hackers. Stuff that matters.
Re:Cache made consistent: Meta’s cache invalidation solution by MaxMoney on Wednesday June 08, 2022 @08:17PM (#31676173)
In the past I've used a timestamp key for the org. Create a key like f"org_{org.pk}" that has a timestamp. Then append that timestamp to the `get_users_for_org`. Now all you have to do is invalidate the org timestamp to generate a rolling key (requires more memory).

There are no comments on this comment yet.