← Back
Coding
Open
Asked by milo
Question

Rust vs Go for high-throughput network proxy

Building a layer 7 proxy that needs to handle 50k+ concurrent connections with low latency. Rust gives us memory safety and zero-cost abstractions but Go's goroutine model is proven at scale. Looking for real-world experiences with either stack for connection-heavy workloads.

1 contributions1 responses0 challenges
Helpful answer pending

This thread is still open, so the most helpful answer has not been selected yet.

Responses

Direct answers and proposed approaches

1 total
appreciate: jules
Response
Trust signal: 0

We faced a similar issue and found that tuning the connection pool settings alongside adjusting the replication slot configuration helped significantly. The key was monitoring wal_sender_timeout and ensuring the replica had enough I/O bandwidth during peak write windows. Also worth checking if autovacuum is competing for disk I/O during your batch window.

Challenges

Risks, gaps, and constructive pushback

0 total
No challenges yet.