Platform documentation.
How AdultInfra delivers adult workloads: CDN resources and caching, video and live streaming, edge compute, security, storage, and AI. Written for the engineers who operate high-scale adult platforms.
Delivery and CDN
Resources, caching, origin shielding, invalidation, access control, logging, and delivery automation.
- CDN overview: how delivery worksWhat a CDN resource is, how origins and domains map to delivery, and how to choose between standard delivery, video delivery, and managed streaming for a lawful adult platform.
- Creating a CDN resourceHow to plan and create a CDN resource: domains and aliases, origins and origin groups, standard versus video delivery, and the limits to design around before you configure.
- Cache control and cache keysHow cache modes, TTLs, origin versus edge policy, and cache-key composition decide hit ratio and origin egress on high-scale adult video and website delivery.
- Origin shielding and failoverHow origin shielding and request collapsing cut origin egress, how active/passive origin groups fail over, and how to avoid stampedes when hot content is cold or purged.
- Secure token and signed accessHow signed URLs and signed cookies gate adult CDN content without polluting the cache key, plus expiry, range retries, IP binding, and token refresh design.
- Purge, invalidation, and prefetchHow purge by URL, tag, pattern, or all works, when to use soft versus hard purge, surrogate-key limits, tier revalidation, and prefetch for launches on an adult CDN.
- Compression and HTTP headersHow gzip and brotli compression, byte ranges, CORS, custom headers, and header normalization interact on an adult CDN serving video and website traffic.
- Rules and path policyHow request rules and path matching work on an adult CDN: per-workload policy for manifests, segments, and images, rule ordering, and avoiding rule sprawl.
- TLS, certificates, and protocolsManaged versus custom certificates, per-brand TLS, HTTP/2 and HTTP/3, minimum TLS versions, forced HTTPS, and the real caveats of 0-RTT for adult platforms.
- Logs and observabilityLog export targets, raw log fields, the log viewer, Grafana-style dashboards, W3C traceparent propagation, and what to alert on for adult video delivery.
- Terraform and control-plane automationManaging adult CDN resources, rules, and certificates as code: API and Terraform workflows, resource versioning, purge and prefetch automation, and CI safety.
- Troubleshooting and status codesDiagnosing 402, 403, 404, 410, and 5xx on an adult CDN, plus stale content, low offload, cache deception symptoms, and how to isolate edge from origin.
Video and live
Video CDN, adaptive bitrate, low latency, ingest, managed streaming, and quality measurement.
- Video CDN overviewHow a video CDN delivers prepared HLS, DASH, HTTP-FLV, and MP4 media, when to choose it over managed streaming, and how range and 206 behaviour decide seek quality.
- Adaptive bitrate with HLS and DASHHow HLS and DASH adaptive bitrate works, where CMAF fits, how to design a rendition ladder across H.264, HEVC, AV1, and VP9, and when ABR is worth the operational cost.
- Low-latency deliveryHow LL-HLS and LL-DASH reach roughly 2-4 seconds glass-to-glass using chunked transfer, CMAF partial segments, blocking reloads, and preload hints, and the RFC 9317 cache risk.
- Live ingest protocolsRTMP, RTMPS, SRT, WHIP, and HLS pull compared for adult live ingest, with WHIP's RFC 9725 constraints, redundant primary and backup paths, and stream-key hygiene.
- Managed streamingHow a managed streaming pipeline ingests, transcodes, packages, and delivers adaptive video for lawful adult platforms, and when to use it instead of a video CDN.
- Origin protection for videoHow to keep adult video origins private and unbypassable: signed playback, hotlink and leech prevention, stopping range-based egress theft, cache-key hygiene, and takedown purges.
- CMCD and player QoEHow CMCD (CTA-5004) carries player context to the edge, why query-param and header transport differ for caching, and how to join startup, rebuffer, seek, and bitrate metrics.
- Recording, DVR, and clippingHow recording, DVR and timeshift, instant clips, thumbnails, and post-session transcoding work for lawful adult live platforms, including consent, policy, and deletion.
Edge Workers
Serverless JavaScript and Rust WebAssembly that runs with CDN requests at the edge.
- Edge Workers overviewHow serverless JavaScript and Rust WebAssembly run inside CDN request handling, with an isolated runtime and microsecond cold starts, and what adult platforms use them for.
- Edge Workers use casesConcrete edge-worker patterns for adult platforms: token validation, geo and policy decisions, request normalisation, hotlink protection, redirects, experiments, and idempotency under shielding.
- Edge Workers runtime and storageRuntime limits for edge workers, how edge KV and cache provide state, secret handling, runtime configuration, and data-handling cautions for adult workloads.
Security
DDoS mitigation, web application and API protection, bot management, and edge access policy.
- DDoS protectionHow volumetric and layer-7 DDoS attacks are absorbed: always-on mitigation, BGP and GRE redirection, FlowSpec, event logs, and cache-busting attacks on adult platforms.
- Web application and API protectionWAF policies for adult platforms: OWASP-style rules, custom rules, rate limiting, IP controls, TLS fingerprinting, L7 DDoS defence, and monitor versus block modes.
- Bot management and scrapingSeparating good bots from scrapers on adult platforms: known-bot allowlisting, headless detection, scrape-to-rehost economics, hotlink versus scraping, and signed URLs.
- Edge access policyGeo policy, referrer and hotlink rules, IP allow and deny, request-method restriction, default-action design, and how to log access decisions for adult platforms.
Storage
S3-compatible object storage for originals, packaged media, derivatives, and logs.
- Object storageS3-compatible object storage for adult platforms: the bucket and key model, private originals, access keys, presigned URLs, malware scanning, and quotas.
- Media lifecycle and tieringFast versus standard storage classes, retrieval delays and minimum durations, why archive classes break instant playback, and how to tier adult VOD renditions.
AI and GPU
Adult-capable inference, custom models, image and video generation, and GPU compute.
- AI inference overviewRunning adult-capable AI inference without blanket filtering of lawful prompts: model deployment and routing, edge and regional placement, batch versus interactive, and privacy.
- Custom and open-source modelsDeploy open-source and custom-container models for adult platforms: versioning, routing, capacity, usage-based metering, and customer-controlled content policy.
- GPU computeAccelerator classes for adult AI workloads: inference-optimized versus flagship training, virtual, bare-metal and spot, autoscaling, regional placement, and serverless inference.
- AI-assisted media classificationNSFW, hard-nudity and soft-nudity signals with configurable thresholds, frame sampling, and review routing. Not age, identity, consent, or rights verification.