LumenForgee

Schematics

Reference schematics

Reference architectures we use as starting points. Each one is adapted to the client's constraints — these are patterns, not products.

A telemetry pipeline that stays affordable as you grow

Applications emit traces, metrics and logs through one standard SDK; a collector tier in the middle decides what is kept, what is summarised and what never leaves the cluster.

Scope: Instrumentation, collection, sampling, redaction and export for all services in one environment.Stack: OpenTelemetry SDKs and Collector · Prometheus · Tempo or Jaeger · Loki

Services, jobs and edge proxies send telemetry to node agents and then to a collector tier that batches, filters, redacts and tail-samples before exporting metrics, traces and logs.

Flow

  1. Services, workers and edge proxies emit OTLP through the OpenTelemetry SDK with shared resource attributes.
  2. Node-level agents buffer locally so a collector restart does not drop data.
  3. The collector tier batches, filters noisy spans, redacts personal data and enriches with deployment metadata.
  4. Tail-based sampling keeps every slow or failed trace and a fraction of healthy ones.
  5. Signals are exported to separate back ends with retention set per signal type.

Design decisions

  • One collector configuration in version control, rolled out like application code.
  • Cardinality budgets per service, enforced by dropping or aggregating offending attributes.
  • Redaction happens before export, never in the back end.
  • Load-balancing exporters route all spans of one trace to the same sampler.

Deliverables

  • Collector configuration with tests for redaction rules
  • Sampling policy and cardinality budget
  • Monthly telemetry volume and cost report
Book this service: Observability & Telemetry Engineering

Schema changes without maintenance windows

Every schema change is split into small deployable phases so the database and two application versions can coexist, and every phase can be reversed on its own.

Scope: Relational schema changes on large, busy tables, coordinated with application releases.Stack: PostgreSQL · Flyway or Atlas · pg_repack · feature flags

Five phases from expand to contract, with application version 1 active during the early phases and version 2 during the later ones.

Flow

  1. Expand: add the new column, table or index in a backward-compatible way (nullable, concurrent index build).
  2. Dual write: the new application version writes both old and new structures.
  3. Backfill: existing rows are migrated in small, throttled batches with progress tracking.
  4. Switch reads: reads move to the new structure behind a flag and are verified.
  5. Contract: the old structure is dropped only after reads have been proven and a rollback is no longer needed.

Design decisions

  • Lock timeouts on every migration statement so a blocked change fails fast instead of queueing traffic.
  • Backfills run as resumable jobs, not as a single UPDATE.
  • CI rejects migrations that rewrite a table or take strong locks without an explicit override.
  • Each phase is a separate deployment with its own rollback instructions.

Deliverables

  • Migration playbook and pull-request template
  • CI lint rules for dangerous DDL
  • Backfill job framework with throttling
Book this service: Database Reliability & Zero-Downtime Change

Tenant isolation as a configurable tier

A multi-tenant platform that can host most tenants cheaply in a shared pool and move the few that need it to stronger isolation — without separate code paths.

Scope: Data, compute and quota isolation for B2B SaaS platforms.Stack: PostgreSQL row-level security · per-tenant schemas · Kubernetes namespaces · OPA

Requests pass through a tenant router to one of three tiers: a shared pool with row-level security, a bridge tier with a schema per tenant, or a dedicated silo.

Flow

  1. Every request carries a tenant identifier derived from the authenticated token, never from user input.
  2. A tenant router looks up the tenant's tier and quotas.
  3. Pool tenants share databases protected by row-level security and per-tenant connection and query limits.
  4. Bridge tenants get a schema of their own in a shared cluster.
  5. Silo tenants get dedicated databases and workers; moving between tiers is a planned migration.

Design decisions

  • Tenant context is set once per connection or transaction and verified in tests.
  • Quotas exist at every shared resource: connections, queue depth, storage, request rate.
  • Tier is configuration, so the application code does not branch on tenant size.
  • Cross-tenant access tests run in CI for every data-access change.

