Base solution for your next web application
Open Closed

How do I Manage Cache for multi tenancy (Redis Cache Server) #1473


User avatar
0
shyamjith created

Hi

I am developing a multi tenant application , and i need to use a cache server to store my frequent used data, How do i configure/use Redis Cache Server for caching multi tenant data


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    You probably have seen this: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Caching#redis-cache-integration">http://www.aspnetboilerplate.com/Pages/ ... ntegration</a>

    For a multitenant data, you can create cache keys including tenantid, like "t42u291" where 42 is tenantid, 291 is user id. Then you can cache this user's data in the cache.