Azure APIM Internal cache - Identify cache memory used

Anonymous
2022-09-16T23:47:55.94+00:00

Is there a way to find how much cache memory utilized in Azure APIM ? By this I need to further decide on increasing the size or opting for external cache. As of now I can find only cache hit, miss counts not the exact cache memory usage.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,456 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JananiRamesh-MSFT 29,276 Reputation points
    2022-09-18T04:01:47.35+00:00

    Hi @Anonymous Thanks for reaching out. The stated ask doesn’t seem to be directly possible since cache usage metrics are currently not emitted by default for APIM services.

    I also came across this feature request raised on the Azure Feedback Forum where it had a similar ask -

    242263-image.png

    https://feedback.azure.com/d365community/idea/3c75ba0c-0225-ec11-b6e6-000d3a4f0858

    no workaround currently available. Please upvote the feature request.

    let me know incase of further queries, I would be glad to assist you.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    2 people found this answer helpful.
    0 comments No comments

  2. SUNOJ KUMAR YELURU 15,491 Reputation points MVP Volunteer Moderator
    2022-09-17T04:26:23.697+00:00

    Hi @Anonymous

    Thanks for reaching Q & A forum.

    APIs and operations in API Management can be configured with response caching. Response caching can significantly reduce latency for API callers and backend load for API providers.

    Internal cache is not available in the Consumption tier of Azure API Management. You can use an external Azure Cache for Redis instead.

    Add the caching policies

    ---

    If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.