Enable PM2 Cluster Mode for Zero‑Downtime Scaling of a Node.js Application
Learn how to run multiple instances of a Node.js app with PM2 in cluster mode, verify the setup, and perform seamless reloads without dropping connections.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to run multiple instances of a Node.js app with PM2 in cluster mode, verify the setup, and perform seamless reloads without dropping connections.
Stop dropping requests during deployments. Learn how to use PM2 cluster mode and rolling reloads to achieve zero-downtime updates for Node.js apps.
Supabase migration CLI and transaction scope The Supabase CLI’s supabase migration apply runs all SQL statements in a single transaction by default. When a migration includes large DDL changes—such as adding an index to a table with millions of rows—this transaction can acquire an exclusive lock on the target table. The lock may prevent concurrent SELECTs, l
When orchestrating a zero-downtime migration for a Java/Hibernate application, the deployment phase must ensure that database schema updates and application binaries are synchronized without interrupting active traffic. Since Travis CI serves as the build and test orchestrator rather than the hosting environment, the hand-off to the production infrastructure