Skip to main content

High-Throughput Identity Verification: Scaling Onboarding (1)

Learn how to build a high-throughput identity verification system for rapid growth. This guide covers architecture, microservices, and optimizing for scalability in fintech and beyond.

High-Throughput Identity Verification: Scaling Onboarding (1)

Contents

In this guide

Jump to the part you need.

Key Takeaway 1 Traditional identity verification systems often become bottlenecks as businesses scale. A microservices architecture is crucial for handling increased load.

Key Takeaway 2 Asynchronous processing and message queues (like Kafka or RabbitMQ) are vital for decoupling verification steps and preventing cascading failures.

Key Takeaway 3 Observability – logging, metrics, and tracing – are essential for identifying and resolving performance issues in a distributed system.

Key Takeaway 4 Designing for idempotency ensures that retries don’t lead to duplicate actions, maintaining data consistency at scale.

The Challenge: Scaling Identity Verification

For fintech companies, marketplaces, and any business reliant on user onboarding, high-throughput identity verification is no longer a “nice-to-have” – it’s a business imperative. Imagine a rapidly growing neobank aiming to onboard 10,000 new users per hour during a marketing campaign. A traditional, monolithic identity verification system will quickly crumble under the load, leading to frustrated users, lost opportunities, and potential security risks. The core problem isn’t just processing the verification requests; it’s doing so reliably, securely, and with minimal latency, even during peak demand.

Building a Microservices-Based Architecture

The key to achieving scalable onboarding is a microservices architecture. Instead of a single, large application handling all aspects of identity verification, break it down into smaller, independent services. Each service focuses on a specific task, such as ID document verification, liveness detection, AML screening, or fraud analysis. This approach offers several benefits:

  • Independent Scalability: Each service can be scaled independently based on its specific load. The AML screening service, for example, might require more resources than the liveness detection service.
  • Fault Isolation: If one service fails, it doesn’t bring down the entire system.
  • Faster Development Cycles: Smaller teams can work on individual services independently, accelerating development and deployment.
  • Technology Diversity: Different services can be built using the most appropriate technology stack for their specific needs.

For example, a typical flow might involve these microservices:

  • Document Capture Service: Handles image/video uploads and pre-processing.
  • ID Verification Service: Extracts data from documents and verifies their authenticity.
  • Liveness Detection Service: Confirms the user is a real person.
  • AML Screening Service: Checks against global watchlists.
  • Fraud Risk Scoring Service: Analyzes various risk signals.

Asynchronous Processing and Message Queues

To further enhance scalability and resilience, incorporate asynchronous processing using message queues like Kafka or RabbitMQ. Instead of synchronously calling each service in sequence, the initial service (e.g., Document Capture) publishes a message to a queue. Other services subscribe to that queue and process the message independently.

Consider a scenario where the AML screening service experiences a temporary outage. With synchronous processing, all onboarding requests would be blocked. However, with a message queue, requests are queued up and processed once the AML service recovers, minimizing disruption. This decoupling is crucial for building a robust fintech infrastructure.

Example: A user submits an ID document. The Document Capture Service publishes a message to the ‘ID Verification Queue’. The ID Verification Service consumes the message, verifies the document, and then publishes a message to the ‘AML Screening Queue’.

Observability: Monitoring and Tracing

In a distributed system, observability is paramount. You need to be able to monitor the health and performance of each service in real-time. This requires robust logging, metrics collection, and distributed tracing.

  • Logging: Centralized logging allows you to aggregate logs from all services and easily search for errors or anomalies.
  • Metrics: Track key performance indicators (KPIs) such as request latency, error rates, and throughput.
  • Distributed Tracing: Trace requests across multiple services to identify bottlenecks and performance issues.

Tools like Prometheus, Grafana, and Jaeger are invaluable for building a comprehensive observability stack. Without observability, identifying and resolving performance issues in a high-throughput identity verification system becomes significantly more difficult.

Idempotency and Error Handling

When dealing with distributed systems and asynchronous processing, idempotency is critical. An operation is idempotent if it can be executed multiple times without changing the result beyond the initial application. This is important because message queues can sometimes deliver messages more than once.

For example, if the AML Screening Service receives the same message twice, it should only perform the screening once. Implement idempotency keys to track processed messages and prevent duplicate actions. Robust error handling is also essential. Implement retry mechanisms with exponential backoff to handle transient failures. Dead-letter queues can be used to capture messages that consistently fail to be processed.

How Didit Helps

Didit provides a complete, all-in-one identity platform built with a microservices architecture. We handle the complexities of scaling identity verification so you can focus on your core business.

  • 18+ Composable Modules: Choose only the verification steps you need.
  • Workflow Orchestration: Build complex, automated identity flows without writing code.
  • Scalable Infrastructure: Our platform is designed to handle millions of verifications per day.
  • Real-time Analytics: Monitor key metrics and identify bottlenecks.
  • API-First Approach: Integrate seamlessly with your existing systems.

Ready to Get Started?

Don't let identity verification become a bottleneck for your growth. Request a demo today to see how Didit can help you build a high-throughput identity verification system that scales with your business. Explore our pricing and documentation to learn more.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.