Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: thibaultcha/lua-resty-mlcache
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c0d6aa9
Choose a base ref
...
head repository: thibaultcha/lua-resty-mlcache
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 62e7e84
Choose a head ref
  • 3 commits
  • 10 files changed
  • 1 contributor

Commits on Aug 24, 2017

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

Commits on Aug 27, 2017

  1. fix(mlcache) correctly propagate invalidation events

    Sibling instances on different workers would not receive invalidation
    events since those are sent under the namespace of the publishing
    worker, which has a different address for its mlcache instances than
    others (potentially).
    
    Instead of relying on the memory address, we now require users of
    mlcache to simply name their cache. Several mlcache instances bearing
    the same name are simply sharing the same data (same LRU and same
    namespace in the shared dict).
    
    In order to properly GC our instances, we must now keep track of how
    many instances are using the same name and thuse, only GC an LRU
    instance if no mlcache instance is using it (0 references left).
    thibaultcha committed Aug 27, 2017
    Configuration menu
    Copy the full SHA
    7a9d030 View commit details
    Browse the repository at this point in the history
  2. release: 1.0.1

    thibaultcha committed Aug 27, 2017
    Configuration menu
    Copy the full SHA
    62e7e84 View commit details
    Browse the repository at this point in the history
Loading