proxy.py
benchmark-proxypy
Our great sponsors
proxy.py | benchmark-proxypy | |
---|---|---|
5 | 1 | |
2,829 | 0 | |
- | - | |
1.0 | 0.0 | |
16 days ago | over 2 years ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
proxy.py
-
How to Choose the Right Python Concurrency API
The article gives a good summary of the quite complex landscape of concurrency in python. There's more to it, for example gil-free c-extensions, subprocesses and cross-machine (plus IPC) communication.
But I'm particularly bothered by the fact that many articles and tutorials look at concurrency as if it's only about factoring primes or writing a web server with many (perhaps even idempotent) parallel requests.
In reality, people will often want and need to combine multiple of these approaches, and then it gets VERY messy. I.e. try to combine a multiprocessing executor with multiple asyncio loops and boom you're in some very deep waters.
One project that does this (async loops inside multiple processes) is proxy.py - very enlightening to read its code base [1].
But I really, really wish python would do more to provide simple and robust abstractions for these kinds of tasks. My dream would be a robust actor system similar to erlang, but we'll probably never get that.
-
Handling 30,000 requests/sec with `proxy.py`
See `proxy.py` examples for some inspiration :) https://github.com/abhinavsingh/proxy.py/tree/develop/examples
benchmark-proxypy
-
Handling 30,000 requests/sec with `proxy.py`
Since OP so kindly asked me to do a comparison test, I did. You can find the full results here: https://github.com/ChillFish8/benchmark-proxypy
What are some alternatives?
mitm - 👨🏼💻 A customizable man-in-the-middle TCP intercepting proxy.
one-ring - CSP on top of AsyncIO
mitm-omegle - Watch strangers talk on Omegle (man in the middle attack explained for kids)
lokinet-exit-provider - lokinet exit node webapp
spike - :mega: A fast reverse proxy written in PHP that helps to expose local services to the internet
hass-weatherflow2mqtt - WeatherFlow to MQTT for Home Assistant. Use UDP to get local weather data in to Home Assistant using MQTT Discovery
super-auto-pets - A tool to allow for viewing of arbitrary Super Auto Pets replays
crunchyroll-dl - A Crunchyroll downloader CLI with parallel processing for downloading single episodes to entire shows
woodKubernetes - LXD wood cluster
opensanctions - An open database of international sanctions data, persons of interest and politically exposed persons
ssh-mitm - SSH-MITM - ssh audits made simple
tor-proxy - Run your any python service over tor using tor-proxy