planetscale / planetscale/psdbproxy
Bring in go-upstream to support round-robin and connection pooling
Open
@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:
- https://github.com/planetscale/go-upstream/issues/18
- https://github.com/planetscale/go-upstream/issues/30
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
- 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.