సభ్యుడు shutdown అంటే సర్వర్కు termination signal రానప్పుడు దానిని cleanly నిలిపివేయడం — in-flight requests ను ముగించడం, connections (DB, మొదలైనవి) ను మూయడం మరియు resources ను విడుదల చేయడం — అది suddenly kill చేయకుండా మరియు active work ను drop చేయకుండా. ఇది zero-downtime deploys మరియు reliability కోసం essential.
ఎందుకు abrupt shutdown problem
Without graceful shutdown, when the process is killed (deploy, scale-down, crash):
✗ In-flight requests are dropped → users get errors
✗ DB transactions left incomplete
✗ Connections not closed cleanly → leaks/locks
Deploys మరియు autoscaling సమయంలో, processes ఎప్పుడూ stopped అవుతాయి — దానిని cleanly చేయడం వలనే deployments seamless గా ఉంటాయి.
