Designing a Scalable Data Pipeline on Azure – Choosing Between Serverless and Managed Services

Chimkara Nwankwo 0 Reputation points
2026-12-01T09:55:08.1233333+00:00

I'm exploring different approaches to building scalable data pipelines on Microsoft Azure and would appreciate some technical insight.

Suppose you're designing a data pipeline that ingests large volumes of structured and unstructured data from multiple sources, processes the data in near real time, and stores it for downstream analytics.

Would you favour an architecture built around Azure Functions, Event Hubs and Azure Data Lake Storage, or would services such as Azure Data Factory and Azure Databricks be more appropriate?

More specifically:

  1. How would you decide between serverless event-driven processing and managed data orchestration?
  2. How would you handle fault tolerance, retries and duplicate event processing?
  3. What considerations would influence your choice in terms of scalability, latency and cost?
  4. How would you design the architecture to accommodate increasing data volumes without introducing unnecessary complexity?

I'm particularly interested in the trade-offs between these services in a production environment.

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Manoj Kumar Boyini 19,595 Reputation points Moderator
    2026-12-01T12:08:57.35+00:00

    Hi @Chimkara Nwankwo

    The choice between these services depends mainly on the type of workload and how quickly the data needs to be processed. Both approaches have their own advantages, and they can also work together in the same architecture.

    If the requirement is to process events continuously as they arrive, Azure Event Hubs with Azure Functions would be a good option. Event Hubs handles event ingestion, while Azure Functions can execute processing logic when new events arrive. Event Hubs Capture can also store incoming events directly in ADLS Gen2.

    On the other hand, if the requirement involves integrating data from multiple sources, managing dependencies, scheduling pipelines, and performing complex transformations, Azure Data Factory with Azure Databricks would be more suitable. ADF handles orchestration and data movement, while Databricks can handle large-scale transformations using Spark.

    For fault tolerance, Azure Functions with an Event Hubs trigger follows at-least-once delivery semantics. This means an event may be processed more than once, so implementing idempotent processing and proper checkpointing is important. ADF also provides activity-level retry policies, and Databricks Structured Streaming uses checkpoints to recover processing progress after failures.

    From a scalability and cost perspective, the decision should consider event volume, partitioning, compute requirements, processing latency, and the pricing model of each service. Serverless processing can be useful for event-driven workloads, whereas Databricks compute should be sized according to the processing requirements.

    For a production environment requiring both near-real-time processing and batch analytics, I would consider combining these services rather than choosing only one. For example, Event Hubs can handle continuous ingestion, Databricks can process streaming data, ADLS Gen2 can store the data, and ADF can orchestrate scheduled batch loads and historical processing.

    Ultimately, I would choose the architecture based on the actual latency requirements, transformation complexity, expected data volume, and operational cost rather than the service model alone.

    References:

    Azure Event Hubs
    Azure Data Factory
    Reliable event processing with Azure Functions
    Databricks Structured Streaming checkpoints

    Was this answer helpful?

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.