December 11, 2024 · 4 min read
I made an $8,000 mistake with Azure Functions, and it taught me some valuable lessons about serverless architecture. I've always loved Azure Functions for their affordability, simplicity, and ability to scale with demand, making them perfect for handling background tasks like processing queues. But I learned the hard way that scaling can spiral out of control, especially when using Elastic Premium instances with constant back pressure. What started as a cost-effective solution ballooned into a costly oversight as Azure ramped up resources to handle the load. After this experience, I realized not every problem is a serverless problem and shifted memory-intensive tasks to Azure Container Apps, which provided better control over resources. It's a painful but important reminder to understand cloud scaling and pricing before letting workloads run wild.
September 15, 2020 · 4 min read
With the new Azure Static Web Apps, you can include Azure Functions as a part of your deployment which gives you the best of both worlds when you deploy static sites. Crazy performance, but access to Azure Functions when you absolutely need to write a little bit of code.
May 25, 2020 · 4 min read
My mailing list was suffering from spam signups due to an unprotected form. Since it was a static site, I needed a solution that didn't require me to host infrastructure. In this article, I'll discuss how I used Azure Functions to process reCAPTCHA tokens for my static site.