From 4fbffe85a5fabb3cf047089b82786a387bc2730f Mon Sep 17 00:00:00 2001 From: MDA2AV Date: Fri, 21 Aug 2026 23:42:39 +0100 Subject: [PATCH 1/2] hyper-express: the eight profiles it was missing static, static-tls, json-tls, async-db, crud, fortunes, api-4 and api-16. The entry carried four endpoints; api-4 and api-16 rotate over /baseline11, /json and /async-db, so wiring Postgres brings all three profiles with it. json-tls and static-tls listen on 8081. hyper-express takes TLS material through the uWS options at construction rather than through a separate https server, so the port is a second Server carrying the same routes - the route table moved into registerRoutes() and both servers are built from it. Every worker binds 8081 the same way they all bind 8080, so the listener is spread across the cluster rather than parked on one process. Static file bodies are read from disk on every request; startup scans names, pre-compressed variants and content types only. crud runs cache-aside on Redis through ioredis, one connection per worker so the cache is shared across the cluster, with a 200ms TTL and an explicit delete on update. fortunes is emitted by hand rather than through a template engine, which tuned mode allows. The handler still queries per request, appends the runtime row, sorts ordinally and escapes < > & " ' - the seed's row 11 carries a