palantir / palantir/conjure-java-runtime

CJR limits block downloading blobs

Open
#1,192 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
95
Forks
96
Avg merge
3h 38m
Merged PRs (30d)
33

Description

What happened?

Outgoing requests to load blobs from data store block on acquiring permits. Permits don't increase with usage, even though there are no 429s or 503s returned from the data store.

Currently, CJR only releases limiters when the response has been fully read. This slows down the increase in permits for clients that load blobs.

What did you want to happen?

Have CJR release limiters once the client starts streaming the bytes of a response.

Contributor guide

No contributing guide indexed for this repository

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 or tests are named. Start by tracing how CJR releases limiters for outgoing blob responses, then inspect when response streaming begins versus when the full response is read. Done means limiters are released when byte streaming starts and clients can increase permits without data-store 429 or 503 responses.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.