Skip to content
Jennifer Programming Language

httpd - HTTP server engine

Enable with use httpd;. An HTTP/1.1 server engine wrapping Go's net/http, so keep-alive, chunked transfer, TLS (and HTTP/2 over TLS), request timeouts, and graceful shutdown come from Go's stack, not the interpreter. It is the server counterpart to the net client primitives and the http client module.

Default binary only. Like net, httpd needs a network stack, so it runs on the standard jennifer build; on jennifer-tiny every call is an error (TinyGo ships no netdev driver). See technical/tinygo.md.

The pull loop

You cannot hand Go's net/http a Jennifer request-handler callback: the interpreter is not re-entered from Go's handler goroutines. Instead the engine accepts and parses requests concurrently on Go's side and hands them to your program one at a time: httpd.accept blocks for the next request, and httpd.respond answers it.

jennifer
use httpd;

def srv as httpd.Server init httpd.listen("127.0.0.1:8080");
while (true) {
    def req as httpd.Request init httpd.accept($srv);
    httpd.respond($req, 200, "hello\n");
}

Go owns the I/O concurrency (accepting, parsing, keep-alive); your program stays a serial loop. For per-request parallelism, opt in with your own spawn: several spawned workers can each call httpd.accept on the same server handle to form a worker pool, since the handle's state is shared:

jennifer
use httpd;
use task;

def srv as httpd.Server init httpd.listen("127.0.0.1:8080");
def workers as list of task of null init [];
for (def i in 0..4) {
    $workers[] = spawn {
        while (true) {
            def req as httpd.Request init httpd.accept($srv);
            httpd.respond($req, 200, "handled by a worker\n");
        }
    };
}

Surface

CallReturnsNotes
httpd.listen(addr)httpd.ServerStart listening. "127.0.0.1:8080" (TCP), ":0" (ephemeral TCP port), or "unix:/run/app.sock" (a Unix domain socket).
httpd.listenWith(addr, opts)httpd.ServerLike listen, with an httpd.Options (see Tuning the body / concurrency limits): per-server limits, certPem / keyPem for HTTPS (PEM bytes, both or neither; HTTP/2 negotiated automatically, unix: addresses included), etag for the static-file verbs.
httpd.listenTLS(addr, cert, key)httpd.ServerDeprecated, removed in 0.29.0 (lint L301): listenWith(addr, httpd.Options{certPem: cert, keyPem: key}).
httpd.listenTLSWith(addr, cert, key, opts)httpd.ServerDeprecated, removed in 0.29.0: listenWith with certPem / keyPem in opts. Setting them in opts too is an error.
httpd.setMaxBufferBudget(bytes)nullMove the process-wide memory-guard ceiling (default 4 GiB) that listenWith enforces; raise it for a big-RAM host, lower it for a small one (floored at 10 MiB).
httpd.setMaxBufferBudgetFromRAM(fraction)intOpt-in, cgroup-aware: set the budget to fraction (0 < f <= 1) of the detected machine limit (min of host RAM and any cgroup limit); returns the bytes it set. Errors on a host where the limit can't be determined.
httpd.address(srv)stringThe actual bound address (resolve ":0" to the chosen port).
httpd.maxInFlight(srv)intThe server's in-flight request limit (maxInFlight), so a serve loop can bound its own workers to match (web.serveOn does).
httpd.accept(srv)httpd.RequestBlock for the next request. Once the server is shut down (a parked accept included) it throws Error{kind: "closed"}.
httpd.method(req)string"GET", "POST", ...
httpd.path(req)stringURL path, decoded, e.g. /users/42. Never has a . or .. segment and is always valid UTF-8: the engine answers other requests 400 itself (see below the table).
httpd.query(req, name)stringQuery parameter ("" if absent), decoded.
httpd.rawQuery(req)stringThe query string as sent, without the ? ("" if none): still percent-encoded, every key and repeat in order. For rebuilding a URL (a redirect that keeps the query); parse it with uri.parseQuery.
httpd.header(req, name)stringRequest header ("" if absent; case-insensitive name).
httpd.body(req)bytesThe request body (buffered; a body over the 10 MiB cap is answered 413 by the engine).
httpd.remoteAddr(req)stringClient host:port.
httpd.isOpen(req)boolWhether the request still awaits its answer: false once it is answered, by the program or by the engine after the respond timeout. A slow handler checks it before work whose reply could no longer be sent.
httpd.timedOut(req)boolWhether the engine answered the request itself with 503 because the respond timeout passed. Tells "my reply came too late" from a real failure.
httpd.requestValue(req, key)stringRead a request-scoped note ("" if unset). Per-request scratch space, not a header and never sent to the client.
httpd.setRequestValue(req, key, value)nullStore a request-scoped note: a place to memoize a value computed at most once per request (see below).
httpd.setHeader(req, name, value)nullSet a response header (before respond). An invalid name (not an RFC 9110 token) or a value with a control character (CR, LF, NUL, ...) is an error, never silently dropped or rewritten, and so is Transfer-Encoding (the server frames the response).
httpd.etag(req, tag)boolSet the ETag validator and honour a conditional GET: answers 304 and returns true (stop) when the request's If-None-Match matches tag (412 for a method other than GET / HEAD), else returns false (send the full body). A tag with a quote, space or control character is an error.
httpd.respond(req, status, body)nullSend the response; body is a string or bytes. status is a final status, 200 to 999 (a 1xx is an error). A Content-Length header that does not match the body is an error, except on a HEAD answer, a 204 or a 304.
httpd.serveFile(req, path)nullAnswer with a file (content type, range requests handled by net/http). A directory is served through its index.html; one without is 404 unless dirListing is on. With etag on, plus a content-hash ETag (see Static files).
httpd.serveDir(req, root)nullAnswer with the file under root matching the request path (neither .. nor a symlink can escape root). Dotfiles, directories without an index.html and symlinks out of root are 404 (see Static files).
httpd.serveFileEtag(req, path)nullDeprecated, removed in 0.29.0: serveFile on a server opened with httpd.Options{etag: true}. serveFile with a content-hash ETag whatever the option.
httpd.serveDirEtag(req, root)nullDeprecated, removed in 0.29.0: serveDir on a server opened with httpd.Options{etag: true}.
httpd.shutdown(srv)nullGraceful drain: stop accepting, unblock parked accept calls, answer requests not yet accepted 503, give accepted requests 5 s to be answered and written, then close what is left. A second shutdown does nothing.

