Persistent Systems, for NielsenIQ and IQVIA
NielsenIQ and IQVIA data pipelines
PySpark on Azure Databricks at 50M+ records a run for NielsenIQ, plus archival and API work for IQVIA.
−60%
processing time on the Sanofi archival pipeline
−45%
SQL query calls on the same pipeline
−40%
API latency after replacing Salesforce endpoints
Problem
NielsenIQ's Store Execution Solution (RTM-SES) lets CPG brands such as Bacardi, Coca-Cola, Unilever and Red Bull benchmark in-store performance against competitors. Each pipeline run processes 50M+ retail records, and results feed dashboards used by 200+ brand analysts every day. For IQVIA, Sanofi EPA data needed an archival pipeline and legacy Salesforce endpoints needed replacing.
- 50M+ retail records per run
- 200+ brand analysts daily
- 10K+ SQS messages a day
- Shared packages used by 3 teams
Architecture
- PySpark pipelines on Azure Databricks processing 50M+ retail records per run.
- FastAPI job services that launch and track Spark jobs for the Segmentation Builder and serve results to the analyst dashboards.
- Spark logic for store ranking, store overlap, price bands, nested analysis, test and buyback, store matrix, store evolution, concentration curve and custom segmentation.
- Reusable Python packages adopted by 3 engineering teams, cutting duplicate transformation code by 40%.
- IQVIA: Sanofi EPA archival pipeline on Snowflake and PySpark, cutting processing time by 60% and SQL query calls by 45%.
- IQVIA: legacy Salesforce endpoints replaced with a FastAPI microservice, plus AWS SQS event-driven integration handling 10K+ messages a day.
Stack
- Python
- PySpark
- Azure Databricks
- FastAPI
- Snowflake
- AWS SQS
- Parquet
My role
Senior Consultant at Persistent Systems, February 2025 to present. I built the PySpark pipelines on Azure Databricks, the FastAPI job services and the segmentation Spark logic, and published the shared Python packages. For IQVIA I built the Sanofi archival pipeline, the FastAPI replacement for the Salesforce endpoints and the SQS integration.
Code and demo
Client project. The code is not public.