Non-disruptive deployment strategy prompt

coffeeholic
2,063
15 0
"Deploying will break the service!" It's a dreaded phrase that every development team has heard at least once: you need to push a new version while users are still online, and if the service goes down for even a second, you're inundated with customer complaints.
I started out using the "deploy fast and run" strategy, aiming for the wee hours of the morning, but I learned the hard way how dangerous it can be. Then I found a way to systematically design a non-disruptive deployment strategy.

Prompt.

복사
# Act as a non-disruptive deployment design expert
## Analyze the current situation
- Service type: [Webapp/API/Microservice]
- Traffic volume: [Number of concurrent users]
- Infrastructure environment: [cloud/on-premises]
## Select a deployment strategy
A) Blue-Green Deployment.
* Maintain existing environment (Blue) and build new environment (Green)
* Plan for traffic transition and rollback
B) Rolling Deployment
* Replacing servers sequentially
* Deployment sequence and health checks per instance
C) Canary deployment
* Exposing a new version to only some users
* Gradual diffusion rate and monitoring metrics
## Suggestions for implementation
- Load balancer settings
- Monitoring scheme
- Automatic rollback conditions
Please suggest the best non-disruptive deployment strategy for [service name] with specifics on how to implement it.
After building a deployment pipeline designed in this way, I have a lot of peace of mind: users will start using new features without even realizing the deployment is happening, and if something goes wrong, they will automatically revert to the previous version.
Fearless deployment is every developer's dream, so why not start your own?

Write a comment

Shields against security threats prompt

"We've been hacked." That 3 a.m. phone call changed my life: six months of customer database development was exposed ...

Artists don’t grow alone, they grow together

Perhaps because of the "art is for geniuses" stereotype, there is a lack of organized mentorship in the arts compared...

Prompt

ChatGPT

Asset valuation criteria prompt to find true value

ChatGPT

Donation prompts to change the world with art

ChatGPT

Magician prompts for complex connections

ChatGPT

Innovation prompts that shake up boredom

ChatGPT

Why do good teachers leave the profession prompt

ChatGPT

Shields against security threats prompt

ChatGPT

Solidarity of Creators prompt