- Use cases: App Driven-Analytics, Payments, Fraud Prevention, Personalization, Modernization, Single View
- Industries: Financial Services
- Products and tools: MongoDB Atlas, MongoDB Kafka Connector, Vector Search
- Partners: Hasura
The fintech sector is rapidly transforming, driven by technological innovation, evolving customer needs, and regulatory changes. This dynamic landscape creates both opportunities and challenges for financial services providers:
We present a reference architecture using Hasura DDN (Data Delivery Network) with MongoDB Atlas to address these challenges. This combination offers a powerful, flexible, and scalable solution for modern fintech applications.
Hasura DDN is a universal data access layer for next-gen apps and AI. It lets teams effortlessly build and deploy a fast, secure, and federated API layer on all their data.
MongoDB Atlas is a leading fully managed cloud database service known for its flexible document model, horizontal scalability through sharding, and performance optimizations that support the demanding requirements of financial applications. Together, they create a foundation that accelerates innovation while maintaining the security and reliability essential to financial services.
The Hasura DDN with MongoDB reference architecture provides a comprehensive framework for building modern fintech applications that can handle high transaction volumes while maintaining data integrity, security, and regulatory compliance.
The diagram below illustrates the multi-regional deployment of Hasura DDN with MongoDB clusters, showing how fintech client applications connect through a global load balancer to distributed data nodes with centralized authentication, analytics, compliance, and external service integration.
This architecture diagram shows the key components and their interactions within the reference implementation. Fintech client applications connect through a global load balancer to multiple Hasura DDN regions, which in turn interact with MongoDB clusters deployed across different geographical regions. The architecture also incorporates centralized authentication and access control, AI and analytics capabilities, global compliance and security measures, and integration with external financial services.
Key components of the architecture:
The MongoDB data model for this fintech architecture leverages the document-based structure to address the unique requirements of financial applications. The flexible schema design allows fintech organizations to adapt quickly to new financial products or regulatory requirements without disruptive schema migrations. For optimal performance, the model employs strategic decisions around data organization.
This model implements key approaches mentioned in the document: using MongoDB's flexible schema for financial product adaptation, supporting sharding strategies for high-volume data (potentially sharding by customer ID or date ranges for time-series transaction data), and leveraging MongoDB's storage capabilities for performance optimization. The structure also facilitates the role-based access control (RBAC) and field-level security mentioned in the Security and Governance section.
The implementation of the Hasura DDN with MongoDB architecture for fintech applications follows a strategic approach focused on security, performance, and scalability. Building this solution requires careful consideration of how the MongoDB data layer interacts with the Hasura DDN API layer while ensuring that authentication, security policies, and compliance requirements are properly addressed.
The solution should be deployed in multiple geographic regions to support global financial operations, with MongoDB clusters configured for high availability using replica sets and appropriate sharding strategies based on financial data access patterns. Hasura DDN instances should be positioned close to their respective MongoDB clusters to minimize latency for real-time financial transactions and market data updates. The centralized authentication and access control layer ensures consistent policy enforcement across all regions, while the AI and analytics layer enables advanced capabilities like fraud detection and risk assessment.
Organizations implementing this architecture should adopt an incremental approach, starting with specific financial use cases like trading platforms or personalized banking, and gradually expanding to cover more complex scenarios. The solution can accommodate both new fintech startups building from scratch and established financial institutions transitioning from legacy systems through the API-first modernization approach described in the reference architecture.
For those interested in exploring anti-money laundering (AML) use cases more in depth, we recommend checking out the Axiom repository, which provides a comprehensive demonstration of implementing AML solutions using this architecture.
Note: While the API querying functionality will work as documented, setting up PromptQL locally requires additional steps not covered in the repository. You can access the PromptQL playground via this link: https://promptql.console.hasura.io/public/aml/playground
Implementing the Hasura DDN with MongoDB architecture for fintech applications reveals several important insights that organizations should consider:
Create this solution for yourself by following the instructions in this repository.
Learn how MongoDB supports a wide range of use cases in the financial services industry.
Discover how leading industries are transforming with AI and MongoDB Atlas.