Coder Social home page Coder Social logo

Comments (7)

kdybicz avatar kdybicz commented on May 29, 2024 1

Discussion created: #44

from apollo-datasource-http.

StarpTech avatar StarpTech commented on May 29, 2024

This is to be expected because we make use of two caches with different lifetimes. If you don't need it feel free to create a PR to make this optional.

from apollo-datasource-http.

kdybicz avatar kdybicz commented on May 29, 2024

That's the simplest implementation possible. I believe there might be better way of addressing the issue than simply on/off switch for the second key. I would be curious to see if anyone could come up with more optimised caching strategy.

from apollo-datasource-http.

StarpTech avatar StarpTech commented on May 29, 2024

Is there anything left here? You can create a discussion here https://github.com/StarpTech/apollo-datasource-http/discussions

from apollo-datasource-http.

kdybicz avatar kdybicz commented on May 29, 2024

Creating a discussion might be good idea, but I think it's worth adding a "disclaimer" informing devs that this implementation will double the amount of memory used for cache, as this is not that obvious atm.

from apollo-datasource-http.

StarpTech avatar StarpTech commented on May 29, 2024

This highly depends on the use case. I preferred high availability over space efficiency.

from apollo-datasource-http.

kdybicz avatar kdybicz commented on May 29, 2024

But to do that you need to start throwing more and more money to keep buy of the tier AWS machines for cache and crazy bandwidth, which ie. in our case is less than ideal :)

from apollo-datasource-http.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.