Crosane
Technical Architecture & Docs

Cloud Infrastructure & Integration Specs

Technical documentation covering Crosane’s high-throughput edge tier, real-time attribution pipelines on TimescaleDB, C++ vector retrieval, and Google Cloud Vertex AI integration.

1. Cloud Architecture Overview

Crosane operates a multi-tier cloud infrastructure engineered for sub-5ms re-ranking latency, real-time omnichannel event streaming, and continuous 50/50 A/B testing:

EDGE TIER (CLOUD RUN) Microservices handling edge proxying, session hash splits, and async telemetry ingestion.
ATTRIBUTION (POSTGRES / TIMESCALEDB) Continuous time-series pipelines tracking conversions, order webhooks, and returns.
VECTOR SEARCH TIER Dense 2048-dimensional embeddings combined with lexical BM25 matching at sub-5ms SLA.
AI & SEMANTICS (VERTEX AI) Gemini models for natural-language query intent extraction and automated catalog enrichment.

2. Expected Revenue Per Impression (ERPI)

Traditional search engines rank products strictly by textual keyword overlap or raw click rates. Crosane calculates an Expected Revenue score for every product candidate before returning results to shoppers:

// Mathematical Definition ERPI = Margin_Unit × P(Purchase | Query) × Size_Curve_Depth × (1 - P(Return))

• Margin_Unit: Gross profit contribution per SKU, prioritizing house brand and high-margin flagships over zero-margin clearance lines.

• P(Purchase | Query): Vector similarity combined with 28-day rolling purchasing velocity for the search intent cluster.

• Size_Curve_Depth: Real-time variant availability factor. Deprioritizes products with broken size curves (e.g. only XS or XXL remaining).

• P(Return): Machine-learned return probability derived from 28-day post-checkout refund and return webhooks.

3. Live Order Webhook Truth Engine

Crosane does not rely on subjective click events to measure performance. We sync directly with post-checkout order webhooks to prove net financial yield:

POST /webhooks/orders/create Fires when a customer completes checkout. Matches session cookie or attribution token to Arm A (Control) or Arm B (Challenger).
POST /webhooks/orders/refund Automatically deducts customer returns and refunds from the attribution model, preventing return-heavy clearance items from skewing revenue lift.

Have technical or architectural questions?

Our engineering team is happy to review your storefront architecture and provide a custom technical brief.

Talk to an Architect