Reducing EMR Costs by 12% with a Databricks Migration for an Indian Fintech

Discover how Aays migrated a fast-growing Indian fintech platform from Apache Hudi to Delta Lake on Databricks. The team moved 1,700+ GB of data with zero downtime and zero data loss. The result was lower infrastructure costs and a platform ready for its next phase of growth.
Compared to previous EMR infrastructure
Zero data loss during the entire migration
Processing speed across data operations
About the Client
Our client is a fast-growing Indian fintech platform helping digitally native users take control of their personal finances, backed by a leading private-sector bank. Their platform offers instant savings accounts, mutual fund investments, US stock trading, personal loans, and smart automation tools for saving and budgeting. With a team built from top tech firms and backing from marquee investors, they're focused on reimagining how modern India manages money with security and transparency at the core.
The Problem
Could Their Data Infrastructure Keep Up With Their Growth?
With over 1,700 GB of data and a fast-growing user base, the client's Apache Hudi–based infrastructure was becoming a bottleneck. What worked at an earlier stage was now creating drag across the stack.
The current setup wasn't built to scale because of:
Hudi's upsert patterns needed specialized init scripts and workarounds for basic cluster operations.
Constant Hive metastore synchronization made routine operations cumbersome.
The architecture lacked tight integration with Databricks, forcing custom configurations just to keep functioning.
This posed a risk to the data integrity and compliance standards that financial services demand.
The Solution
Migrating to a Delta Lake Foundation
Rather than patch the existing setup, we delivered a full migration from Apache Hudi to Delta Lake within the Databricks environment, completed in 6 weeks through careful planning and staged execution.
The migration covered four workstreams:
- Delta Lake Framework: Rebuilt core classes that previously ran on Hudi (HudiReadWrite and HudiOpsIO), added a custom delta_updated_time column for lineage tracking, built custom deduplication logic using Spark window functions, and set up schema enforcement for all Delta updates.
- Data Migration Pipeline: Migrated 1,700+ GB of historical Hudi data to Delta Lake format, optimizing the process to complete within hours rather than days, with 100% data accuracy and zero loss.
- Infrastructure Modernization: Updated logging and monitoring using Fluentd (td-agent), and built custom init scripts compatible across Ubuntu-based systems and multiple Databricks Runtime versions (11.3, 15.4, 16.1).
- Framework Adapter Layer: Built a transition layer that preserved existing function signatures while switching the underlying engine to Delta Lake, minimizing disruption to applications already running in production.
Existing application code kept working while the engine underneath changed completely.
Using Spark window functions, so data integrity held up under a growing transaction volume.
Custom scripts that worked across Databricks Runtime versions, avoiding lock-in to a single configuration.
The Impact
A Modern, Cost-Efficient Data Platform Built for Growth
Versus previous EMR-based infrastructure
Data processing, aided by Photon engine and Delta Lake's file layout
Maintained throughout, with zero data loss
The migration unlocked capabilities the client didn't have before: improved ACID transaction support for financial data integrity, schema evolution for flexible data modeling, time travel and rollback for audit and governance, and streamlined maintenance through Delta Lake's built-in OPTIMIZE, VACUUM, and Z-ORDER commands.
Why It Matters
For a fintech handling real money movements, a migration can't come with any margin for error. We moved 1,700+ GB of production data to a new architecture with zero data loss and no disruption to the applications running on top of it, while laying the foundation for faster feature development and stronger compliance posture. It's proof that infrastructure modernization in financial services doesn't have to mean risk, if the migration is staged with enough care.
