// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
Add Postgres to a Node.js, Express or NestJS app on AWS: the pg pool, TLS against the RDS certificate bundle, credentials from Secrets Manager, pool sizing, and the same database declared in TypeScript with Encore.
How webhook signatures work, the four checks a receiver must make (raw body, HMAC, constant-time compare, timestamp), key rotation, and a tested Go verifier for the Standard Webhooks format.
When a service should call another and wait, when it should publish a message and move on, what each choice does to latency, availability and consistency, and how to combine both in one request.
How SQLx and Diesel compare for a Rust backend on Postgres: compile-time checked SQL vs a typed query DSL, async support, migrations, dynamic queries and transactions.
Set up sqlc for a Go service on Postgres: config, schema from migrations, query annotations, optional filters, transactions, and wiring the generated code to a managed database.
A checklist for S3 AccessDenied errors in the order AWS evaluates them: the identity making the call, its IAM policy, the bucket policy, KMS keys, organization policies, and the missing-object case that also returns 403.
How Node.js and Go compare for backend APIs and workers: the event loop vs goroutines, CPU-bound work, types, tooling, deployment and the same endpoint written in both.
How to build the backend behind patient referrals between clinics: a status machine kept in the database, an append-only history, documents in private storage with short-lived links, events that carry IDs instead of patient details, and nudges for referrals that stall.
How GORM and sqlc model tables, write queries, handle migrations and transactions, and where each one fits in a Go backend on Postgres.
Use the google-cloud-storage library to upload, download and stream objects, avoid overwrites with preconditions, and generate V4 signed URLs on Cloud Run without a key file, plus buckets declared in Python.
Publish and receive Pub/Sub messages with the google-cloud-pubsub library: batching, attributes, streaming pull with flow control, acks and nacks, retries, dead-letter topics and the emulator, plus typed topics declared in Python.
How Go and Rust compare for APIs and workers: concurrency, latency and memory, compile times, ecosystem and hiring, with the same endpoint written in both.