Azure Functions Durable Entities: Stateful Serverless

Serverless is typically stateless. Durable Functions changed that with orchestrations. Now, “Durable Entities” brings the Actor Model (similar to Akka or Orleans) to Azure Functions, allowing you to define small, stateful objects that persist across calls. Defining an Entity Signaling an Entity Entities are addressed by ID. Signals are one-way (fire and forget) writes. Key […]

Read more β†’

SQL Server 2019: Intelligent Query Processing in Action

SQL Server 2019 introduces “Intelligent Query Processing” (IQP), a suite of features that fix performance issues automatically without code changes. We look at Adaptive Joins and Scalar UDF Inlining. Adaptive Joins Traditionally, the optimizer chooses Nested Loop vs Hash Join based on *estimated* row count. If estimates are wrong, performance tanks. Adaptive Joins defer this […]

Read more β†’

Kafka Streams: Real-Time Data Processing

Apache Kafka is more than a message broker; with Kafka Streams, it’s a stream processing engine. You can join, filter, and aggregate data in real-time without an external database. This guide explores the DSL (KStream vs KTable) and stateful operations. KStream vs KTable Understanding this duality is core to Kafka Streams. KStream: An endless record […]

Read more β†’

Azure Static Web Apps: The New JAMstack Platform

Azure Static Web Apps (ASWA) simplifies hosting JAMstack applications by coupling a static frontend (React, Vue, Blazor) with a serverless backend (Azure Functions) in a single resource. Announced at Build 2020, it provides a seamless GitHub Actions integration out of the box. Architecture Routing and Security Configure routing rules in `staticwebapp.config.json` (formerly `routes.json`). Key Takeaways […]

Read more β†’

SPFx and Microsoft Graph: Accessing User Data

SharePoint Framework (SPFx) 1.10+ makes consuming the Microsoft Graph API trivial. Accessing user emails, calendars, and OneDrive files is now a standard requirement for modern intranets. This guide demonstrates how to consume Graph securely using the MSGraphClient. Requesting Permissions In `package-solution.json`, declare the API scopes your web part needs. These must be approved by an […]

Read more β†’

Cosmos DB: Cost Optimization Strategies

Azure Cosmos DB is powerful but can be expensive if misconfigured. The “Request Unit” (RU) model abstracts hardware, but understanding it is key to cost control. This guide covers partition key selection, indexing policies, and the new Autoscale throughput. Understanding Request Units (RU) 1 RU = 1 Read of a 1KB document by ID. Queries […]

Read more β†’