Deliverables

  • Isolation model and tier criteria
  • Row-level security policies with automated tests
  • Tenant migration runbook between tiers
Book this service: Database Reliability & Zero-Downtime Change

Progressive delivery with automated analysis

New versions reach users in steps, and a machine — not a person watching a dashboard — decides at each step whether to continue or roll back.

Scope: Release process for services on Kubernetes, from merge to full traffic.Stack: Argo Rollouts or Flagger · service mesh or ingress traffic splitting · Prometheus

Deployment moves through 1, 10, 50 and 100 percent of traffic, with automated analysis after each step and an automatic rollback path.

Flow

  1. The new version is deployed next to the current one without traffic.
  2. A small share of traffic (for example 1%) is shifted to it.
  3. Automated analysis compares error rate, latency and saturation with the stable version.
  4. If the analysis passes, traffic increases in steps; if it fails, traffic returns to the stable version automatically.
  5. After full promotion, the previous version is kept briefly for fast rollback and then removed.

Design decisions

  • Analysis compares canary against the current baseline, not against fixed thresholds alone.
  • Database changes follow expand/contract so both versions can run at once.
  • Steps and pauses are tuned to traffic volume so each step sees enough requests to judge.
  • Manual promotion is possible but requires a recorded reason.

Deliverables

  • Rollout definitions and analysis templates
  • Dashboards comparing canary and stable
  • Rollback drill report
Book this service: Release Engineering & Software Supply Chain

Credential rotation with an overlap window

Secrets are versioned, fetched at runtime and rotated on a schedule; for a short window both the old and new credential work, so no client has to restart at the same moment.

Scope: Database passwords, API keys, signing keys and cloud credentials used by services.Stack: HashiCorp Vault · External Secrets Operator · cloud KMS · database roles

A secret store issues version 2, both versions are accepted, clients move to version 2, then version 1 is revoked.

Flow

  1. A new credential version is issued while the current one stays active.
  2. Both versions are accepted during an overlap window longer than the slowest client refresh.
  3. Clients pick up the new version through runtime reload or a short cache TTL.
  4. Authentication metrics per version confirm that the old version is no longer used.
  5. The old version is revoked and the event is recorded in the audit log.

Design decisions

  • Prefer dynamic, short-lived credentials where the target supports them.
  • No secrets in images, repositories or CI logs; scanning blocks them at commit time.
  • Rotation is tested regularly, not only after an incident.
  • Emergency rotation uses the same automation with a shorter window.

Deliverables

  • Secret inventory with owners and rotation intervals
  • Rotation automation and runbook
  • Alerts on stale or unused credentials
Book this service: Identity, Access & Secrets Infrastructure

A localisation pipeline for documentation and product text

English source text is extracted with context, reused through a translation memory and reviewed per locale before it is built and published — with an explicit fallback when a translation is missing.

Scope: Developer documentation, product UI strings and public web content in several languages.Stack: ICU MessageFormat · translation management system · static site build · CI checks

English source content flows through extraction and a translation memory to native review for Finnish, Swedish, Norwegian, Estonian and Bulgarian.

Flow

  1. Source strings are written in English with keys, descriptions and length limits.
  2. Extraction runs in CI and pushes new or changed strings to the translation memory.
  3. Translators work with a shared glossary; native reviewers approve each locale.
  4. Builds are produced per locale; missing strings fall back to English and are reported.
  5. Published pages declare their language and link alternates only for reviewed locales.

Design decisions

  • Plurals, dates and numbers are formatted by the locale library, never by string concatenation.
  • Untranslated pages are not indexed as separate language versions.
  • Glossary terms for technical concepts are fixed early and versioned.
  • Pseudo-localisation in CI catches truncation and hard-coded text.

Deliverables

  • String extraction and CI checks
  • Glossary and style guide per locale
  • Fallback and indexing rules
Book this service: API Contracts & Developer Platform

Blueprints describe generic patterns. Where they draw on client work, details are generalised and covered by confidentiality agreements; no client names, dates or results are disclosed.