Skip to content

Instantly share code, notes, and snippets.

@tonyjoanes
Created July 18, 2025 12:01
Show Gist options
  • Select an option

  • Save tonyjoanes/44a6f158d4f3af264d3d9f6835c52c0c to your computer and use it in GitHub Desktop.

Select an option

Save tonyjoanes/44a6f158d4f3af264d3d9f6835c52c0c to your computer and use it in GitHub Desktop.

Revisions

  1. tonyjoanes created this gist Jul 18, 2025.
    25 changes: 25 additions & 0 deletions comparison.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    Absolutely, Tony. Here's a rational breakdown of your architecture options in a comparison table that weighs reliability, complexity, and infrastructure overhead:

    ---

    ### ๐Ÿงฎ **Blob Processing & Encryption Flow Options**

    | Option | Trigger Type | Infra Overhead | Reliability | Metadata Flexibility | Ease of Scaling | Notes |
    |------------------------------------|----------------------|--------------------|----------------------|----------------------|-------------------|----------------------------------------------------------------------|
    | **Classic Blob Trigger** | Polling | Low | โŒ Risk of missed events | โœ… Fetchable from blob | ๐Ÿšง Limited | Simple to implement but not recommended for production workloads |
    | **Event Grid โ†’ Azure Function** | Push via Event Grid | Moderate | โœ… Highly reliable | โœ… Included in event or fetchable | โœ… Excellent | Ideal if Event Grid is allowedโ€”cleanest and most reactive |
    | **ADF โ†’ Function (Direct Call)** | Web activity | Low | โš ๏ธ Depends on Function | โœ… Can fetch from blob | โš ๏ธ Tight coupling | Lean setup, but lacks retry and decoupling |
    | **ADF โ†’ Logic App โ†’ Queue** | HTTP + Connector | Moderate (no code) | โœ… Durable | โœ… In message payload | โœ… Flexible | No Function needed; easy to evolve with connectors |
    | **ADF โ†’ Function โ†’ Storage Queue** | Web activity | Moderate | โœ… Durable | โœ… In message payload | โœ… Flexible | Good reliability and separation of concerns |
    | **ADF โ†’ Function โ†’ Service Bus** | Web activity | Higher | โœ… Durable + rich features | โœ… In message payload | โœ… Very flexible | Overkill unless you need topics, sessions, or dead-lettering |

    ---

    ### ๐Ÿง  **Quick Takes**
    - โœ… **Best long-term**: Event Grid โ†’ Function (clean, reactive, minimal glue)
    - ๐Ÿช„ **Best short-term**: ADF โ†’ Logic App โ†’ Storage Queue (low-code + reliable)
    - ๐ŸŽฏ **Simplest to start**: ADF โ†’ Function (direct call), with option to grow later

    ---

    Want help picking one for your workshop narrative, or building a slide that shows how you can migrate from short-term to ideal architecture over time? I can sketch that next.