On Mon, May 25, 2020 at 1:50 AM Stephen R. van den Berg <s...@cuci.nl> wrote:
>
> I've written (for internal use) an HTTP daemon in Pike, using roughly
> the following featureset:
> - Mainly meant to run (custom) pike modules processing requests.
> - Also serves static content (through a simple config file).
> - Supports multiple virtual servers, with multiple mountpoints each.
> - Supports database connection pools.
> - Supports integrated memory caching.
> - Uses the Shuffler for all network I/O.
> - Supports websockets.
> - Gzips output automatically.
> - Uses statically precompiled .gz files if available and new enough.
> - It has been fondly baptised as a "Spike" daemon.
> - It integrates well with an nginx reverse proxy (and thus I did not add
>   SSL support so far), which then adds HTTP/2 and SSL support.
> - It only runs on Pike 8.1, not Pike 8.0 (mostly because of the
>   broken Shuffler in 8.0).
> - The whole source is about 15 KB (5 KB when gzipped).
>
> If there is interest, I'll clean up the code a bit more, and make it available
> via a git repo somehwere.

Possible interest. I currently have an integrated web server in my
Twitch bot, and some of the features you mention could be of use.
Would possibly be useful to incorporate Markdown into this, maybe with
caching (which I don't currently have).

ChrisA

Reply via email to