Ninjacart Data Strategy
Vijaykumar Shenbagamoorthy
Ninjacart is India’s largest Fresh Produce Supply Chain Company.
We source fresh vegetables and fruits from farmers and deliver them to kiranas and businesses across the country within 12 hours by leveraging innovative technology.
OUR VISION
We are pioneers in solving some of the hardest supply chain problems of the world.
We are focused on using our innovation to build a more efficient supply chain to improve the lives of farmers, businesses, and consumers in a meaningful manner.
Who are We?
Our Solution
Ninjacart Product Portfolio
Kirana/Retailer App
BNPL
Agri Fintech
Global Trade Platform
Cross Border Trade
Agro Advisory
&
Mandi News
B2B
Supply Chain
Management
Content
Data Strategy
Data Domain Overview
DERIVED
3
RFM Calculation
Customer Churn
Product Sentiment
Fraud Detection
Customer Segmentation
Churn Prediction
Sentiment Analysis
Risk Management
OBSERVED
2
Family & Business Relationship
Transactional Data
Social Data
Purchase History
Complaints
Product Reviews
Claims
Payment
ASSERTED
1
John P. Iyer
Vinod Iyer
Vinod Iyer
Account
Customer
Product
Location
Farmers
Organization
Analytical Platform Reference Architecture
Layers of Data Platform
Lakehouse Adoption
COW vs MOR
COW vs MOR
TPC-DS (Transaction Processing Performance Council Decision Support)
Iceberg
Folder
Structure
Multi-Dimensional Sort
ZOrder - Deltalake
// read as delta format
DeltaTable deltaTable = DeltaTable.forPath(inputMapper.getSparkSession(),"/tmp/ds-partition/");
// Do Zorder Partition
dataset = deltaTable.optimize().executeZOrderBy(cols.stream().toArray(String[]::new));
Data Platform Architecture
Yesterday’s data architecture can’t meet today’s need for speed, flexibility, and innovation
Focus Areas
Ninjacart Data Platform | Architecture
Ninjacart Data Platform | Technical Architecture
Data Platform - Components
Data Product | Alternatives Considered | Selected Alternative |
Data Catalog | Apache Atlas, Metacat, OpenMeta, Datahub | Open Metadata |
Data Deduplication | Custom Development, Zingg.AI | Zingg.AI with Custom Coding |
Data Reconciliation | | Custom Development |
Lakehouse | Deltalake, Hudi, Iceberg, Carbondata | Iceberg |
Distributed Query Engine | Dremio, Apache Trino | Apache Trino |
Authorization | - | Apache Ranger |
ETL & ELT | ADF, Cloud Fusion, NIFI, CDAP, Metorikku etc... | Custom Development (Spark 3.3.1) |
GraphDB | Neo4j, ArangoDB, Janus Graph ..many more.. | Neo4j |
Data Quality | Apache Griffin, AWS Deeque | Customized AWS Deeque |
Orchestration | Lugi, Airlow, Oozie, Dagster ..many more.. | Apache Airflow |
Application and Platform Integration with Data Platform
GEMS – Generic Entity Micro Service
Codeless Microservice Platform
Asserted Data
Workflow Events to Data Platform
Observed Data
Unified Data Management
Unified Pipeline Architecture
Industry First Unified Data Pipeline Framework
Data Governance Strategy
Pillars of Data Governance
Data governance focuses on the daily tasks that keep information usable, understandable, and protected
Defensive vs Offensive Approach
“When it comes to choosing your data strategy, it doesn’t have to be an either-or decision between offense and defence,” says Willem Koenders, a renowned consultant in the field of data strategy.
What’s Next?
What’s Next?
1
2
3
4
5
Ninjacart Data Platform Evolution – Quick Recap
Data Platform Architects
Surya Prabhakar
Karthik K
Vijay