Skip to content

Architecture Patterns · Cloud Computing

AWS, serverless, and cloud infrastructure

AWS Kinesis Explained: Data Streams vs Firehose vs Managed Flink

Kinesis is four AWS services under one name. A guide to the four, the Data Streams shard engine underneath, its cost shape, and when to pick something else.

aws · real-time · event-driven +1

Triggering AppSync Subscriptions From Outside AppSync

AppSync subscriptions fire only on mutations. This explores bridging downstream BFF events into a NONE-data-source mutation with EventBridge and CDK.

aws · graphql · serverless +4

Lambda Durable Functions vs Step Functions: When the Orchestrator Belongs in Your Code

Lambda durable functions put the orchestrator in your TypeScript. Reach for them when you own the whole workflow; keep Step Functions for cross-team state machines.

lambda · step-functions · serverless +1

Code Architecture by Init Amortization: Lean on Lambda, Heavy Only When Earned

Match architecture weight to each runtime's init-amortization: lean handlers on single-purpose Lambda, more on a Lambdalith, full OOP/DI only on long-lived runtimes.

architecture · lambda · serverless +3

AWS Lambda: Single-Purpose Functions vs Lambdalith

How to slice AWS Lambda functions: default to single-purpose, treat the single-domain Lambdalith as an earned exception, and the platform forces that decide it.

lambda · serverless · architecture +2

GitHub Environments: Manual Approval Gates for Deployments

Production deploys need a real approval gate: use GitHub Environments with native protection rules and scoped secrets, not workflow if: hacks or marketplace actions.

github-actions · ci-cd · devops +2

Build a RAG Agent with AWS Bedrock and CDK

Building a RAG agent on AWS Bedrock + Knowledge Bases + OpenSearch Serverless with CDK in TypeScript: architecture, IAM wiring, automated ingestion, and the chat UI.

aws-bedrock · aws-cdk · rag +3

Amazon Bedrock Knowledge Bases Explained: Data Sources and Vector Stores

What a Bedrock Knowledge Base really is, which data sources and vector stores are first-class, and why the console default rarely fits a small corpus.

aws · aws-bedrock · rag +3

Kafka vs SNS/SQS/EventBridge: When to Migrate and How

Named signals that justify a Kafka migration from a managed event bus, and a four-phase outbox-anchored playbook to move without rip-and-replace.

messaging · event-driven · aws +4

AWS Lambda Cold Start Optimization in TypeScript: 5 Anti-Patterns

DI containers, monolithic SDKs, god-handlers, top-level secret fetches, and heavy ORMs: what they cost on cold start, and the functional shape that replaces them.

lambda · typescript · serverless +2

Deploying a WASM Image-Resize Module to Cloudflare Workers

An exploration of whether a Rust + WASM image-resize handler fits inside Cloudflare Workers' binary-size, memory, and CPU ceilings before the POC runs.

webassembly · cloudflare · rust +1

EventBridge Cross-Account Fan-Out: One Producer, Isolated Consumers

A platform default for multi-team AWS orgs: one event, many consumers, each in its own account with its own SQS and DLQ, and fan-out in the event bus layer.

aws · eventbridge · event-driven +4

wasmCloud and NATS: Making the Event Bus Portable

An exploration thesis: vendor lock-in in event-driven systems lives in the bus topology, not the runtime, and wasmCloud plus NATS make the bus portable.

webassembly · messaging · event-driven +3

MCP Server RBAC, Tool Composition, and Multi-Agent Workflow Patterns

Enterprise patterns for Model Context Protocol: tool composition, multi-agent orchestration, role-based access control, and production observability.

mcp · ai-adoption-strategy · authorization +4

RAG vs Fine-Tuning vs Off-the-Shelf AI: An Enterprise Decision Framework

A practical 6-level framework for enterprise AI integration: when to use ChatGPT, RAG, MCP agents, or fine-tuning, with a focus on PII and finance compliance.

ai-adoption-strategy · rag · mcp +2

Caching Strategies: From Local Memory to Distributed Systems

A practical guide to multi-tier caching: in-memory, Redis, and CDN layers, cache-aside vs write-through, ElastiCache vs MemoryDB, and stampede prevention.

caching · redis · aws +4

AWS AppSync & GraphQL: Building Production-Ready Real-time APIs

Building scalable real-time APIs with AWS AppSync: JavaScript resolvers, subscription filtering, caching strategies, and infrastructure as code patterns.

aws · graphql · serverless +4

SNS/SQS Cross-Account Fan-Out: Building Multi-Account Event Distribution in AWS

Implement secure cross-account event distribution with Amazon SNS and SQS: IAM policies, KMS encryption, AWS CDK, and common production pitfalls.

aws · sns · sqs +6

Choosing IoT Messaging Protocols for Logistics: MQTT, AMQP, ZeroMQ, CoAP, and DDS Compared

A technical comparison of MQTT, AMQP, ZeroMQ, CoAP, and DDS for IoT logistics: fleet tracking, cold chain monitoring, and real-time device communication.

messaging · industry-trends · real-time +2

OpenTelemetry Fundamentals: A Beginner's Guide to Modern Observability

A beginner's guide to OpenTelemetry covering traces, metrics, and logs with practical implementation examples, common pitfalls, and a terminology glossary.

opentelemetry · observability · monitoring +4

Building CRM Systems with Event-Driven Architecture

A practical guide to implementing customer relationship management using event sourcing, CQRS, and event-driven patterns for marketing automation and consent management

event-driven · architecture · microservices +3

Traefik vs Nginx: A Practical Introduction for Nginx Users

A practical introduction to Traefik for developers familiar with nginx. Learn core concepts, setup examples, and when to choose Traefik over traditional reverse proxies.

docker · networking · devops

Building Ephemeral Preview Environments with AWS CDK and Serverless

Learn to build automated preview environments using AWS CDK, Lambda, and GitHub Actions for seamless PR testing and review workflows

aws-cdk · serverless · ci-cd +5

API Versioning with AWS API Gateway and CDK: A Practical Guide

Path-based API versioning on AWS API Gateway with CDK: a lifecycle registry per version, per-version Lambda handlers, discovery, and deprecation signals.

api-gateway · aws · aws-cdk +3

S3 Presigned URLs for Large File Uploads with Lambda and CDK

Handle large file uploads with S3 presigned URLs instead of Lambda proxies: a full CDK stack, both handlers, the browser side, and the security trade-offs.

lambda · aws-cdk · aws +2

Dead Letter Queue Strategies: Production-Ready Patterns for Resilient Event-Driven Systems

Production-ready DLQ patterns for event-driven systems: monitoring, circuit breakers, exponential backoff, recovery, and the anti-patterns worth avoiding.

cloud-providers · reliability · messaging +2

Replacing Factories and DI in Node.js with Pure Functions

Factories, service layers, and DI containers rarely earn their keep in a Lambda-shaped Node.js service. What replaces them, and where classes still win.

event-driven · functional-programming · lambda +3

Monolith to Microservices in Node.js: A Migration Guide

A practical guide to evolving Node.js monoliths into event-driven serverless functions, with migration strategies and proven architectural patterns.

event-driven · architecture · nodejs +1

Multi-Account AWS Architecture: Event-Driven Systems at Scale

Multi-account AWS architecture patterns for resilient event-driven systems: account structure, EventBridge routing, and cross-service communication.

aws · eventbridge · multi-account +5