Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does Etsy deploy more than 50 times a day?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

How to deploy Etsy more than 50 times a day? in view of this problem, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.

Daniel Schauenberg described how Etsy can be deployed 50 times a day at the QCon conference in London. Etsy is known for its DevOps and continuous delivery practices. A fully automated deployment pipeline, comprehensive application monitoring and IRC (Internet Relay chat)-based collaboration are important factors that can achieve this frequency of change while minimizing risk.

Etsy's development strategy is to make many small, continuous changes over and over again. A direct consequence of this is that you need to deploy many times a day. In Daniel Schauenberg's words, every Etsy developer needs to know the answer to the following question at any time: "am I confident enough to deploy this change now?" . To make it easy to deploy every time, Etsy has adopted a series of tools and practices: mandatory IRC-based communication, developer virtual machines, continuous integration, one-click deployment, comprehensive application and system monitoring, blame-free ex post inspection (post-mortem) for development and operations teams, and on-call policies.

Each developer has his or her own KVM (kernel-based virtual machine) configured through Chef. Cookbooks used in online operations is also used in developers' virtual machines, which means that each developer has his or her own complete Etsy stack. Anyone can provide a virtual machine through Virtual Madness, a Web application that automates the entire process.

In terms of continuous integration, Daniel explains how Try is at the core of all processes. Try is a tool that allows a developer to test his code changes in Jenkins (the continuous integration tool used in Etsy) without first committing to trunk. Try helps keep trunk clean and deployable, while allowing developers to test their changes quickly and reliably. The CI (continuous Integration) cluster must be strong enough to support 150 engineers and run more than 14000 test sets per day. LXC (Linux containers) balance the workload of your work, and they also provide an isolation mechanism to ensure that there is no conflict between the execution of different tests.

Deployment pipes pass through Princess, or workbench, which is a pre-launch environment. All the intent and purpose of Princess is the online environment, but only Etsy employees can access it. Deployinator is a deployment tool built and used by Etsy that provides one-click deployment.

Configuration flags, also known as feature flags, are a major part of the deployment process. Through its function API,Etsy, it is possible to do the Aamp B test, that is, to completely enable or disable a feature or a variant of a given function.

Monitoring is the key for the Etsy team to build confidence for continuous delivery. Developers do their own functional monitoring, and everyone can see all the monitoring charts through the dashboard. Etsy has such a strategy that by default all information that can be plotted is charted. The number of metrics has been steadily increasing over time, so Etsy set up Kale to help detect abnormal patterns. All logs can be displayed through Supergrep. Supergrep is a log display tool based on Web, which increases the signal-to-noise ratio of logs.

IRC is the main communication tool throughout Etsy and the key to Etsy's collaborative culture. There are many different chat rooms, each with a specific purpose. For example, only interviews related to the accident are allowed to be interrupted in chat room # warroom. Chat rooms are used to coordinate investigations, discuss responses and solution monitoring. Like other chat rooms, # warroom is a place to encourage new engineers to dive, because these chat rooms are considered good places to learn.

Every time an interruption occurs or is close to an interruption, everyone is invited to check after doing something. Ex post facto inspection is an important cultural event, and financial and support staff can also participate if they need it. Ex post facto checks are designed to be an opportunity to learn, so they should not include blame. All information related to post-mortem inspection is recorded in Morgue: date, severity, IRC log, chart, and remedial action. Morgue is another tool specifically built by Etsy to keep post-mortem records.

Adopt an on-call policy for employees in the operations, development, payment and support departments. Developers usually take turns to provide on-call support on a certain week every four weeks. The goal of the policy is to make everyone aware of the problems that online products face every day, so that they can take these issues into account when developing new features or improving existing processes.

Etsy has about 600000 monthly visits and 1.5 billion page views per month.

This is the answer to the question about how Etsy can be deployed more than 50 times a day. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report