Backend Security & privacy Platform

Xafe.ai — Privacy & Orchestration Platform

A Spring Boot control plane driving differential privacy, PII masking and column-level encryption at terabyte scale.

Role
Backend & platform engineer — orchestration layer, streaming and deployment
Context
Entiovi Technologies — Xafe.ai product
Period
Apr 2024 – Present
Status
Ongoing
TB-scale
GDPR/CCPA-compliant data processing
Zero-downtime
releases through rolling Kubernetes deployments

01 Problem & context

Xafe.ai is a product for GDPR- and CCPA-compliant data processing at terabyte scale. Sensitive data has to be transformed and protected before it reaches downstream systems, and the policy that protects it has to be applied consistently on every run.

Clients also need to watch long-running privacy and pipeline jobs as they happen. That can't come at the cost of a stateful service that is hard to scale.

02 My role & ownership

03 Architecture

  1. 01Clients
    • Job requests
    • Live status (SSE)
  2. 02Control plane
    • Spring Boot orchestration
    • Design-pattern based ETL layer
  3. 03Privacy engine
    • Differential privacy
    • Dynamic PII masking
    • Column-level encryption
  4. 04Fan-out
    • Redis Pub/Sub

Across every stage Docker Kubernetes — replicas · probes · rolling deploys Nginx

Fig. 02 Control plane and privacy path, simplified.

04 Key decisions

  1. D1

    A dynamic orchestration layer built on established design patterns

    The ETL and orchestration layer is built on established design patterns and drives the Differential Privacy engine dynamically: PII masking and column-level encryption are applied through orchestration.

  2. D2

    SSE backed by Redis Pub/Sub keeps instances stateless

    Job status is published to Redis Pub/Sub, and whichever instance holds a client's Server-Sent Events connection relays it. No instance owns job state, so the service scales horizontally behind the load balancer.

  3. D3

    Kubernetes for zero-downtime releases

    Replica-based scaling, health probes and rolling deployments mean new versions replace old ones without taking the service offline.

05 Engineering challenges

06 Outcomes

07 Technology & why it fits

Java · Spring Boot
Control plane and orchestration layer.
Redis Pub/Sub · Server-Sent Events
One-way real-time status to browsers, without sticky sessions.
Differential privacy · PII masking · column-level encryption
The privacy guarantees the product exists to provide.
Docker · Kubernetes · Nginx
Packaging, scaling, health-checked rolling releases and the edge.

08 Related systems

Want the detail behind a decision? The portfolio assistant can walk through this system at whatever depth you need.