0
0
Expressframework~5 mins

Zero-downtime deployment concept in Express - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is zero-downtime deployment?
Zero-downtime deployment is a method of updating an application without stopping the service or causing any interruption to users.
Click to reveal answer
beginner
Why is zero-downtime deployment important for web applications?
It ensures users can keep using the app without interruptions, improving user experience and avoiding lost traffic or revenue.
Click to reveal answer
intermediate
Name one common technique used in zero-downtime deployment with Express apps.
Using a process manager like PM2 to reload the app gracefully without dropping connections.
Click to reveal answer
intermediate
How does a load balancer help achieve zero-downtime deployment?
It directs traffic to healthy instances and can route users away from servers being updated, allowing updates without service interruption.
Click to reveal answer
intermediate
What is a graceful shutdown in the context of zero-downtime deployment?
It means the server stops accepting new requests but finishes handling ongoing requests before shutting down, preventing dropped connections.
Click to reveal answer
What does zero-downtime deployment prevent?
AFaster server startup
BMore memory usage
CService interruptions during updates
DLonger downtime
Which tool can help reload an Express app without dropping connections?
APM2
BGit
CWebpack
DNodemon
What role does a load balancer play in zero-downtime deployment?
ACaches static files
BRoutes traffic to healthy servers
CManages database connections
DCompiles code
What is a graceful shutdown?
AIgnoring ongoing requests
BImmediately killing the server process
CRestarting the server every minute
DStopping new requests but finishing current ones before shutdown
Which of these is NOT a benefit of zero-downtime deployment?
ALonger maintenance windows
BNo service interruptions
CImproved user experience
DContinuous availability
Explain how zero-downtime deployment works in an Express app environment.
Think about how the app keeps running while updating.
You got /4 concepts.
    Describe why zero-downtime deployment is important for user experience and business.
    Consider what happens if the app goes offline during updates.
    You got /4 concepts.