MetaMask / MetaMask/metamask-extension

Reduce load on infura

Open
#3,143 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

epic type-enhancement
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Meta-topic for easing load on infura

Simply fetching blocks is currently a considerable portion of Infura traffic.

- [x] Reduce polling more
- [x] Ensure that recent block controller is getting cached blocks from provider.
- [ ] Move block fetching to p2p gossip
- [ ] Switching to websocket provider (reducing polling bandwidth) Related to #2350 and #1645.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Review the completed checklist items and related issues #2350 and #1645 first, then trace the existing block-fetching and provider behavior. Done would require a decided implementation for moving block fetching to p2p gossip or switching to a websocket provider, with reduced Infura traffic demonstrated.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
distributed-systems, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.