PostgreSQL Query Rewriting Techniques The previous articles in this series covered performance problems you fix by adding indexes, restructuring joins, or tuning memory. This one is about the queries where the plan is "fine" — every node is doing something reasonable — but the query itself is asking the wrong question, producing unnecessarily large intermediate results or forcing the planner dow
We Ditched Terraform 1.10 for CloudFormation: Reducing IaC Complexity for Our Small AWS Team We’re a 4-person engineering team managing 32 AWS resources across dev, staging, and production environments for a B2B SaaS product. For 18 months, we relied on Terraform 1.10 to manage our infrastructure as code (IaC). But by Q3 2024, the overhead of maintaining Terraform outweighed its benefits for our
SQL is widely known for data querying and manipulation but systems do grow; data becomes larger; processes become repetitive and operations become sensitive. SQL has some features which enables it to be considered a fully fledged programming language. Some of the features which I discuss in this article are procedures, functions and transactions. Each of these concepts serve distinct purposes. Sto
Hi 👋, In this post we shall explore Bedrock's structured KB with this architecture: Upload CSVs to S3 > SNS Queue > Crawl data with Glue > Query with Redshift > Bedrock KB > Query with LLM. Let's do some of this with code. Let's get started. Clone the repo and switch to the project directory. git clone [email protected]:networkandcode/networkandcode.github.io.git cd structured-kb-demo/ Do a uv sync
Subqueries vs. CTEs in SQL: A Practical Guide to Writing Cleaner, Smarter Queries Whether you're just getting comfortable with SQL or leveling up your data skills, two tools will come up again and again when working with complex queries: subqueries and Common Table Expressions (CTEs). They solve similar problems — breaking a complex query into manageable pieces — but they do it in different ways
War Story: I Ditched My CS Degree for a Bootcamp and Became a Go 1.25 Engineer I never thought I’d be writing this. Two years ago, I was three semesters into a traditional Computer Science degree, drowning in abstract calculus and outdated Java curriculum, wondering if I’d ever write code that actually mattered. Today, I’m a backend engineer working full-time with Go 1.25, building low-latency m
Opinion: We Ditched All Third-Party Mobile SDKs – Cut App Startup Time by 30% for iOS 18 When iOS 18 launched, our team braced for the usual post-release performance tweaks. Instead, we hit a wall: our flagship app’s cold startup time had crept up to 2.8 seconds, well above Apple’s recommended 1.5-second threshold for optimal user retention. After months of debugging, we made a radical call: rem
In Q1 2026, our team audited 14 2FA libraries for Next.js 15 and found that migrating from Google Authenticator’s legacy TOTP implementation to Speakeasy 2 reduced average 2FA setup time per user from 42 seconds to 21 seconds — a 50% reduction verified across 12,000 production user onboarding flows. ⭐ vercel/next.js — 139,252 stars, 30,994 forks 📦 next — 155,273,313 downloads last month Data