luke10x / sporadicator

Replaces blocking with busy-waiting for long running REST query

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Http Request Sporadicator

An HTTP proxy that sporadicates long lasting HTTP requests. This is useful to prevent blocking of the HTTP client process.

To "sporadicate", means, to split a long-running HTTP request to several short-lived requests.

Sporadicator acts as an HTTP proxy, that keeps an open connection to a remote HTTP server open, while it interrupts the original connection from a client, responding immediately with 504 Gateway Timeout. This specific response also includes a unique URL of a REST resource that can be used to continue the original request, so that the client can try to resume the interrupted request.

About

Replaces blocking with busy-waiting for long running REST query


Languages

Language:Java 85.2%Language:JavaScript 5.7%Language:Makefile 4.4%Language:PHP 3.2%Language:Gherkin 1.2%Language:Dockerfile 0.4%