The upload froze the app for 8 seconds.
The fix is the cheapest queue Azure sells, and a pointer instead of a payload.
What you'll learn
- Why image processing inside the request exhausts the web tier
- The claim check: put a blob path on the queue, not the file
- How visibility timeout and DequeueCount handle a dead worker
Share this passage
Drawing…
Understand it one step at a time
The short runs these in order in about 32 seconds. Here they are written out — pick any step to jump the short straight to it.
Upload. Then nothing happens
A 4.2 MB photo uploads and the screen just hangs. No progress bar, no response — because the API hasn’t returned yet.
Frequently asked questions
- Why move image processing out of the upload request?
- Processing the image inline holds a web-tier thread and the user's connection open for the whole operation — do that under load and you exhaust the web tier's capacity. The upload request should end as soon as the answer the user needs — upload succeeded — is known.
- What is the "claim check" pattern used here?
- Upload the image to blob storage, then put only a small message (the blob's path, here 182 bytes) on the queue — not the file itself. A background worker picks up the message and does the processing, and visibility timeout plus DequeueCount handle a worker that dies mid-job.
Free app · no app store
These are built for a phone
Every short is drawn at full portrait height, the shape a phone already is. Installed, it opens full-bleed with no address bar across the top — and the whole library reads offline.
Read deeper on Azure
Twenty seconds gets the shape of an idea across. These go into how it behaves in production.
-
How Azure Protects a Mobile App: The Full Request Flow, Layer by Layer
Front Door, your API, Microsoft Entra ID, authorization and a private database — the five layers that stand between a mobile app and its data on Azure.
-
Your Mobile App Is Leaking Its API Key — and Obfuscation Will Not Save It
An APK or IPA is a zip file. Anything hardcoded inside it, including your API key, is already public — and here is how to get it off the phone for good.
-
What Is Microsoft Foundry (Azure AI Foundry)? The Services, and When You Actually Need Them
A plain tour of Microsoft Foundry for developers: the resource, projects, models, agents, tools, and when Azure OpenAI on its own is enough.
More shorts
-
Azure
Secure a Mobile API in 5 Steps
8 steps · 25s
-
Azure
What Happens When You Tap Sign In
8 steps · 25s
-
Azure
Your Mobile App Is Leaking Its API Key
8 steps · 26s
Get new posts by email
New technical articles, Azure AI and GitHub Copilot updates, and upcoming events. No spam, unsubscribe anytime.