planetscale / planetscale/psdbproxy

Bring in go-upstream to support round-robin and connection pooling

Open
#20 0 comments 0 reactions 1 assignee View on GitHub

@mattrobenolt is already working on this.

Since Feb 12, 2024.

Dominant language
Go
Stars
9
Forks
3
Avg merge
15m
Merged PRs (30d)
3

Description

Right now, we're not leveraging anything fancy, just using the stdlib http.Transport, which ultimately will pile all HTTP/2 streams onto one upstream connection on one IP address.

This is less than ideal for us in production capacities, and we'd want to pool connections and help spread the load around, and pool N per IP to spread across our infrastructure more friendly.

See:

Also need to flip the flag and open source go-upstream so we can use it here.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.