Larvontis
SYSTEMS / INFRASTRUCTURE / SPECIFICATION V3
Edge Network: Globally Distributed · P95 <20ms

Engineered for sub-second execution and zero cold starts.

We reject monolithic frameworks and fragile third-party plugin stacks. Our systems are assembled on lightweight edge primitives: server-driven UI, edge-replicated SQLite, typed relational schemas, and zero-overhead CSS. The result is instant interaction, deterministic deployments, and 100% intellectual property ownership.

0ms
Cold Start Penalty (PPR & Edge Functions)
18ms
Database Query Latency (Turso LibSQL edge read)
100 / 100
Core Web Vitals (Zero Layout Shift)
AES-256
Session Encryption & Cookie HMAC Security
LAYER 01 / CLIENT & SERVER RUNTIME

Server-driven UI with instant partial prerendering.

By compiling layouts into static edge HTML while streaming dynamic transactional slots (cart drawers, user sessions) via React 19 Server Components, we eliminate hydration overhead and achieve instant navigation without client fetch waterfalls.

Partial Prerendering (PPR)React 19 Server ActionsTailwind v4 (@theme)Zero CLS
Request Lifecycle & Streaming Pipeline0ms Cold Start
[1] CLIENT REQUEST
    └── GET https://eloraine-de-lys.vercel.app/catalog/tailoring

[2] GLOBAL ANYCAST EDGE CDN (Vercel)
    ├── Static Shell: Cache HIT (0ms TTFB)
    └── Dynamic Slot: Stream React 19 Server Component

[3] REGIONAL COMPUTE (fra1 - Frankfurt Node)
    └── Turso Embedded LibSQL Replica Query (11.4ms)

[4] STREAMING RESPONSE
    └── HTML Chunk Streamed → Zero Layout Shift (CLS 0.0)
LAYER 02 / DISTRIBUTED PERSISTENCE

Edge-replicated SQLite with sub-20ms reads.

We deploy Turso LibSQL database replicas directly alongside compute instances in regional edge zones. Read queries resolve locally without trans-oceanic round-trips to a central database instance, slashing TTFB for commerce and SaaS platforms alike.

Turso LibSQLEmbedded ReplicasDrizzle ORM Type-SafetyAtomic Migrations
schema/orders.ts · Relational Order EngineDrizzle ORM v0.45
// Typed Schema with Enums, Indexes & State Transitions
export const orders = sqliteTable("atelier_orders", {
  id: text("id").primaryKey(), // UUID v4
  referenceNo: text("reference_no").notNull().unique(),
  customerEmail: text("customer_email").notNull(),
  currency: text("currency", { enum: ["EUR", "INR", "USD"] }).default("EUR"),
  subtotalCents: integer("subtotal_cents").notNull(),
  paymentState: text("payment_state", {
    enum: ["PENDING", "CLEARED", "FAILED"]
  }).default("PENDING"),
  fulfillmentState: text("fulfillment_state", {
    enum: ["QUEUED", "DISPATCHED", "DELIVERED"]
  }).default("QUEUED"),
  shipmentAwb: text("shipment_awb"),
  createdAt: integer("created_at", { mode: "timestamp" }).notNull(),
});
LAYER 03 / IDENTITY & INTEGRITY

Zero-database-lookup session verification.

Authentication uses cryptographically signed HMAC session cookies containing tenant and role claims. Edge middleware verifies requests in under 2ms without hitting the primary database on every single route traversal, stopping unauthorized traffic at the perimeter.

HMAC-SHA256 SignaturesHttpOnly Secure CookiesRole-Based Access ControlRate Limiting (Upstash)
Edge Perimeter Verification TelemetryVERIFIED (1.8ms)
[SECURITY HEADERS ENFORCED]
  ├── Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
  ├── X-Content-Type-Options: nosniff
  ├── X-Frame-Options: DENY
  └── Content-Security-Policy: default-src 'self'; script-src 'self'

[AUTHENTICATION STATE RESOLUTION]
  ├── Cookie Signature: HMAC-SHA256 (VALID)
  ├── Role Claim: patron_authenticated (Verified)
  └── Database Roundtrips: 0 (Stateless Edge Verification)
LAYER 04 / FULFILLMENT & ASYNCHRONOUS PIPELINES

Idempotent webhooks for zero-loss commerce.

Order creation triggers durable asynchronous webhooks to shipping aggregators (Shiprocket, iThink Logistics) and direct UPI reconciliation. Webhook handlers enforce idempotency keys, signature verification, and automated retry queues to guarantee zero dropped orders.

Idempotent DispatchShiprocket REST APIWhatsApp Order TriggersAutomated Reconciliation
Asynchronous Fulfillment Event StreamIdempotent Sync
TIMESTAMP       EVENT_ID      STATUS       PAYLOAD
18:42:01.104    evt_9402_01   COMMITTED    order.created (#ORD-9402 · €1,450)
18:42:01.182    evt_9402_02   VERIFIED     payment.intent_cleared (Apple Pay)
18:42:01.320    evt_9402_03   DISPATCHED   shiprocket.generate_awb (AWB #92019)
18:42:01.488    evt_9402_04   QUEUED       whatsapp_webhook.send_confirmation

Full Architectural Handover Guarantee

100% repository transfer to your GitHub organization, complete deployment runbooks, and 14 days of post-launch engineering coverage.