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
Show HN: Let – Offline-first life events tracker (React Native, SQLite)
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
Most cloud sustainability tools are built for sustainability officers. They pull three-month-old billing data, run it through a proprietary model, and produce a PDF that engineers never see. By the time you know your us-east-1 cluster emits twice as much as us-west-2 would have, it's been running for a quarter. The architecture is locked in. The carbon is already burnt. The only moment you can act
El problema real Cuando trabajas en DevOps, inevitablemente enfrentas el caos de gestionar infraestructura manualmente. Cambios undocumentados, configuraciones inconsistentes entre ambientes y actualizaciones que rompen lo que funcionaba. Terraform resuelve esto con un workflow estructurado que convierte tu infraestructura en código versionable y reproducible. El workflow de Terraform es el cicl
El Problema Real Cuando comenzamos a usar Terraform, muchos nos hacemos la misma pregunta: ¿cómo sabe Terraform qué recursos ya existen en la nube? La respuesta está en el state file, un archivo que frecuentemente causa dolores de cabeza innecesarios cuando no se entiende bien. El state file es un archivo JSON que Terraform mantiene como fuente única de verdad sobre tu infraestructura. Contiene
Purpose of Variables in Terraform Variables prevent repetitive hardcoding of values in Terraform configuration files. They reduce errors due to inconsistent value entries across multiple resources. Simplify updating environment-specific configurations (e.g., changing from dev to stage). Types of Variables Based on Purpose Input Variables: Accept values from users or other sources. Output Variables
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