All posts

"Webhooks, queues and LLMs: wiring AI into systems that already exist"

The LLM call is the slowest, least reliable component in the pipeline you are about to build. Put it behind a queue, make every step idempotent, and acknowledge webhooks before you think — or the rest of your stack will teach you why.

Integration4 min read9 September 2026by Ahmed
"Webhooks, queues and LLMs: wiring AI into systems that already exist"

The slowest, flakiest component in your new automation is the one you just added. An LLM call takes seconds when it is happy, tens of seconds when it is not, fails in bursts when the provider has a bad afternoon, and gets rate-limited exactly when your traffic spikes. None of that is a criticism — it is just the operational reality of the component — and the systems you are wiring it into were not built with a component like that in mind. Webhooks, in particular, were not.

Have an AI feature stuck between demo and production?

The gap — reliability, evals, cost control, the plumbing that keeps it running unattended — is exactly the work I do. If that sounds familiar, a short conversation is usually enough to point you the right way.

Book a free consultation

© 2026 Ahmed Fareed. All rights reserved.

LOADING