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

Implement evcache v4 #37

Merged
merged 2 commits into from
Jul 10, 2024
Merged

Implement evcache v4 #37

merged 2 commits into from
Jul 10, 2024

Conversation

mgnsk
Copy link
Owner

@mgnsk mgnsk commented Jul 10, 2024

Implement evcache around single mutex. This simplifies overflow and cache policy operations during loads. The API has been improved. Expired records cleanup is debounced and defaults to 1s.

commit 7ea98793d9220a75d8b627cfe50c7c2799690d65
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Wed Jul 10 23:05:04 2024 +0300

    Expose StoreTTL method

commit 8c7d9ce4c1e163db354aa2a4a6222a9f18dfa7c8
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Wed Jul 10 22:46:54 2024 +0300

    Cleanup backend in tests

commit 1f3a29f79c2140dea992851f2697718e9c9d6802
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Wed Jul 10 22:34:24 2024 +0300

    Cleanup options and comments

commit 7568c3d23e338f2ae246dc92da85b9cae32b1175
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Wed Jul 10 22:17:42 2024 +0300

    Move tests to backend

commit 55cc87007561018c20ebb8a2611e57e1babdbbfd
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Mon Jul 8 23:00:06 2024 +0300

    Implement expiry cleanup debounce

commit c81ce4311327ab4a846fb3df1a452902a19540a9
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Sat Jul 6 17:28:49 2024 +0300

    Stash expiry debounce

commit 1abcf8f5e9349cf3ec2946b63b0bae27d9f0e3df
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Sat Jul 6 16:51:39 2024 +0300

    Remove unused tests

commit 3731e68db96b6b457a7bb4b569e2165050a35dac
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Sat Jul 6 16:47:45 2024 +0300

    Drop pool, fix logic/tests

commit ed3d43537906afdfc2d55e15c4ce1a0a1dba6e3f
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Sun Jun 2 00:18:33 2024 +0300

    Rename options

commit 1268f77ec6a07ec46fea4d3f6d89ebf04d8f8157
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Thu May 16 20:49:43 2024 +0300

    Simplify record API, fix discarded and panic edge cases; TODO test doesnt run

commit 647b54a48227aa6ccd176a62ee6a7e204d8a4de0
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Mon May 13 20:04:05 2024 +0300

    Implement Store method on backend

commit c31833afbf926b19c99bd99a676cfd094282ec2f
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Tue May 7 01:15:55 2024 +0300

    Refactor Fetch into Backend

commit d6e981e2947c047f8dfead7816182c16729242b8
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Fri May 3 01:07:58 2024 +0300

    Use map len in realloc detection

commit 5cf8408cfe078545422912a949d6b057b213c730
Author: Magnus Kokk <magnus@kokk.eu>
Date:   Tue Apr 30 20:38:22 2024 +0300

    Implement initial evcache/v4
@mgnsk mgnsk added the enhancement New feature or request label Jul 10, 2024
@mgnsk mgnsk self-assigned this Jul 10, 2024
@mgnsk mgnsk merged commit 13c3c49 into master Jul 10, 2024
1 check passed
@mgnsk mgnsk deleted the v4 branch July 10, 2024 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant