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

fix(indexer): ipfs pinning performance #1588

Merged
merged 8 commits into from
Dec 12, 2024
Merged

fix(indexer): ipfs pinning performance #1588

merged 8 commits into from
Dec 12, 2024

Conversation

mjlescano
Copy link
Member

@mjlescano mjlescano commented Dec 10, 2024

This PR:

  1. Adds a unique ID for pinning jobs, avoiding re-pinning/uploading-to-s3 of cids. This was mostly important for packages that are used by several projects.
  2. Adds an in-memory cache for s3 requests, which greatly reduces requests to it.
  3. Refactors the workers on the indexer, will easily allow on the future to add new workers on their own files, and not having to think about concurrency, etc.

Copy link

changeset-bot bot commented Dec 10, 2024

⚠️ No Changeset found

Latest commit: af6f294

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mjlescano mjlescano merged commit c2f8c3c into dev Dec 12, 2024
8 of 9 checks passed
@mjlescano mjlescano deleted the fix-ipfs-pinning branch December 12, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants