Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching: add global cache based on Redis (experimental) #1201

Merged
18 commits merged into from Nov 30, 2023
Merged

Caching: add global cache based on Redis (experimental) #1201

18 commits merged into from Nov 30, 2023

Commits on Nov 8, 2023

  1. Use Class::Accessor instead of Moose

    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    65ea249 View commit details
    Browse the repository at this point in the history
  2. Hide cache layer internals

    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    3ab1742 View commit details
    Browse the repository at this point in the history
  3. Provide a caching interface

    Make room for other caching solution. Move default cache into new
    LocalCache module.
    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    0bbe214 View commit details
    Browse the repository at this point in the history
  4. New Redis global cache engine

    Require Perl modules: Redis and Data::MessagePack
    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    e24f6e8 View commit details
    Browse the repository at this point in the history
  5. Cache data based on TTL value

    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    d731495 View commit details
    Browse the repository at this point in the history
  6. Add POD and experimental note

    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    0c92c4f View commit details
    Browse the repository at this point in the history
  7. Respect TTL with NXDOMAIN and NODATA

    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    752cfd2 View commit details
    Browse the repository at this point in the history
  8. Use TTL from AUTHORITY SOA record

    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    d14153f View commit details
    Browse the repository at this point in the history
  9. Make expire value for Redis key configurable

    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    a767dc6 View commit details
    Browse the repository at this point in the history
  10. Clean up: remove unused routine

    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    7746b7e View commit details
    Browse the repository at this point in the history
  11. Update after review

    * use an eval block
    * fix a typo
    * make it clear variable is a default value
    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    3e7dd79 View commit details
    Browse the repository at this point in the history
  12. Apply suggestions from review

    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    37c9572 View commit details
    Browse the repository at this point in the history
  13. Log cache hit or miss

    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    3ce77b2 View commit details
    Browse the repository at this point in the history
  14. Use a generic "cache" entry in the profile

    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    5b92142 View commit details
    Browse the repository at this point in the history
  15. Add profile unit test for "cache.redis" entry

    Alexandre Pion authored and tgreenx committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    1ac4951 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    efb6118 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Configuration menu
    Copy the full SHA
    08f88cd View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Increase the minimum default expiration time

    After discussion it appears 5 seconds is to low when testing this
    feature.
    Alexandre Pion committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    ae6934b View commit details
    Browse the repository at this point in the history