# Production Deployment Plan: Lightning-Fast `hyperstitionstud.io` Homepage & Knowledge Workbench on a Linode / Akamai Connected Cloud VPS (`v1.0.0`) - **Document ID:** `PLAN-LINODE-AKAMAI-VPS-HOMEPAGE-DEPLOYMENT` (`v1.0.0`) - **Target Domain:** `https://hyperstitionstud.io` (and `https://www.hyperstitionstud.io` -> `308` redirect) - **Target Infrastructure:** Linode / Akamai Connected Cloud VPS (Debian 12 Bookworm or Ubuntu 24.04 LTS on AMD EPYC, IPv4 + IPv6 dual-stack, Cloud Firewall + Akamai Edge/DNS) - **Performance Targets:** - **Time to First Byte (`TTFB`):** `< 15 ms` (regional) / `< 40 ms` (global) - **Largest Contentful Paint (`LCP`):** `< 200 ms` - **Knowledge Graph Payload (`graph-data.js.br`):** `~32 KB` over the wire via Pre-Compressed Brotli-11 (`-q 11`) + HTTP/3 (`QUIC`) - **Disk I/O on Request Path:** `0 IOPS` (100% served from RAM via `tmpfs` + Linux kernel `sendfile` + `ktls`) - **Offline Portability Preservation:** The deployed site uses the exact same static bundle (`index.html`, `graph-data.js`, `encyclopedia/*.pdf`) that runs offline over `file://`, with zero external CDN, font, or analytics dependencies. --- ## 1. Architectural Philosophy: Why Static RAM-Backed HTTP/3 Beats Dynamic Application Servers Every user-facing artifact across the workspace—the **388-node Interactive Encyclopedia Knowledge Graph**, the **22-Volume Alphabetized PDF Encyclopedia (`122` pages)**, the **282-Term Comprehensive Glossary**, the **Assemblage Builds `ETI` Tier List**, the **Gen IV Pokedex Field-Scanner Cards**, the **5-Episode Audio Podcast Series**, and the **Hyperdope-Gematria `AQ` Calculator**—is already deterministically pre-compiled before deployment. Therefore, the production VPS requires **zero runtime Python, Node.js, or database processes in the HTTP request path**: 1. **Zero Dynamic Compute in the Request Path:** All Python compilation (`classify_technocapital_singularity.py`, `build_encyclopedia_knowledge_graph.py`, `hs-pdf-build`, `hs-doctor`) runs at **build/release time**, never on incoming HTTP requests. 2. **Pre-Compressed Static Assets (`Brotli -q 11` & `Gzip -9`):** Every `.html`, `.js`, `.css`, `.json`, `.svg`, `.graphml`, `.gexf`, and `.canvas` artifact is compressed once during release staging (`graph-data.js` shrinks from `~245 KB` raw to `~32 KB` `.br`). The web server sends the pre-built `.br` file directly without spending CPU cycles compressing responses on the fly. 3. **`tmpfs` In-Memory Web Root (`/var/www/hyperstitionstud.io/live`):** Excluding optional `.mp3` audio streams, the entire compiled static site (HTML, JS, JSON, SVG, PNGs, and all 22 Encyclopedia PDFs) totals **`~34 MB`**. Mounting `/var/www/hyperstitionstud.io/live` on a `256 MB` RAM-backed `tmpfs` (and keeping `.mp3` podcasts in `/srv/hyperstitionstud.io/media/podcast` with HTTP `206` byte-range streaming) guarantees that every page load, graph query, and PDF open is served directly from system RAM. --- ## 2. Linode / Akamai VPS Provisioning, DNS & Kernel Network Tuning ### 2.1 Recommended Linode Instance & Storage Layout | Resource | Specification | Rationale | | :--- | :--- | :--- | | **Instance Plan** | **Linode Dedicated 4 GB** or **Shared 2 GB / 4 GB** (`2 vCPU`, `4 GB RAM`, `80 GB NVMe`, `4 TB Transfer`) | `256 MB` `tmpfs` holds the entire HTML/JS/JSON/PDF corpus in RAM with `> 3 GB` headroom for OS page cache and build staging. | | **Region** | `us-iad` (Washington, DC) or `us-east` (Newark) | Lowest transatlantic + North American fiber latency on Akamai's backbone. | | **Base OS** | **Debian 12 (Bookworm)** or **Ubuntu 24.04 LTS** (`Linux 6.8+` kernel) | Native kernel TLS (`ktls`), TCP BBR congestion control, and official Caddy 2 / Nginx Brotli packages. | | **Linode Cloud Firewall** | Inbound allow **only**:
• `TCP 443` (HTTPS / HTTP/2)
• `UDP 443` (**HTTP/3 QUIC** — critical!)
• `TCP 80` (ACME HTTP-01 & `308` redirect to HTTPS)
• `TCP 22` (SSH, restricted to operator IP/WireGuard) | Blocks all unsolicited port scans at Akamai's hypervisor edge before packets reach the VPS NIC. | ### 2.2 Linode DNS Manager Records (`hyperstitionstud.io`) Configure in Linode DNS Manager (or Akamai Edge DNS) with `TTL = 300` during cutover, then `TTL = 3600`: | Type | Name | Value / Target | Purpose | | :--- | :--- | :--- | :--- | | `A` | `@` | `` | Apex IPv4 (`hyperstitionstud.io`) | | `AAAA` | `@` | `` | Apex IPv6 (`hyperstitionstud.io`) | | `A` | `www` | `` | `www` IPv4 (redirects `308` to apex) | | `AAAA` | `www` | `` | `www` IPv6 (redirects `308` to apex) | | `CAA` | `@` | `0 issue "letsencrypt.org"` | Authorizes automatic Let's Encrypt TLS 1.3 certificates | | `HTTPS` | `@` | `1 . alpn="h3,h2"` | **SVCB/HTTPS DNS record (RFC 9460):** Instructs browsers to connect via **HTTP/3 (`h3`)** on the very first packet without waiting for an HTTP/1.1 or HTTP/2 `Alt-Svc` header! | ### 2.3 Linux Kernel TCP BBR & QUIC UDP Buffer Tuning (`/etc/sysctl.d/99-hyperstition-fastnet.conf`) Apply on the Linode VPS (`sudo sysctl --system`) to eliminate TCP slow-start bottlenecks and UDP buffer drops under HTTP/3 QUIC bursts: ```ini # /etc/sysctl.d/99-hyperstition-fastnet.conf net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = bbr net.ipv4.tcp_fastopen = 3 net.ipv4.tcp_slow_start_after_idle = 0 net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 net.core.rmem_default = 2097152 net.core.wmem_default = 2097152 ``` --- ## 3. Unified Site URL Map & Landing Homepage Design (`https://hyperstitionstud.io`) ```text /var/www/hyperstitionstud.io/live/ (256 MB tmpfs RAM mount — 0 disk I/O) ├── index.html # Lightning-fast (< 8 KB inline CSS/SVG) Portal Homepage ├── graph/ # Interactive Encyclopedia Knowledge Graph Workbench │ ├── index.html # 388 Nodes, 1,282 Edges (encyclopedia_base_path = "/encyclopedia") │ ├── graph-data.js (+ .br / .gz) # ~32 KB over the wire via Brotli-11 │ ├── encyclopedia-graph.json (+ .br) # Raw property graph JSON │ ├── encyclopedia-graph.graphml (+ .br) # Gephi / Cytoscape / yEd export │ ├── encyclopedia-graph.gexf (+ .br) # GEXF 1.3 export │ ├── encyclopedia.canvas (+ .br) # Obsidian JSON Canvas 1.0 (282 cards, 1,120 edges) │ ├── atlas-mode1-trophic-food-web.png # 1600x1060 Static Atlas Board 1 │ ├── atlas-mode2-concentric-eti-radar.png# 1600x1060 Static Atlas Board 2 (S+ -> D Periphery) │ └── atlas-mode3-bipartite-g1-funnel.png # 1600x1060 Static Atlas Board 3 ├── encyclopedia/ # 9 Ontological Divisions (00..08) & 22 PDF Volumes (122 Pages) │ ├── encyclopedia-manifest.json (+ .br) │ ├── 00-index-and-ontological-atlas/*.pdf │ └── ... (01 through 08 division PDFs) ├── zoology/ # Core Dossiers, Tier Lists, Glossary & Architecture Diagrams │ ├── tier-list-technocapital-assemblage-builds.{pdf,png} │ ├── technocapital-singularity-zoology-comprehensive-glossary.pdf │ ├── cross-repo-dependency-and-audit-flow-diagram.{html,png,pdf} │ ├── OPERATORS-MANUAL-ENCYCLOPEDIA-KNOWLEDGE-GRAPH.pdf │ └── dossiers/65..69-dossier-*.md ├── pokedex/ # Gen IV INFO Pokedex Field-Scanner Cards & Manifest │ └── meme_1_custom_pokedex_technocapital_zoology_m7_129_125.{png,pdf} ├── calc/ # Static Hyperdope-Gematria Browser Workbench │ ├── index.html │ └── db.json (+ .br / .gz) └── podcast/ # Symlinked to /srv/hyperstitionstud.io/media/podcast (NVMe) └── podcast-ep01..05-*.{mp3,pdf} # Served with HTTP 206 Byte-Range streaming ``` ### 3.1 Homepage (`/` -> `index.html`) Speed & UX Specification - **Single-Packet HTML Delivery (`< 10 KB` raw, `< 3.2 KB` Brotli):** - Inline critical CSS using the exact dark-mode palette (`--bg-canvas: #020617`, `--bg-panel: #0f172a`, `--accent-cyan: #22d3ee`, `--accent-red: #ff4d4d`, `--accent-gold: #f5c630`). - Zero external `` stylesheets, zero external web fonts (`'DejaVu Sans Mono', 'JetBrains Mono', ui-monospace, monospace`), and zero third-party tracking scripts. - **Six Instant-Launch Bento Cards Above the Fold:** 1. **Interactive Encyclopedia Knowledge Graph (`/graph/`):** Live node/edge badge (`388 Nodes • 1,282 Edges • 4 Spatial Modes`), direct launch into `Mode 2: Concentric ETI Tier-Ring Radar (S+ -> D Periphery)`, and download links for `.json`, `.graphml`, `.gexf`, and `.canvas`. 2. **22-Volume PDF Encyclopedia & 282-Term Glossary (`/encyclopedia/`):** Direct division matrix (`Divisions 00–08`, `122 Pages`) + 1-click PDF drawer. 3. **Assemblage Builds `ETI` Tier List (`/zoology/tier-list-technocapital-assemblage-builds.png` & `.pdf`):** `S+` (`#1 S1` `93 ETI`, `#2 S2` `90 ETI`) through `D Periphery` (`49 ETI`) visual scorecard. 4. **Gen IV INFO Pokedex Field-Scanner (`/pokedex/`):** `M7_candidate_2026_11_28` (`AWFLAIN == RUHSHA == BLAKWEL == 129`, `DOUNZ == KAPATAL == KAPCHER == 125`). 5. **The Singularity Field Guide Audio Podcast (`/podcast/`):** Native HTML5 `