Each request must be answered exactly once: a second respond / serveFile / serveDir on the same request, or a setHeader after the answer, throws Error{kind: "closed"} (request already answered). A write to a request the engine already answered after the respond timeout fails with kind "closed" too, and says so (httpd.timedOut tells it from the program's own double answer).

httpd.path, query, rawQuery and header return strings, so the engine answers 400 itself, before reading the body and before accept sees the request, when the decoded path, the raw query, any decoded query key or value, or any header value is not valid UTF-8 (/a%FF, ?x=%C3, a latin-1 header byte). The body reads bad request: path is not valid UTF-8 (query, header NAME). The accessors check again and error (httpd.path: invalid UTF-8 at byte 2) should a request reach them some other way. The request body is bytes and is not checked.

Handles

httpd.Server and httpd.Request are {id as int} handles into a Go-side registry (the same pattern as fs, net, os.Process): value-semantic to copy, but every copy refers to the same underlying server / request. That is what lets a copied Server handle inside a spawn worker pull from the same accept queue. At most 4096 servers are open at once; one more listen throws kind "limit" until a shutdown frees a slot.

A call on a shut-down server (httpd.Server id 2 is not running ...) or on a finished request (httpd.Request id 7 is not open ...) throws Error{kind: "closed"}; shutdown of a shut-down server does nothing.

Request-scoped notes

httpd.setRequestValue(req, key, value) and httpd.requestValue(req, key) are a small per-request string map: scratch space that lives as long as the request and is never sent to the client. Use it to memoize a value that must be computed at most once per request, even when several call sites (or a helper reached from many of them) would otherwise each recompute it. An unset key reads back "", so a caller storing a non-empty value can treat "" as "not computed yet".

The framework layer uses this to make web.csrfToken idempotent: the first call in a request mints the token and stashes it here; later calls read it back rather than minting a second token (which would reset the csrf cookie and invalidate every form already rendered on the page). The store is guarded by the request's mutex, so it is safe when the request is handed to a spawn.

A tiny JSON API

Everything the engine hands you is a value, so the rest of the standard library composes normally; here, json for the response body:

jennifer
use httpd;
use json;

def srv as httpd.Server init httpd.listen(":8080");
while (true) {
    def req as httpd.Request init httpd.accept($srv);
    def out as json.Value init json.map();
    $out = json.set($out, "/method", httpd.method($req));
    $out = json.set($out, "/path", httpd.path($req));
    httpd.setHeader($req, "Content-Type", "application/json");
    httpd.respond($req, 200, json.encode($out));
}

Static files

jennifer
use httpd;
def srv as httpd.Server init httpd.listen(":8080");
while (true) {
    def req as httpd.Request init httpd.accept($srv);
    httpd.serveDir($req, "./public");
}

serveDir cleans the request path so a ../ cannot climb above root, rejects a request path containing a backslash (400), and re-verifies the joined path is still under root before serving it (404 otherwise); serveFile answers with one specific file regardless of the request path.

serveDir also keeps what is not content out of reach:

RequestAnswer
A dotfile: any path segment starting with . (.env, .git/, .htpasswd)404; treated as configuration, not content. The one exception is .well-known/ (RFC 8615), where ACME challenges and other discovery files live.
A directoryServed through its index.html; one without is 404. A server that wants Go's file listing opts in with httpd.Options{dirListing: true} (dotfiles stay hidden).
A symlink whose target resolves outside root404, as a missing file; a directory whose index.html is such a link counts as one without an index.html. A link to a target inside root (relative or absolute) is served. httpd.Options{followSymlinks: true} serves every target.

serveDir opens the file through an os.Root on root, which resolves each path component itself and refuses one that leaves root, so a link swapped in between a check and the open cannot escape either. root itself may be a symlink. serveFile answers with the path it is given and follows its links.

serveFile / serveDir already send Last-Modified and honour If-Modified-Since (Go's http.ServeContent), so a browser revalidates a static file without extra code. They do not add an ETag: an mtime is a per-file-copy validator, so two replicas serving identical bytes disagree. When you want a validator that is stable across replicas, open the server with httpd.Options{etag: true}: serveFile / serveDir then also set a strong ETag that is the SHA-256 of the file content, so an unchanged file answers 304 regardless of which replica serves it. The digest is cached per (path, mtime, size), so a hot file is hashed once, not on every hit; an edit (new bytes, or a changed size / mtime) recomputes it. The hash is computed by the engine while it sends the response, not inside the verb, so your handler returns at once, and concurrent requests for the same cold file share one hash. The first request for a large cold file still waits for a full read before its bytes start; turn etag on when cross-replica revalidation is worth that, and leave it off otherwise.

Conditional requests (ETags)

httpd.etag($req, tag) sets an ETag validator and handles a conditional GET in one call, so a bare-engine app does not re-parse If-None-Match itself (the comma-list, *, and the weak-validator W/ prefix a cache or a gzip proxy may add are all handled). It sets the ETag response header to tag (quoted) and:

ReturnsMeaning
trueThe request's If-None-Match matches: the engine has answered 304 Not Modified (with the ETag, no body) and the handler should stop. For a write (a PUT with If-None-Match: *, "create only") the answer is 412 Precondition Failed instead (RFC 9110).
falseNo match: the handler sends the full response as usual.
jennifer
use httpd;
use hash;
use encoding;
def srv as httpd.Server init httpd.listen(":8080");
while (true) {
    def req as httpd.Request init httpd.accept($srv);
    def page as string init render();                 # your content
    def tag as string init encoding.toText(
        "hex", hash.compute("sha256", encoding.encode("utf-8", $page)));
    if (not httpd.etag($req, $tag)) {                 # 304 already sent when true
        httpd.respond($req, 200, $page);
    }
}

tag is your choice of validator (a content hash as above, a row version, a build id), so the engine hashes nothing on your behalf. A content hash is stable across replicas (unlike an mtime); a strong hash of the exact bytes is the safe default. web.etag($ctx, tag) is the framework wrapper over this same engine call. For static files, the etag option (above) does this for you: a cached content-hash ETag without your handler computing anything.

Response headers and the Server line

The engine adds no Server: header. Go's net/http sends Date and the framing headers (Content-Length / Transfer-Encoding) but never advertises the server software, and httpd adds nothing on top, so a response carries no Server: ... fingerprint (no stack name, no version a scanner can match a CVE against). Advertising a server is opt-in.

To send a Server header (or any custom header), set it before respond, on that one request:

jennifer
func handle(req as httpd.Request) {
    httpd.setHeader($req, "Server", "jennifer");
    httpd.respond($req, 200, "hi\n");
}

The pull loop has no middleware of its own, so to stamp a header onto every response use the web framework's web.before middleware, which runs before each handler:

jennifer
import "web.j" as web;

def app as web.App init web.new();

func stampServer(ctx as web.Context) {
    web.setHeader($ctx, "Server", "jennifer");
    return true;
}
$app = web.before($app, stampServer);

(web.setHeader is the framework wrapper over httpd.setHeader; a bare httpd program repeats the per-request call, or factors it into a small helper the handlers call.)

Graceful shutdown

httpd.shutdown closes the listener, wakes any workers blocked in httpd.accept (they get Error{kind: "closed"} so their loops can exit), answers queued requests that no worker has accepted with 503, and gives accepted requests 5 s to be answered and written before returning. A request still unanswered after that gets 503, and connections still busy (a long download) are closed, so a shut-down server has stopped serving. shutdown blocks for that drain, so other tasks must do the answering: a handler that shuts down after a sentinel request responds to it first. A typical server installs a signal handler (via os) that calls shutdown.

Behind a reverse proxy (nginx)

In production an httpd / web app usually sits behind nginx, which terminates TLS, serves static assets, buffers slow clients, and can load balance. nginx speaks plain HTTP to the app over either a TCP port or a Unix domain socket; httpd.listen supports both.

TCP port. The app listens on a local port; nginx proxies to it:

jennifer
def srv as httpd.Server init httpd.listen("127.0.0.1:8080");
nginx
server {
    listen 443 ssl;
    server_name app.example;
    location /static/ { root /srv/app; }        # nginx serves assets directly
    location / {
        proxy_pass http://127.0.0.1:8080;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $remote_addr;
    }
}

Unix domain socket. No TCP port; nginx proxies over a socket file (cleaner permissions, a touch less overhead). The unix: prefix selects it, and a graceful httpd.shutdown unlinks the socket on the way out. The socket is created with mode 0660 (owner and group, e.g. nginx's group) whatever the process umask, and is never reachable under a looser mode, even briefly. If a socket file lingers from a prior crash, httpd.listen clears it only after confirming it is stale (nothing is listening); it never deletes a socket a live server is still using.

jennifer
def srv as httpd.Server init httpd.listen("unix:/run/app/app.sock");
nginx
upstream app { server unix:/run/app/app.sock; }

server {
    listen 443 ssl;
    server_name app.example;
    location / {
        proxy_pass http://app;
        proxy_set_header Host $host;
    }
}

One accept loop handles one request at a time. For concurrency, run several spawned accept loops (see The pull loop) or several processes behind one upstream {} block.

Tuning the body / concurrency limits

httpd.listen opens a server with two safety limits: a 10 MiB request-body cap and a 256 in-flight-request ceiling. They bound worst-case memory: the engine buffers each body fully into RAM before your program sees it, so the worst case is maxInFlight x maxBodyBytes (256 x 10 MiB = 2.56 GiB at the defaults), held as bytes actually received rather than per slot. Raising the body cap also raises that ceiling; the two knobs split a fixed memory budget the way your traffic needs it.

httpd.listenWith(addr, opts) opens a server with an explicit httpd.Options:

FieldMeaning
maxBodyBytes as intPer-request body cap in bytes. 0 selects the 10 MiB default.
maxInFlight as intConcurrent in-flight requests. 0 selects the default 256.
respondTimeoutMs as intHow long an admitted request may wait to be accepted, and then to be answered, before the engine answers 503 itself (see The respond timeout). 0 selects the default 60 s; negative is an error.
bodyTimeoutMs as intHow long a client may take to send its whole request body; past it the engine answers 408. Any single read also gives up after 10 s of silence. 0 selects the default 60 s; negative is an error. A server taking only small bodies can set a few seconds.
writeTimeoutMs as intHow long writing one response may take; past it the engine drops the connection, so a client that stops reading cannot hold an in-flight slot. 0 selects the default 5 minutes; negative is an error. A server sending large downloads to slow clients can raise it.
maxHeaderBytes as intCap on the request line plus headers; past it the client gets 431. 0 selects the default 64 KiB (well above what browsers send); at most 1 MiB (net/http's own default); negative is an error. Headers are read before the body budget applies, so this is what bounds a header-only request.
dirListing as boolLet serveDir answer a directory without an index.html with a file listing. false (the default): 404.
followSymlinks as boolLet serveDir follow a symlink to a target outside root. false (the default): 404 (see Static files).
etag as boolLet serveFile / serveDir send a content-hash ETag and answer a matching If-None-Match with 304 (see Static files). false (the default): no ETag.
certPem as bytes, keyPem as bytesThe PEM certificate (chain) and private key: the server speaks HTTPS. Set both or neither (one alone is an error); a pair that does not match is an error.

A 0 field takes that limit's default, so you can tune one and leave the others (as a library struct, httpd.Options{...} may also leave a field out; it takes its zero value, 0):

jennifer
use httpd;

# A dedicated upload endpoint on a low-concurrency server: 100 MiB bodies, but
# only 40 at once (100 MiB x 40 = 4 GiB worst case).
def srv as httpd.Server init httpd.listenWith(":8080",
    httpd.Options{ maxBodyBytes: 100 * 1024 * 1024, maxInFlight: 40, respondTimeoutMs: 0 });

The memory guard. listenWith validates the pair at listen time and refuses a combination whose worst-case buffered memory (maxInFlight x maxBodyBytes) exceeds the process memory budget, or a maxInFlight over 65536, or a negative value. The budget starts at 4 GiB, a typo-catcher sized for a general host (it stops a slip like maxBodyBytes: 1 GiB at the default 256 concurrency from silently arming a ~256 GiB worst case), not a hardware limit. The rejection names both values, and what to do:

text
httpd.listenWith: maxInFlight (256) x maxBodyBytes (104857600) of worst-case
buffered memory exceeds the 4096 MiB budget; lower one of them, or raise the
budget with httpd.setMaxBufferBudget if the host has the RAM

httpd.setMaxBufferBudget(bytes) moves that ceiling to match the actual box, since only you know its RAM. On an 8 GiB VPS, raise it once at startup and the larger configuration is allowed; on a small container, lower it to a tighter policy (floored at one default body, 10 MiB, so it can never reject everything):

jennifer
use httpd;
httpd.setMaxBufferBudget(6 * 1024 * 1024 * 1024); # this 8 GiB VPS can spend 6 GiB
def srv as httpd.Server init httpd.listenWith(":8080",
    httpd.Options{ maxBodyBytes: 500 * 1024 * 1024, maxInFlight: 12, respondTimeoutMs: 0 });

The budget is process-wide, not per-server: several servers in one process share the machine's RAM, so size it for their combined worst case (the guard checks each server's own product against it, it does not sum them for you).

Sizing to the machine automatically. httpd.setMaxBufferBudgetFromRAM(fraction) sets the budget to a fraction of the detected machine limit and returns the bytes it chose (for logging):

jennifer
use io;
use httpd;
def budget as int init httpd.setMaxBufferBudgetFromRAM(0.5); # half the box
io.printf("upload budget: {$budget} bytes\n");

It is opt-in and cgroup-aware. The detected limit is the minimum of the host's MemTotal and any cgroup memory limit found by walking this process's cgroup to the root, so inside a container it uses the container's limit, not the host's RAM (auto-sizing off host RAM in a container is the classic over-commit that gets a process OOM-killed, which is an uncatchable SIGKILL, not a 413). Because it only acts when you call it, a plain httpd.listen is never affected; and on a host where no limit can be determined (a non-Linux box) it errors rather than guessing, pointing you at the explicit setMaxBufferBudget. The result is floored at one default body (10 MiB) and, since fraction <= 1, never exceeds the detected limit. You still choose the fraction: leave headroom for the interpreter heap, response buffers, the page cache, and anything else on the box.

Because the body is fully buffered, none of this is a streaming-upload path: large uploads (video, backups, multi-GB files) want a reverse proxy or object storage in front, not a bigger buffer.

For the web framework, open the tuned server yourself and hand it to web.serveOn(app, srv) instead of web.run(app, addr) (which uses the defaults):

jennifer
def srv as httpd.Server init httpd.listenWith(":8080",
    httpd.Options{ maxBodyBytes: 50 * 1024 * 1024, maxInFlight: 64, respondTimeoutMs: 0 });
web.serveOn($app, $srv);

The respond timeout

The engine never waits forever for the program. Once a request is admitted (it holds one of the maxInFlight slots and its body is buffered), it must be pulled off the queue by httpd.accept and then answered, each within the server's respond timeout: 60 s by default, httpd.Options.respondTimeoutMs per server. Past it the engine answers 503 Service Unavailable itself and frees the slot, so a request whose handler threw before answering, or one stuck behind a slow handler, cannot hold a goroutine and a connection until shutdown. 503, not 500: the engine cannot tell a slow handler from a failed one, and under overload (the usual cause) "unavailable, retry" is the truthful answer. A handler that fails is answered 500 by the program (the web module does this).

Waiting for an admission slot is not part of it: a request whose body has arrived and finds every slot busy waits for one without a deadline, so maxInFlight and the respond timeout work together: the slots bound the requests in flight, the timeout bounds how long one admitted request can keep a slot. Set the timeout above your slowest legitimate handler:

jennifer
use httpd;

# Report generation can take a few minutes; give each request five.
def srv as httpd.Server init httpd.listenWith(":8080",
    httpd.Options{ maxBodyBytes: 0, maxInFlight: 32, respondTimeoutMs: 5 * 60 * 1000 });

A handler that finishes after the deadline cannot answer any more: its respond / setHeader fails with an error naming the respond timeout, and httpd.isOpen($req) is already false (httpd.timedOut($req) is true), so a long handler can check before it starts work whose reply has nowhere to go.

Scope and limits

  • HTTP/1.1 over plaintext; HTTP/2 is negotiated automatically over TLS by net/http. A TLS server floors the negotiated protocol at TLS 1.2 (TLS 1.0 / 1.1 are deprecated by RFC 8996).

  • The request body is buffered with a 10 MiB cap by default; a body over the cap is rejected with 413 Request Entity Too Large before it reaches the program (never silently truncated: a truncated body would defeat body-signature checks), whatever Content-Length the client declares. The cap is per-server settable; see Tuning the body / concurrency limits.

  • Admission control. The body is read first, then the request takes one of 256 (by default) in-flight slots; further requests wait for a slot. Reading the body outside the slots means clients that trickle an upload tie up only their own connections: they can never hold every slot and stall the server.

  • Request paths. A decoded path with a . or .. segment (/a/../b, /a%2F..%2Fb) is answered 400 before the program sees it, so a route parameter or a path built from httpd.path cannot climb out of a directory. Browsers resolve dot segments before sending, so only crafted requests hit it. A path, query or header value that is not valid UTF-8 is answered 400 the same way (see Surface).

  • Body memory. Body buffers are bounded by the bytes they actually hold: at most maxInFlight x maxBody across the server, reserved as each buffer grows (from 512 bytes, doubling), so a slow upload holds about what it has sent; a body with a declared Content-Length grows the same way but never past that length plus one byte. A request without a body reserves nothing, so it is served even while uploads hold the whole budget. A body that would pass the bound is answered 503 with Retry-After. A body that is not complete within the body timeout (60 s, bodyTimeoutMs), or sends nothing for 10 s, is answered 408.

  • Must respond. Every accepted request must be answered with httpd.respond (or serveFile / serveDir). A request left unanswered (the program threw between accept and respond, or the handler is slow) is answered 503 by the engine after the respond timeout (60 s by default, per-server settable), so the handler goroutine and client connection don't leak.

  • Routing, path parameters, middleware, cookies, and sessions are not in the engine; they belong to the web framework module built on top of it, which does name-based handler dispatch itself (the engine never calls back into the interpreter). web owns the session id cookie; the session store stays with the app, so the engine and web both stay storage-agnostic.

See also

  • http - the HTTP/1.1 client module.
  • net - the lower-level TCP / TLS / UDP primitives.
  • json / toml - encode / decode request and response bodies.
  • technical/tinygo.md - why httpd is default-binary-only.

Academy talks

TalkWhat it shows
Jennifer facing hostile inputserver limits on body size and timeouts with httpd.Options
Metrics with Jennifer: Prometheus, StatsD and InfluxDBserving /metrics for Prometheus from one request loop
Notifications and alerting with Jennifera loopback mock server standing in for four alert services
Testing in Jennifera fake server on a loopback port for tests
Your own small blog with Jennifera small preview server for the generated site