Compute time to transfer `n` points.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 211
- Forks
- 29
- Avg merge
- 17h 30m
- Merged PRs (30d)
- 1
Description
The best way to stream points in the point budget is to know how many points we can transfer easily per frame. This is fairly trivial to compute:
- The client asks for
10points from the server. Immediately before requesting points, set a timestamp. When the response is completed, set another timestamp. Save this value $t_1$ as the baseline. - The client asks for
10000points from the server. Do the same process, saving in $t_2$. - The client asks for
1000000points from the server. Save the result in $t_3$.
After a long conversation with ChatGPT we figured out a solution:
$t_i = n_i * m + o$ where m is the time to transfer 1 point and o is the overhead.
$m = (t_2 + t_3 - 2 * t_1) / (n_2 + n_3)$ and $o = t_1 - n_t * m$
https://github.com/rapidsai/node/issues/444#tasklist-block-a45d0a65-ade6-4768-9417-a63367447c89
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files, tests, or entry points are named in the issue, so first locate the client/server point-transfer path and its timing or streaming logic. Reproduce requests for 10, 10,000, and 1,000,000 points, then verify that the measured transfer-time model can provide a usable per-frame point budget.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100