[repack] — Scramjet Proxy Work
The scramjet proxy work offers several benefits, including:
You are a researcher who needs to find every mention of "blue diamonds" across the entire library, but the Head Librarian (the website you’re trying to scrape) is very grumpy. If he sees you running through the aisles too fast, he’ll kick you out. Enter: The Scramjet Engine Instead of running into the library yourself, you hire scramjet proxy work
Inspired by Node.js streams, the framework underlying Scramjet allows for multi-threaded processing. Using StreamWorker , Scramjet can delegate transform tasks to sub-processes using TCP sockets. The main process serializes the data, sends it to a child process for intensive rewriting, and receives it back deserialized. This prevents the main thread from freezing during heavy load. The scramjet proxy work offers several benefits, including:
While chunk #1 is being pushed to the destination, chunk #2 is already entering the proxy. 3. Backpressure Management Using StreamWorker , Scramjet can delegate transform tasks