<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><title>Somen Ghosh · Engineering Notes</title><link>https://somen.fyi/blogs/</link><description>Practical notes on backend systems, distributed architecture, performance, reliability, and production engineering.</description><language>en-IN</language><lastBuildDate>Sun, 29 Nov 2026 09:00:00 +0530</lastBuildDate><item><title>PostgreSQL keyset pagination: stop making deep pages expensive</title><link>https://somen.fyi/blogs/postgres-keyset-pagination/</link><guid isPermaLink="true">https://somen.fyi/blogs/postgres-keyset-pagination/</guid><pubDate>Sun, 29 Nov 2026 03:30:00 GMT</pubDate><description>Design deterministic cursor pagination with composite indexes, lossless boundaries and query-plan evidence.</description></item>
<item><title>Bounded concurrency in Node.js: reject overload before it becomes an outage</title><link>https://somen.fyi/blogs/nodejs-bounded-concurrency/</link><guid isPermaLink="true">https://somen.fyi/blogs/nodejs-bounded-concurrency/</guid><pubDate>Thu, 26 Nov 2026 03:30:00 GMT</pubDate><description>Protect downstream services with bounded admission, explicit overload responses and measurable concurrency budgets.</description></item>
<item><title>Graceful shutdown in Node.js: drain before Kubernetes kills the pod</title><link>https://somen.fyi/blogs/nodejs-kubernetes-graceful-shutdown/</link><guid isPermaLink="true">https://somen.fyi/blogs/nodejs-kubernetes-graceful-shutdown/</guid><pubDate>Wed, 25 Nov 2026 03:30:00 GMT</pubDate><description>Design bounded shutdown deadlines, HTTP draining and safe Kafka offset handling for Kubernetes deployments.</description></item><item><title>Transactional outbox in Node.js: commit the event with the data</title><link>https://somen.fyi/blogs/postgres-transactional-outbox-nodejs/</link><guid isPermaLink="true">https://somen.fyi/blogs/postgres-transactional-outbox-nodejs/</guid><pubDate>Mon, 23 Nov 2026 03:30:00 GMT</pubDate><description>Use PostgreSQL transactions, SKIP LOCKED workers and idempotent consumers to close the database-to-Kafka dual-write gap.</description></item><item><title>Kafka ordering in Node.js: protect the key, not the whole topic</title><link>https://somen.fyi/blogs/kafka-partition-ordering-nodejs/</link><guid isPermaLink="true">https://somen.fyi/blogs/kafka-partition-ordering-nodejs/</guid><pubDate>Sun, 22 Nov 2026 03:30:00 GMT</pubDate><description>Design partition keys, consumer concurrency, retries and replay so Kafka events remain correct under production load.</description></item><item><title>OpenTelemetry across HTTP and Kafka: trace the message, not just the request</title><link>https://somen.fyi/blogs/opentelemetry-http-kafka-tracing/</link><guid isPermaLink="true">https://somen.fyi/blogs/opentelemetry-http-kafka-tracing/</guid><pubDate>Sat, 21 Nov 2026 03:30:00 GMT</pubDate><description>Connect Node.js HTTP spans to Kafka producers and consumers with context propagation, span links, sampling and production-safe telemetry.</description></item><item><title>Kubernetes memory limits: diagnose OOM kills before raising the ceiling</title><link>https://somen.fyi/blogs/kubernetes-nodejs-memory-oom/</link><guid isPermaLink="true">https://somen.fyi/blogs/kubernetes-nodejs-memory-oom/</guid><pubDate>Fri, 20 Nov 2026 03:30:00 GMT</pubDate><description>Separate V8 heap pressure, native memory and container limits with Node.js metrics, Kubernetes evidence and controlled load tests.</description></item><item><title>PostgreSQL lock contention: find the blocker before killing the query</title><link>https://somen.fyi/blogs/postgres-lock-contention/</link><guid isPermaLink="true">https://somen.fyi/blogs/postgres-lock-contention/</guid><pubDate>Thu, 19 Nov 2026 03:30:00 GMT</pubDate><description>Trace blocking transactions, bound lock waits and prevent migration queues from turning into production outages.</description></item><item><title>Deadline propagation in Node.js: stop work that can no longer succeed</title><link>https://somen.fyi/blogs/nodejs-deadline-propagation/</link><guid isPermaLink="true">https://somen.fyi/blogs/nodejs-deadline-propagation/</guid><pubDate>Wed, 18 Nov 2026 03:30:00 GMT</pubDate><description>Bound request lifetimes across microservices with shared deadlines, AbortSignal, retry budgets and overload-aware observability.</description></item><item><title>PostgreSQL connection pools: budget connections before scaling Node.js</title><link>https://somen.fyi/blogs/nodejs-postgres-connection-pool/</link><guid isPermaLink="true">https://somen.fyi/blogs/nodejs-postgres-connection-pool/</guid><pubDate>Tue, 17 Nov 2026 03:30:00 GMT</pubDate><description>Size PostgreSQL connection pools across Kubernetes replicas, reserve database capacity, measure queueing and prevent connection storms.</description></item><item><title>Idempotency keys in Node.js: make retries safe across replicas</title><link>https://somen.fyi/blogs/idempotency-keys-nodejs-postgres/</link><guid isPermaLink="true">https://somen.fyi/blogs/idempotency-keys-nodejs-postgres/</guid><pubDate>Mon, 16 Nov 2026 03:30:00 GMT</pubDate><description>Build retry-safe Node.js APIs with PostgreSQL uniqueness, payload fingerprints, atomic transactions, transactional outboxes, and failure testing.</description></item><item><title>Redis cache stampedes: keep a hot key from taking down your database</title><link>https://somen.fyi/blogs/redis-cache-stampede/</link><guid isPermaLink="true">https://somen.fyi/blogs/redis-cache-stampede/</guid><pubDate>Sun, 15 Nov 2026 03:30:00 GMT</pubDate><description>A practical Node.js and Redis playbook for cache stampedes: TTL jitter, single-flight, stale-while-revalidate, distributed leases, and failure testing.</description></item><item><title>Kubernetes probes for Node.js: stop restarting healthy services</title><link>https://somen.fyi/blogs/kubernetes-probes-nodejs-production/</link><guid isPermaLink="true">https://somen.fyi/blogs/kubernetes-probes-nodejs-production/</guid><pubDate>Sat, 14 Nov 2026 03:30:00 GMT</pubDate><description>A production guide to startup, readiness and liveness probes for Node.js services, with safe shutdown, failure testing and Kubernetes diagnostics.</description></item><item><title>PostgreSQL zero-downtime migrations: expand, backfill, contract</title><link>https://somen.fyi/blogs/postgres-zero-downtime-migrations/</link><guid isPermaLink="true">https://somen.fyi/blogs/postgres-zero-downtime-migrations/</guid><pubDate>Fri, 13 Nov 2026 03:30:00 GMT</pubDate><description>A practical production guide to PostgreSQL schema migrations, bounded locks, resumable backfills and safe rollback.</description></item><item><title>Node.js event-loop lag: measure the stall before adding replicas</title><link>https://somen.fyi/blogs/nodejs-event-loop-lag/</link><guid isPermaLink="true">https://somen.fyi/blogs/nodejs-event-loop-lag/</guid><pubDate>Thu, 15 Oct 2026 03:30:00 GMT</pubDate><description>Measure event-loop lag before adding replicas.</description></item><item><title>PostgreSQL 18 async I/O: benchmark before you tune it</title><link>https://somen.fyi/blogs/postgres-18-async-io/</link><guid isPermaLink="true">https://somen.fyi/blogs/postgres-18-async-io/</guid><pubDate>Fri, 09 Oct 2026 03:30:00 GMT</pubDate><description>A practical way to evaluate PostgreSQL 18 async I/O with real storage pressure, query evidence, I/O views, concurrency limits, and a rollback plan.</description></item><item><title>Kubernetes 1.35: resize Pod CPU and memory without a restart</title><link>https://somen.fyi/blogs/kubernetes-in-place-pod-resize/</link><guid isPermaLink="true">https://somen.fyi/blogs/kubernetes-in-place-pod-resize/</guid><pubDate>Sun, 04 Oct 2026 03:30:00 GMT</pubDate><description>How to use in-place Pod resource resize safely: diagnose pressure, change deliberately, watch cluster headroom, and keep rollback boring.</description></item><item><title>Kafka consumer lag: diagnose the bottleneck before adding consumers</title><link>https://somen.fyi/blogs/kafka-consumer-lag/</link><guid isPermaLink="true">https://somen.fyi/blogs/kafka-consumer-lag/</guid><pubDate>Sat, 03 Oct 2026 03:30:00 GMT</pubDate><description>A production-minded workflow for separating arrival rate, processing cost, partition skew, rebalances, and downstream pressure before scaling.</description></item><item><title>Node.js 26 is almost LTS: what I’d test before upgrading</title><link>https://somen.fyi/blogs/nodejs-26-backend-upgrade/</link><guid isPermaLink="true">https://somen.fyi/blogs/nodejs-26-backend-upgrade/</guid><pubDate>Fri, 02 Oct 2026 03:30:00 GMT</pubDate><description>A production-minded upgrade plan covering runtime changes, native dependencies, load tests, canaries, observability, and rollback.</description></item><item><title>Kafka retries: make the side effect safe</title><link>https://somen.fyi/blogs/kafka-retries/</link><guid isPermaLink="true">https://somen.fyi/blogs/kafka-retries/</guid><pubDate>Thu, 01 Oct 2026 03:30:00 GMT</pubDate><description>Why a successfully processed event can still arrive again, and how to design idempotent Kafka consumers around safe side effects.</description></item><item><title>Redis caching starts with a freshness decision</title><link>https://somen.fyi/blogs/redis-cache-aside/</link><guid isPermaLink="true">https://somen.fyi/blogs/redis-cache-aside/</guid><pubDate>Thu, 01 Oct 2026 03:30:00 GMT</pubDate><description>Design Redis cache keys, expiry, invalidation, and cache-aside behavior around what a reader can safely see.</description></item><item><title>Read the query plan before adding an index</title><link>https://somen.fyi/blogs/postgres-query-plans/</link><guid isPermaLink="true">https://somen.fyi/blogs/postgres-query-plans/</guid><pubDate>Thu, 01 Oct 2026 03:30:00 GMT</pubDate><description>A practical way to investigate a slow PostgreSQL endpoint with EXPLAIN plans, cardinality, filters, joins, and evidence instead of guessing.</description></item><item><title>A dashboard is more than its happy path</title><link>https://somen.fyi/blogs/vue-dashboard-states/</link><guid isPermaLink="true">https://somen.fyi/blogs/vue-dashboard-states/</guid><pubDate>Thu, 01 Oct 2026 03:30:00 GMT</pubDate><description>Design Vue interfaces around loading, empty results, failed requests, stale data, and changing user context.</description></item></channel></rss>