Skip to content

[Scalability] 500+ concurrent SSH proxies? #634

Answered by abhinavsingh
newts asked this question in Q&A
Discussion options

You must be logged in to vote

Last benchmark for proxy.py says it can pull off 16k connections per second.

With real world data served and upstream proxies, throughput will depend upon latency of upstream connection stream, but we should still be able to achieve multi-thousands of connection per second.

So for 500 clients, until they all start making 20-30 request per second concurrently, a single proxy.py instance can serve them well.

Talking about SSH proxies, there is an inbuilt support for that. I remember it used to work e2e when I tested last, but wasn't well polished/integrated/documented due to mypy typings. If we ignore typing warning, SSH proxies worked fine IIRC.

proxy.py then acts like a local ngrok serve…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@newts
Comment options

@abhinavsingh
Comment options

@abhinavsingh
Comment options

Answer selected by abhinavsingh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Question Questions related to proxy server
2 participants