{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • General /
avatar image
0
Question by Binaya Kumar lenka · Jun 29, 2016 at 11:45 PM · 663 Views caching

Is it possible to use External Caching framework like Redis within Apigee Edge?

Is it possible to use External Caching framework like Redis within Apigee Edge?

Comment
Add comment Show 4
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Dino ♦♦   · Jun 30, 2016 at 12:29 AM 1
Link

Why would you want to do this? What problem are you trying to solve? Does the Apigee Edge built-in cache not satisfy your requirements? If so, why not?

There might be simpler paths to satisfaction.

avatar image Surabhi.gupta Dino ♦♦ · Jun 28, 2018 at 08:40 PM 0
Link

Dino,

We need to cache responses that are bigger then 512 KB. What are the options to do that in Apigee.

Thanks,

Surabhi

avatar image Dino-at-Google ♦♦ Surabhi.gupta   · Jun 28, 2018 at 09:03 PM 0
Link

To ask a new question, click the "Ask a Question" button.

ask-a-question.png (106.5 kB)
avatar image Surabhi.gupta Dino ♦♦ · Aug 29, 2018 at 06:33 PM 0
Link

@Dino,

Some of the APIs response size is more then 512 KB. As far as I am aware that is the limitation with Apigee Caching. So I need to find alternative solution.

What would you recommend.

Close

3 Answers

  • Sort: 
avatar image
1

Answer by clatimer1 · Jun 29, 2016 at 11:51 PM

Yes, assuming you're ok not using the built in policies for caching. You'd basically need to interact with Redis by either putting an HTTP interface like Webdis in front of it, or use a programmatic callout to interact with Redis and put it into your flow variables.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by arghya das · Jul 01, 2016 at 05:01 PM

@Binaya Kumar lenka

Using an external caching layer, probably isn't a good idea especially since Apigee provides such a sophisticated cache implementations along with policies to exercise response caching, populate, lookup and invalidate cache. Also by going out to an external caching service implemented over http, I am not sure how much benefit you would get because its almost as if you are going out to an external target. So, I would suggest you expand a bit more on your use-case and let us guide to the most appropriate implementation. Without knowing the problem statement, it would be hard to make a recommendation.

But to your original question, you can definitely interact with any external caching framework as long as they are accessible via an http endpoint. You can use the service callout policy to interact with it, but I think the management overhead of the cache would be too high. Better to stick to the built-in cache implementation.

Comment
Add comment Show 8 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Surabhi.gupta · Aug 29, 2018 at 06:31 PM 0
Link

@Binaya Kumar Lenka,

We are using Apigee's cache implementation. But for some of the URIs, JSON response size is more then 512 KB. what I have read so far is, 512 KB is max cache size.

So that's why i am looking for alternative to cache more then 512 KB response.

avatar image Dino-at-Google ♦♦ Surabhi.gupta   · Aug 29, 2018 at 06:42 PM 0
Link

Did you see Chris Latimer's response? And? Have you tried that approach?

avatar image Surabhi.gupta Dino-at-Google ♦♦ · Aug 29, 2018 at 06:44 PM 0
Link

We are exploring that option as well but was wondering if that's a recommendation from Apigee to cache larger objects or if there is anything else can be done before we introduce a new entity in between.

Show more comments
avatar image
0

Answer by Suganya Ravindra Samuel · Jul 12 at 06:24 PM

@Surabhi.gupta

Can you please let us know what solution have you built for the cache data which is larger that 512 KB?

Have you used external caching framework -Redis?

We also have similar use case where our cache data is greater than 512 KB.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

35 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can the object say for example token put in cache by one API be accessed by another API? 1 Answer

what is the difference between response cache and populate cache ? 2 Answers

How can we ignore similar request for the backend service. 1 Answer

DNS caching behaviour 1 Answer

How do I invalidate cache by InvalidateCache policy? 0 Answers

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2019 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Members
  • Badges