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
- Developed the Spring Boot dynamic ETL and orchestration layer that powers the Differential Privacy engine.
- Built real-time streaming of pipeline and job status to clients.
- Containerised the services and deployed them on Kubernetes.
03 Architecture
-
01Clients
- Job requests
- Live status (SSE)
-
02Control plane
- Spring Boot orchestration
- Design-pattern based ETL layer
-
03Privacy engine
- Differential privacy
- Dynamic PII masking
- Column-level encryption
-
04Fan-out
- Redis Pub/Sub
Across every stage Docker Kubernetes — replicas · probes · rolling deploys Nginx
04 Key decisions
-
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.
-
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.
-
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
- Applying privacy controls — masking, encryption, differential privacy — dynamically across terabyte-scale data without per-source code.
- Streaming live status to clients from a horizontally scaled service, where the instance running a job is rarely the one holding the client connection.
06 Outcomes
- GDPR/CCPA-aware processing at terabyte scale, with dynamic PII masking and column-level encryption.
- Stateless services that scale horizontally behind the load balancer.
- Zero-downtime releases through rolling Kubernetes deployments.
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.