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

feat(chore): storages externalization refactoring #527

Merged
merged 14 commits into from
Jul 9, 2024

Conversation

darkweak
Copy link
Owner

Seen with @francislavoie, @mohammed90 and other from the @caddyserver team to externalize the storages as independent modules. This implementation will rely on the https://github.com/darkweak/storages repository that will contain all storages available in the sound codebase. The benefits are to tag only improvements in one storage without tagging the whole HTTP cache system, reduce the binary size and be able to pack only what you need.

By default there is a very simple in-memory cache storage but the eviction doesn't work well. That's only for development and backup purpose.

This creates a big diff but that's mainly move from Souin core to the storage repo.

@darkweak darkweak added enhancement New feature or request dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 22, 2024
@darkweak darkweak self-assigned this Jun 22, 2024
Copy link

netlify bot commented Jun 22, 2024

Deploy Preview for teal-sprinkles-4c7f14 canceled.

Name Link
🔨 Latest commit 8305bd5
🔍 Latest deploy log https://app.netlify.com/sites/teal-sprinkles-4c7f14/deploys/668d34bc0fa8b10008a73bc7

@darkweak darkweak force-pushed the feat/chore/storages-externalization-refactoring branch 2 times, most recently from fbcbaa6 to a8b1557 Compare June 23, 2024 16:06
@darkweak darkweak force-pushed the feat/chore/nutsdb-bump-and-fix-redis-surrogate branch from 46601cc to 40af3c2 Compare June 23, 2024 16:06
@darkweak darkweak force-pushed the feat/chore/storages-externalization-refactoring branch 3 times, most recently from 2a3cc26 to 284481b Compare June 23, 2024 19:38
@darkweak darkweak force-pushed the feat/chore/storages-externalization-refactoring branch from 284481b to c478f1f Compare July 1, 2024 06:18
@darkweak darkweak changed the base branch from feat/chore/nutsdb-bump-and-fix-redis-surrogate to master July 1, 2024 06:19
@darkweak darkweak force-pushed the feat/chore/storages-externalization-refactoring branch from c478f1f to 9b8e1e5 Compare July 1, 2024 06:21
@darkweak darkweak force-pushed the feat/chore/storages-externalization-refactoring branch 3 times, most recently from 2598476 to 2cf848e Compare July 2, 2024 22:36
@darkweak darkweak force-pushed the feat/chore/storages-externalization-refactoring branch from 2cf848e to 37f0c97 Compare July 2, 2024 22:55
@darkweak darkweak force-pushed the feat/chore/storages-externalization-refactoring branch 2 times, most recently from 11ade18 to 087ba66 Compare July 7, 2024 11:41
Repository owner deleted a comment from github-actions bot Jul 7, 2024
Repository owner deleted a comment from github-actions bot Jul 7, 2024
@darkweak darkweak force-pushed the feat/chore/storages-externalization-refactoring branch 2 times, most recently from 03c620d to caeb0ee Compare July 7, 2024 11:52
@darkweak darkweak force-pushed the feat/chore/storages-externalization-refactoring branch from caeb0ee to 84b1908 Compare July 7, 2024 14:57
Repository owner deleted a comment from github-actions bot Jul 7, 2024
Repository owner deleted a comment from github-actions bot Jul 7, 2024
@darkweak darkweak force-pushed the feat/chore/storages-externalization-refactoring branch 3 times, most recently from dbf7eb3 to b74852c Compare July 7, 2024 22:16
@darkweak darkweak force-pushed the feat/chore/storages-externalization-refactoring branch from b74852c to d7b6d10 Compare July 7, 2024 22:41
@darkweak darkweak force-pushed the feat/chore/storages-externalization-refactoring branch 2 times, most recently from 8ec4316 to 36f8f84 Compare July 8, 2024 21:07
@darkweak darkweak force-pushed the feat/chore/storages-externalization-refactoring branch from 36f8f84 to b68678b Compare July 8, 2024 21:22
Repository owner deleted a comment from github-actions bot Jul 9, 2024
Copy link

github-actions bot commented Jul 9, 2024

Copy link

github-actions bot commented Jul 9, 2024

@darkweak darkweak merged commit 8e4886c into master Jul 9, 2024
21 checks passed
@darkweak darkweak deleted the feat/chore/storages-externalization-refactoring branch July 10, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant