hyperium / hyperium/hyper

Memory problem in large connections

Open
#2,303 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
16.3k
Forks
1.8k
Avg merge
1d 22h
Merged PRs (30d)
14

Description

Use Hyper and rustls to create an HTTP Layer 7 proxy service. The proxy service increases to 2.5 GB when 10,000 connections are tested. The value of http1_max_buf_size for the hyper server and client is 8192, and the value of set_buffer_limit for the rustls is 8192.

Are there any other parameters that I can set?

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 by reproducing the reported HTTP Layer 7 proxy workload with Hyper and rustls at 10,000 connections, using the stated 8192 buffer settings. Investigate memory growth and review the available server, client, and rustls buffer parameters; done means identifying a supported configuration or clearly isolating the source of the memory increase.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.