Skip to content
Alvorance

Architectures

Reference designs we start from.

Each architecture solves a common problem. We show the layers, the choices behind the design and what changes when the business rule changes.

Data & AI

Modern data platform

Context

Data lives in spreadsheets, the production database and manual exports. Every report is rebuilt from scratch, and nobody can say where a number came from.

01

Sources

  • Transactional database
  • CRM and ERP
  • Third-party APIs
  • Product events

02

Ingestion

  • CDC for databases
  • Scheduled batch
  • Streaming for events

03

Layers

  • Raw: faithful copy of source
  • Cleansed: typed and validated
  • Serving: modeled by domain

04

Transformation

  • Versioned models
  • Contract tests
  • Traceable lineage

05

Consumption

  • BI and dashboards
  • Reverse ETL to CRM
  • Features for models

Design decisions

1

The raw layer is never changed, so history can be reprocessed when a rule changes.

2

Every published model has a contract test. If the source changes, the pipeline breaks before the dashboard does.

3

Nobody queries the raw layer directly. If someone needs to, a model is missing.

Analytics & tracking

Server-side tracking with consent

Context

Blockers and cookie limits reduced the conversions recorded. Each platform shows a different number, and legal needs consent and LGPD compliance.

01

Browser

  • Site data layer
  • Consent banner
  • Consent Mode v2

02

Own collector

  • First-party domain endpoint
  • Server-side container
  • Enrichment and validation

03

Policy

  • Consent signal per purpose
  • Personal data redaction
  • Drop what wasn't consented

04

Destinations

  • GA4
  • Ad platform Conversions APIs
  • CRM

05

Warehouse

  • Raw event retained
  • Own attribution model
  • Reconciliation with finance

Design decisions

1

Consent is denied by default. No tag fires before opt-in, including on this site.

2

The raw event reaches the warehouse before the ad platforms. That is how you audit the gap between them.

3

Server-side recovers signal but does not bypass consent. Anyone promising that is selling legal risk.

Cloud software

Delivery pipeline

Context

A deploy has become a risk event, scheduled for Friday night. There is no reliable test environment, and the first news of a failure usually comes from the customer.

01

Commit

  • Short-lived branch
  • Mandatory review
  • Type and lint checks

02

Integration

  • Unit tests
  • Integration tests
  • Reproducible build

03

Ephemeral environment

  • One environment per pull request
  • Synthetic data
  • End-to-end test

04

Production

  • Progressive rollout
  • Feature flag
  • One-command rollback

05

Observability

  • Business metrics, not just CPU
  • Alerts with an owner
  • Blameless post-mortem

Design decisions

1

If rolling back isn't cheaper than fixing forward, the pipeline is wrong.

2

An alert without an owner turns into noise within two weeks. Every alert has someone responsible.

3

One environment per pull request costs less than a night of manual rollback.

Let's talk about your project.

An initial conversation to understand the context and assess how we can help.