cloudflare / cloudflare/pingora

implement zerocopy read/write on Stream with splice

Open
#160 6 comments 0 reactions 0 assignees View on GitHub
Performance
Dominant language
Rust
Stars
27.4k
Forks
1.7k
Avg merge
6h 22m
Merged PRs (30d)
3

Description

## What is the problem your feature solves, or the need it fulfills?

I would like to forward traffic from downstream to upstream in an L4 proxy using splice to avoid multiple user-space memory copies. However, I've found it difficult to implement this using the Stream object. Is there any way to achieve this?

## Describe the solution you'd like

maybe expose the underlying tcpstream from the Stream object?, appreciate if someone can shed some light on it

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.