---
title: "Posts tagged \"backend\" | Blog | Suriyaprakash Somu"
canonical: "https://www.suriyaprakash.in/blog/tag/backend"
robots: "index, follow"
---

# Articles tagged backend

Page 1 of 2

[Next](https://www.suriyaprakash.in/blog/tag/backend.md?page=2)

Follow a request through proxies, middleware, authentication and application logic. These articles connect backend mechanisms to the debugging and security decisions behind a working web application.

- [Webhooks in Depth: Signatures, Replay Protection, and Idempotent Delivery](https://www.suriyaprakash.in/blog/engineering/webhooks-signatures-replay-idempotent-delivery)
  Receive webhooks safely: verify HMAC signatures on the raw body, reject replays with a timestamp tolerance, and process each event once.
- [Idempotency in Depth: Retries, Idempotency Keys, and Safe Replays for APIs](https://www.suriyaprakash.in/blog/engineering/idempotency-keys-retries-safe-replays)
  How to make retried POST requests safe with idempotency keys, payload fingerprints, in-flight locks, and a clear rule for what to store after a failure, with tested results.
- [Deployment and DevOps in Depth: CI/CD, Docker, VPS, and Cloudflare Workers](https://www.suriyaprakash.in/blog/engineering/deployment-devops-cicd-docker-vps-workers)
  How to ship a backend safely: build once and release, CI/CD with least privilege, Docker, a VPS with systemd and a proxy, Cloudflare Workers, and rollbacks.
- [Caching Strategies for Production: CDN, HTTP Cache, Redis, and In-Memory](https://www.suriyaprakash.in/blog/engineering/caching-strategies-cdn-http-redis-memory)
  Where to cache a backend response, how long, and how to keep it correct: HTTP and CDN caches, Redis, in-memory caches, stampedes, and invalidation.
- [Database Access Patterns in Depth: Connections, Pools, Transactions, and ORMs](https://www.suriyaprakash.in/blog/engineering/database-access-patterns-pools-transactions-orm)
  How connections, pools and transactions really behave in a Node.js and PostgreSQL backend, with tested examples of races, deadlocks, N+1 and pagination.
- [Error Handling, Logging, and Observability in Node.js Backends: Knowing What Your System Is Doing](https://www.suriyaprakash.in/blog/engineering/error-handling-logging-observability-nodejs)
  How to handle Node.js errors without crashing or hiding them, write structured logs safely, and add metrics and traces to see what production is doing.
- [API Security in Depth: Rate Limiting, CORS, CSRF, Input Validation, and Security Headers](https://www.suriyaprakash.in/blog/engineering/api-security-rate-limiting-cors-csrf-validation)
  A practical guide to API security: rate limiting and 429, what CORS does and does not protect, CSRF defenses, input validation, and security headers.
- [RBAC and ABAC in Practice: Building Permission Systems with CASL](https://www.suriyaprakash.in/blog/engineering/rbac-abac-casl-permissions)
  Build a permission system with CASL: roles to rules, ownership and tenant conditions, field-level access, deny-rule ordering, database filters, and testing.
- [Password Hashing, MFA, and Account Security in Depth: Storing Credentials and Defending Accounts](https://www.suriyaprakash.in/blog/engineering/password-hashing-mfa-account-security)
  How to store passwords with Argon2id or bcrypt, block breached passwords, throttle logins, design reset codes, and add TOTP or passkey MFA.
- [OAuth 2.0 and OpenID Connect in Depth: Authorization Flows and Social Login in Practice](https://www.suriyaprakash.in/blog/engineering/oauth-oidc-in-depth)
  A practical guide to OAuth 2.0 and OpenID Connect covering authorization code flow, PKCE, ID tokens, scopes, social login, redirect URI security, and production mistakes.
