How do you manage zero-downtime deployments and what issues have you encountered

0 votes
How do you manage zero-downtime deployments, and what issues have you encountered?

This question asks, how can updates be done without interruption of services? This involves the special issue encountered in the process: what happens when things do go wrong - rollback strategies and the like, or some version of blue-green, or canary deployment.
Nov 3 in DevOps Tools by Anila
• 3,390 points
39 views

1 answer to this question.

0 votes

Zero-Downtime Deployment Techniques: Zero-downtime deployments ensure that users experience uninterrupted service. I rely on techniques like blue-green deployments, canary releases, and rolling updates. In blue-green deployments, a new version is deployed to a parallel environment before switching traffic. Canary releases gradually route a small percentage of traffic to the new version and monitor it for issues. Rolling updates update a few instances at a time, maintaining service continuity.
Challenges: Ensuring compatibility between old and new versions, handling database migrations, and managing session persistence have been common challenges. To address these, I ensure backward compatibility in new deployments and use feature flags to toggle features without code redeployment. For database migrations, I implement schema versioning to allow both versions of the app to interact with the database. Tools like Kubernetes, Istio, and NGINX facilitate traffic management during deployments.

answered Nov 3 by Gagana
• 2,450 points

Related Questions In DevOps Tools

0 votes
1 answer

How do you ensure high availability in your applications, and what coding techniques or tools have you implemented

Ensuring high availability in applications has multifaceted ...READ MORE

answered Oct 14 in DevOps Tools by Gagana
• 2,450 points
227 views
0 votes
1 answer

How do you approach chaos engineering, and what tools have you found useful for testing system resilience?

Approach to Chaos Engineering: Chaos engineering is very important in terms of testing a ...READ MORE

answered Nov 3 in DevOps Tools by Gagana
• 2,450 points
46 views
0 votes
1 answer

What tools do you use to manage application logs, and how do you handle log management at scale?

Centralization of Application Logs: Centralize application logs by aggregating them across environments on platforms like ELK Stack (Elasticsearch, Logstash, Kibana), Splunk, ...READ MORE

answered Nov 12 in DevOps Tools by Gagana
• 2,450 points
53 views
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
3,925 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,034 views
0 votes
1 answer

How do you manage environment variables in your DevOps processes, and what coding techniques have you found effective?

In DevOps processes, maintain environment variables that ...READ MORE

answered Oct 16 in DevOps Tools by Gagana
• 2,450 points

edited Oct 18 by Hoor 90 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP