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

Alternative Pool Strategies #5218

Merged
merged 27 commits into from
Sep 16, 2020
Merged

Alternative Pool Strategies #5218

merged 27 commits into from
Sep 16, 2020

Commits on Sep 1, 2020

  1. Speculative idea to make a pluggable Pool strategy

    Signed-off-by: Greg Wilkins <gregw@webtide.com>
    gregw committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    b63c59d View commit details
    Browse the repository at this point in the history
  2. Speculative idea to make a pluggable Pool strategy

     + javadoc
    
    Signed-off-by: Greg Wilkins <gregw@webtide.com>
    gregw committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    410fe53 View commit details
    Browse the repository at this point in the history
  3. Speculative idea to make a pluggable Pool strategy

     + Added a ThreadLocalStrategy for a single cached item
     + Tell strategies about newly reserved entries
     + Fixed multiplexing test that was dependent on the impl of the cache
    
    Signed-off-by: Greg Wilkins <gregw@webtide.com>
    gregw committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    27d31de View commit details
    Browse the repository at this point in the history
  4. Speculative idea to make a pluggable Pool strategy

     + added tests
    
    Signed-off-by: Greg Wilkins <gregw@webtide.com>
    gregw committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    91df8da View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2020

  1. Feedback from review

     + Don't have a fallback iteration, instead make a SearchStrategy and DualStrategy
    gregw committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    db086a5 View commit details
    Browse the repository at this point in the history
  2. Feedback from review

     + split strategies into Cache and Strategies
    gregw committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    6ab7bd7 View commit details
    Browse the repository at this point in the history
  3. Feedback from review

     + Added reserve and release
    gregw committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    e250a49 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2020

  1. Improved Pool Strategies:

    + reverted to post notifications for removed, reserved and released.
    + Added a few more strategies that need to be benchmarked, that use the list iterator.
    
    Signed-off-by: Greg Wilkins <gregw@webtide.com>
    gregw committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    5053216 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2020

  1. Testing all the different strategies

    Signed-off-by: Greg Wilkins <gregw@webtide.com>
    gregw committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    d9abdeb View commit details
    Browse the repository at this point in the history
  2. More simplifications and made LRU work (ish)

    Signed-off-by: Greg Wilkins <gregw@webtide.com>
    gregw committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    0aa6bc9 View commit details
    Browse the repository at this point in the history
  3. javadoc

    gregw committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    15ab226 View commit details
    Browse the repository at this point in the history
  4. More javadoc

    Signed-off-by: Greg Wilkins <gregw@webtide.com>
    gregw committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    c18a77e View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2020

  1. JMH Test

    Signed-off-by: Greg Wilkins <gregw@webtide.com>
    gregw committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    8906678 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2020

  1. one strategy

    Signed-off-by: gregw <gregw@webtide.com>
    gregw committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    feda65d View commit details
    Browse the repository at this point in the history
  2. test

    Signed-off-by: gregw <gregw@webtide.com>
    gregw committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    0b0030d View commit details
    Browse the repository at this point in the history
  3. Split implementations:

     + pluggable strategies
     + hard coded
    
    Signed-off-by: Greg Wilkins <gregw@webtide.com>
    gregw committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    bf520b4 View commit details
    Browse the repository at this point in the history
  4. More benchmarks

    gregw committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    e915784 View commit details
    Browse the repository at this point in the history
  5. Built in strategy

    gregw committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    db00126 View commit details
    Browse the repository at this point in the history
  6. removed strategies version and simplified to single configurable solu…

    …tion.
    
    Signed-off-by: Greg Wilkins <gregw@webtide.com>
    gregw committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    69fe8f6 View commit details
    Browse the repository at this point in the history
  7. updates from review

    Signed-off-by: Greg Wilkins <gregw@webtide.com>
    gregw committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    68bf2b5 View commit details
    Browse the repository at this point in the history
  8. better javadoc

    Signed-off-by: Greg Wilkins <gregw@webtide.com>
    gregw committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    225b096 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2020

  1. Configuration menu
    Copy the full SHA
    46d1819 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1ef761e View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2020

  1. Small javadocs fixes.

    Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
    sbordet committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    f9773d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4504fee View commit details
    Browse the repository at this point in the history
  3. Updates from review

    gregw committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    6c90442 View commit details
    Browse the repository at this point in the history
  4. javadoc

    gregw committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    21f93c6 View commit details
    Browse the repository at this point in the history