Layer 7 API Management

Expand all | Collapse all

Caching Mechanism

Jump to Best Answer
  • 1.  Caching Mechanism

    Posted 04-23-2018 01:04 PM

    I am trying to understand caching and database query from the below documentation. Could you please share your comments on below queries.

     

     

    Here are versions:

    1. Gateway : 9.2

    2. OTK : 4.1

     

    We have two type of caching assertions i.e. "Store to cache" and "OTK Cache Store"

    Here are query based on OTK document:

     

    Query 1: Is "Store to cache" assertion related to local caches (visible on a single node only)?

    Query 2: Is "OTK Cache Store" assertion related to database backed caches (visible throughout all cluster nodes)?

     



  • 2.  Re: Caching Mechanism
    Best Answer

    Posted 04-27-2018 05:07 AM

    Q1: yes, "Store to cache" works locally

    Q2: no, "OTK Cache Store" is base on "Store to cache", not DB backed. Besides, this should be for otk internal use only.



  • 3.  Re: Caching Mechanism

    Posted 04-27-2018 05:24 AM

    Thank you Zhijun for your valuable inputs.

    Could you please let me know below additional information. 

    1. Is there any policy assertions for "database backed caches" ?
    2. Is there any sharable cache assertions (caching data is visible across all cluster nodes)? 


  • 4.  Re: Caching Mechanism

    Posted 05-01-2018 10:11 PM

    There is a tactical assertion: RemoteCache, it provides support for storing and retrieving messages from Memcached, Coherence, GemFire servers, as well as Redis cache.

    It's cluster wide, but it rely on the remote cache server.

    You may open a support ticket to ask for the tactical assertion and get more details.



  • 5.  RE: Re: Caching Mechanism

    Posted 09-30-2019 02:32 PM
    For API GW 9.4, there is no RemoteCache or tactical assertion? Do we need to install any more plugins?

    ------------------------------
    Enterprise Architect
    TwoCoins.ca Inc.
    ------------------------------



  • 6.  RE: Re: Caching Mechanism

    Posted 09-30-2019 09:53 PM
    Tactical assertion is not available OOTB, as mentioned, you can open a support ticket to ask for the tactical assertion, including the remote cache assertion

    Regards,
    Mark