GithubHelp home page GithubHelp logo

Comments (3)

lonelycode avatar lonelycode commented on July 17, 2024

Hi Alex,

I agree that option 3 sounds the most attractive, as it also opens up the data collection element to third-party processes in case Mongo isn't suitable back-end (Mongo is used mainly because of the aggregation framework and the Tyk Dashboard).

Personally I think simpler is better :-)

It should be relatively easy to enable this by simply checking the purgeDelay value in the globals setup and not firing off the goroutine (with an appropriate log message, we'll need to warn the user that their Redis DB might get massive), though I might use -1 instead of 0?

https://github.com/lonelycode/tyk/blob/86678f56ee7ab27194e8e53aad3c9a7fa8422a78/main.go#L55

Longer term perhaps the analytics handler should be converted to an interface, that way Tyk could write directly to alternative stores...

Will add that to roadmap.

Cheers,
Martin

from tyk.

alexwhitman avatar alexwhitman commented on July 17, 2024

Thanks, I've implemented disabling of the cache purge in #9.

from tyk.

lonelycode avatar lonelycode commented on July 17, 2024

Fixed in #9

from tyk.

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.