Layer7 API Management

Expand all | Collapse all

Is there a way to clear cache across all servers in a cluster simultaneously?

  • 1.  Is there a way to clear cache across all servers in a cluster simultaneously?

    Posted Mar 19, 2018 03:38 PM

    So we cache tokens for a given time and as long as the session is active token is checked in cache and all is good. We also have an API that invalidates session/token. Now i am able to clear cache entry on the server that the request lands on. If the next request with the same token lands on the same server the request fails as expected since cache is empty but if it lands on any other server within the cluster it doesnt fail since the cache is NOT cleared.

    Is there a way around it?



  • 2.  Re: Is there a way to clear cache across all servers in a cluster simultaneously?
    Best Answer

    Broadcom Employee
    Posted Dec 18, 2018 04:57 PM

    Good afternoon,

     

    For the scenario that you have provided I would suggest that you look to use the Tactical Remote Cache assertion as the localized cache will not be able to update all the nodes in the cluster. This assertion is not provided out of the box. However, if you raise a support case you can request access to it. There is no separate license needed to use it.

     

    Sincerely,

     

    Stephen Hughes

    Broadcom Support



  • 3.  Re: Is there a way to clear cache across all servers in a cluster simultaneously?

    Posted Dec 20, 2018 08:00 AM

    Thanks Stephen. Will try that out.