MODULE 02 // LAYER ARCHITECTURE
MODULE 01 // LAYER ARCHITECTURE

Stack Position.

Behavioral intelligence is not a monolithic service. It's a layer. Understanding where ABIS sits in your architecture determines how effectively it protects your system.

ARCHITECTURAL CONTEXT

Modern applications are built as layered architectures, where each layer has a specific responsibility: presentation, business logic, data access, and infrastructure. ABIS operates as a horizontal security layer that intercepts requests flowing through the stack, analyzing behavioral patterns before critical operations execute.

The optimal placement is between the API gateway and application logic, where ABIS can evaluate user intent before resources are committed. This positioning enables real-time risk assessment without blocking legitimate traffic or adding unnecessary latency to read-only operations.

Key architectural considerations include: request flow directionality (synchronous vs asynchronous), data enrichment requirements, fallback strategies when ABIS is unavailable, and the separation of analysis from enforcement to maintain system resilience.

LAYER 1: CLIENT / PRESENTATION
Web browsers, mobile apps, IoT devices. User interactions originate here.
LAYER 2: CDN / EDGE
Content delivery, static assets, DDoS protection, geographic routing.
LAYER 3: API GATEWAY
Request routing, rate limiting, authentication verification, protocol translation.
▸ ABIS INTEGRATION POINT ◂
Behavioral analysis layer. Analyzes user intent, device fingerprints, and action sequences before execution. Returns risk score + recommendation to application logic.
LAYER 4: APPLICATION LOGIC
Business rules, workflow orchestration, decision engine based on ABIS risk scores.
LAYER 5: DATA ACCESS LAYER
ORM, query builders, database connection pooling, transaction management.
LAYER 6: DATA PERSISTENCE
Databases (SQL/NoSQL), caches (Redis/Memcached), object storage (S3).
LAYER 7: INFRASTRUCTURE
Containers (Docker/Kubernetes), VMs, serverless functions, load balancers.
KNOWLEDGE CHECK // Q01
Why is ABIS positioned between the API gateway and application logic, rather than at the CDN edge or database layer?