Lightning-AI / Lightning-AI/LitServe
Find the latency in async mode
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.9k
- Forks
- 304
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 6
Description
🐛 Bug
It seems like there is a fixed latency while processing concurrent requests. Time for 1 request and 1000 requests is similar.
1 request: 6.7 seconds
1000 concurrent requests: 7.122 seconds
cc: @bhimrazy
To Reproduce
Attach a Lightning Studio which is fully reproducible (code, dependencies, environment, etc...) to reproduce this:
- Create a Studio.
- Reproduce the issue in the Studio.
- Publish the Studio.
- Paste the Studio link here.
Code sample
Expected behavior
Environment
If you published a Studio with your bug report, we can automatically get this information. Otherwise, please describe:
- PyTorch/Jax/Tensorflow Version (e.g., 1.0):
- OS (e.g., Linux):
- How you installed PyTorch (
conda,pip, source): - Build command you used (if compiling from source):
- Python version:
- CUDA/cuDNN version:
- GPU models and configuration:
- Any other relevant information:
Additional context
Contributor guide
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 file, test, or entry point is named. Start by publishing the fully reproducible Lightning Studio requested in the issue, including code, dependencies, and environment, then investigate the async path while comparing one request with 1,000 concurrent requests. Done means the fixed latency is explained and the corrected behavior is verified against both request loads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100