Node process restarts smoothly

how to smoothly restart the game server

hasn"t tried

yet.

it is not necessary to manually stop service and then start the server every time you update the server


Aug.11,2021

you can try to start node, using pm2 and restart smoothly.

data generally exist in local files, cache systems, and databases. Temporary memory is not recommended


use load balancer (for example, open a new node service when nginx), is updated, and then point the new connections to the new service
and other old services

after all the connections to the old service are finished.

Menu