// Articles

Guides and deep dives

Guides, tutorials, and comparisons to help you build better backend applications.

Filter by category: All (860)
How to Connect Node.js to Amazon RDS for PostgreSQL

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.

8 Min Read
Verify Webhook Signatures with HMAC

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.

8 Min Read
Synchronous vs Asynchronous Communication Between Services

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.

6 Min Read
SQLx vs Diesel for Postgres in Rust

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.

7 Min Read
How to Use sqlc with Postgres in Go

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.

7 Min Read
Fix S3 Access Denied (403) Errors

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.

7 Min Read
Node.js vs Go for Backend APIs

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.

7 Min Read
Patient Referral Management Backend: Orders, Documents and Status Updates

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.

11 Min Read
GORM vs sqlc: Which Go Database Library to Use

How GORM and sqlc model tables, write queries, handle migrations and transactions, and where each one fits in a Go backend on Postgres.

8 Min Read
Upload and Download Files with Google Cloud Storage in Python

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.

5 Min Read
How to Use Google Cloud Pub/Sub from 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.

6 Min Read
Go vs Rust for Backend Services

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.

7 Min Read