VRP gRPC: chunked upload/download for large problems and solutions
Open
@Iroy30 is already working on this.
Since Jul 28, 2026.
awaiting response
- Dominant language
- Cuda
- Stars
- 1k
- Forks
- 233
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 95
Description
Follow-up to #1597 (unary-only VRP POC). The worker currently rejects chunked VRP, so a large cost/transit matrix or a RoutingSolution that exceeds the gRPC max message size can't be sent or retrieved.
Scope
- Implement chunked upload (
StartChunkedUpload/SendArrayChunk) for VRP problem arrays and chunked download (StartChunkedDownload/GetResultChunk) forRoutingSolution, mirroring the LP/MIP chunked path. - Add a client-side preflight size check so an oversized unary submit gives a clear early error or auto-falls-back to chunking instead of an opaque
RESOURCE_EXHAUSTED(review nice-to-have #7).
Notes
- Builds on the
result_total_bytesfix landed in #1597 (data_sizenow reflects the VRP header payload, so the oversized-result guard is meaningful).
🤖 Generated with Claude Code
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.
Assessment
This issue has not been assessed yet.