stackabletech / stackabletech/trino-lb

New router based on `X-Trino-Resource-Estimate` client header

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
37
Forks
8
Avg merge
2d 12h
Merged PRs (30d)
1

Description

We should add a router that looks on the X-Trino-Resource-Estimate header (docs).
And/or the ExplainCostsRouter should respect the header as well

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

Start with the Trino client request header documentation linked in the issue, then inspect the existing ExplainCostsRouter and related routing entry points. Clarify whether a separate router or header support there is intended, and define done as routing based on X-Trino-Resource-Estimate with corresponding behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.