-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add key transform functions for massive rate limit improvements #205
Open
v-stickykeys
wants to merge
24
commits into
ipfs:master
Choose a base branch
from
3box:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
6d41994
Change go-ds-s3 to utilizing prefixes
obo20 d905b50
bug fixes for the new data changes
obo20 d171f05
make the key tranformation pluggable
whyrusleeping 7b5dccf
use a simple suffix config field to make text based configs easier
whyrusleeping 2466cc3
Update s3ds.go
obo20 ce9300d
comma fix
obo20 dc5d2bd
Update go.mod
v-stickykeys e823c1b
feat: update to 3box module
v-stickykeys 094a6c5
feat: add key transformation method for sharding (#1)
v-stickykeys 2950104
fix: use string for key of map
v-stickykeys ec588c5
clean: remove dead code
v-stickykeys eb4e06a
feat: update next to last key syntax
v-stickykeys c052864
Update s3_test.go
v-stickykeys e024b96
feat: add key transform to optional field in test
v-stickykeys fa881fc
docs: add key transform to example config
v-stickykeys 5317384
feat: update to go-ipfs 0.11
v-stickykeys f71e6d4
docs: clarify config instructions
v-stickykeys 46a7177
docs: clarify config instructions
v-stickykeys f8b8a6b
Merge branch 'master' into master
v-stickykeys 31a194d
docs: provide examples for sharding options
v-stickykeys 5f32f2f
feat(test): randomize bucket name by default
v-stickykeys 2982d65
fix(test): use default key transform by default
v-stickykeys f7d6fb9
feat(test): add key transform to config parser test
v-stickykeys 0cc3de5
feat: Make it work with Kubo (#3)
ukstv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
module github.com/ipfs/go-ds-s3 | ||
module github.com/3box/go-ds-s3 | ||
|
||
require ( | ||
github.com/aws/aws-sdk-go v1.35.30 | ||
github.com/ipfs/go-datastore v0.5.1 | ||
github.com/ipfs/go-ipfs v0.11.0-rc1 | ||
github.com/ipfs/kubo v0.14.0 | ||
) | ||
|
||
go 1.15 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For compatibility with js-datastore-s3 and also go-ds-flatfs. Don't think it's worth the note really. Seems most of the datastores utilize some form of sharding but next-to-last/2 happens to be the default for some.