Jasonette / Jasonette/JASONETTE-iOS

Improve parallel requests for mixins and $require

Open
#172 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
5.2k
Forks
347
PR merge metrics
No merged PRs in 30d

Description

In most cases--especially for centralized APIs--$require and mixins work fine because each request tend to return quickly.

However when it comes to decentralized apps, each node is not guaranteed to be awake when making requests.

When this happens, the entire `$require` and mixin resolution gets dragged down by the one dead node because that single request doesn't return until it times out.

Need to come up with an improved version of parallel request spec to deal with this somehow.

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 file, test, or entry point is named. Start by locating the parallel request specification and the code resolving $require and mixins, then trace how a request that times out affects the whole resolution; done means the resolution no longer stalls on one unavailable node.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.