Architecture & Infrastructure

How VAP ERP Works

Built with embedded systems discipline. Tested quarterly. Concrete architectural controls, zero hype, and verifiable operational benchmarks.

System Architecture

Requests flow through hardened layers of isolation and protection. Each layer is decoupled; if one fails, the others independently protect customer data.

Origin
User Browser
Edge
Cloudflare Edge
Runtime
Cloud Run Gateway
Storage
Postgres + Redis
Why This Matters: Each layer enforces authentication, isolation, and limits independently. Multi-layer security eliminates single points of failure.

Data Isolation: Three Hardened Layers

We safeguard customer records through multiple architectural barriers, not relying solely on application-level filtering.

Database

Schema Isolation

Database-level tenant boundaries prevent cross-tenant data leaks by construction.

RLS Engine

Row-Level Security

PostgreSQL RLS policies strictly enforce row access even during bulk reporting jobs.

Gateway Auth

Application Context

Cryptographically signed JWT sessions resolve verified tenant context on every call.

Request Lifecycle: Verified Benchmarks

Transparent response budgets measured under active production workloads.

ComponentTime (Warm)Operational Responsibility
Cloudflare Edge~5msTLS 1.3 decrypt, rate limit enforcement, DDoS defense
Gateway & Auth~10msCryptographic JWT verification, tenant context injection
Redis Session Cache~2msIn-memory tenant configuration and entitlement lookup
Database Execution~20–50msPostgres query execution with isolated schema & RLS
Total Roundtrip (Warm)45–80ms (P95)Complete client response budget delivered
45–80ms
Warm Response (P95)

Container pool active, pre-warmed connection pools, 95% of everyday requests.

600–800ms
Cold Start (Worst Case)

Occurs only when a microservice scales from zero after prolonged off-hours inactivity.

Reliability: Routine Verification

Disaster recovery and backup integrity are verified quarterly under real restore drills.

Operational Disciplines

  • Daily automated transactional snapshots
  • AES-256 encrypted cold storage archives
  • Multi-region redundant snapshot mirroring
  • Weekly automated hash and integrity verification
  • Quarterly full disaster recovery drills

Measured Recovery Drill

28-Minute RTO
Snapshot Download: 2 min
Key Decryption: 3 min
Database Restore: 13 min
Schema Verification: 2 min
Health Smoke Tests: 5 min
Drill targets 2–4 hours; benchmark achieved 28 minutes.

Security: Four Pillars

Cryptographic security and supply chain controls protecting operations around the clock.

In Transit

  • TLS 1.3 cryptographic cipher suites
  • Cloudflare edge DDoS mitigation
  • HSTS enforced across all tenant subdomains
  • Authenticated internal mesh communication

At Rest

  • AES-256 database-level encryption
  • Encrypted cold storage backups
  • GCP Secret Manager zero plaintext secrets
  • Isolated filesystem partitions

Access Control

  • Cryptographic JWT validation
  • Mandatory MFA on privileged actions
  • Granular Role-Based Access Control (RBAC)
  • Immutable transaction audit logs

SOC 2 & Compliance

  • SOC 2 Type II aligned controls
  • 0 High-severity supply chain CVEs (SCA audited)
  • Durable outbox event sourcing logs
  • Quarterly third-party recovery validation

Ready to verify our architecture?

Explore our engineering documentation or discuss custom deployment requirements with our technical team.

Vaptechs Team · 14+ Years Systems Engineering · Built on embedded systems discipline.