GitBulletin

Repository: farcasterxyz/hub-monorepo

"Shuttle Takes Flight: Revolutionary Fid Sharding Now Implemented!"

2024-04-26 05:03:05 UTC

"Groundbreaking update enhances event stream management, setting new standards in data processing efficiency."

Commit Details:

feat(shuttle): add fid sharding to shuttle (#1949) ## Motivation Add ability to shard event stream by fid to shuttle and update example app ## Change Summary Describe the changes being made in 1-2 concise sentences. ## Merge Checklist _Choose all relevant options below by adding an `x` now or at any time before submitting for review_ - [x] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard - [x] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets) - [x] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [ ] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. - [x] All [commits have been signed](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#22-signing-commits) ## Additional Context If this is a relatively large or complex change, provide more details here that will help reviewers <!-- start pr-codex --> --- ## PR-Codex overview This PR adds `fid` sharding to the `@farcaster/shuttle` package. ### Detailed summary - Added `TOTAL_SHARDS` and `SHARD_INDEX` environment variables - Updated `HubSubscriber` and `EventStreamHubSubscriber` constructors - Modified `App` class creation with shard configuration - Adjusted app initialization for backfill and worker functions > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar