Google's DevOps culture


Background

Melody Meckfessel Senior R & D Director Google cloud platform in JFrog SwampUp 2017 user conference to introduce the culture of Google DevOps engineers.

Melody Meckfessel team is responsible for providing DevOps toolchain for Google's engineers, allowing engineers to quickly build, test, release products. The team includes already support Android, Chrome, Google cloud platform and so on.

Like other companies, Google's engineers will also build fails, the test is not passed, spend a lot of time on the issue of online debugging environment deployment failed, Melody has been working to enhance the efficiency of software delivery, so she thought Google DevOps team tasks, It is to get the majority of Google engineers freed from the tedious work of these software release out, go fast on-line business needs.

Google engineer DevOps culture

Diverse Development

Business team size, the size of the size of the product, the team's organizational structure, etc., be a factor in the development of diversified. In many ways, these are very confusing, so Melody's DevOps team is to provide a unified tool chain to support the delivery process team. Business team with independent development, DevOps team responsible for collecting data generated during delivery and positioning of obstacles in the development of point of reference for business team, assess, summarize, and improvement.

Do not blame the team

After Google has released an improved test performance of products, in testing the waters, open to the user experience, traffic surge, but the user's use is not a team in the desired manner, and take up a lot of server resources, and team not predicted to consume such a large resource, so the team had to pause this feature and seek outside help staff redesigned this feature. DevOps team believes that this release is "Successful failure".

So when the team realized that if even if the failure to develop a new feature, will not be accountable, he will be more willing to take on risky tasks.

The company culture is to have a group of people willing to work hard together and the cornerstone of the company, if the company's strategy is very good, but the company can not build a good corporate culture, the company is difficult to get things done well.

Support platform Google engineer

Google engineer day: downloading dependencies, write code, generate change sets. Then put the entire Google code base to test after test is passed, submit code review.

Support line on Google easily engineer, DevOps is the underlying platform. Platform function is to allow developers to reuse existing libraries, integrating all the sophisticated tools that developers no longer plagued by on-line operation and maintenance processes.

Cultural and tools

Google has submitted a day 45000, filed so many times how to ensure reliable? Google relies on automated tools to do code review, including format, style, linters check for compliance. Of course, manual code reviews.

Each employee can search the entire Google code base, which means that a large number of outstanding components can be discovered and reused, Google engineers are encouraged to reuse other people's components, rather than repeating inventing the wheel.

Intelligent building and intelligent testing

In testing relies on automated testing, rather than QA, Google will conduct ongoing testing of all commit, test cases only when it is triggered to commit influence, and the test results are cached, this submission is not affected by the test results will not be executed.

Above figure as an example, if a developer only modified Login.java, then Google will only run this test system files associated test cases, and will not run the 634 test cases related to certification, thanks to Google's open-source tool Bazel. Google, Netflix and other companies are doing to build intelligent use Bazel.

DogFooding

Most of Google's products, the product is from Google internal use, such as Kubernetes from within the Google Borg systems, Bazel building systems. Use their own tools, it can bring a better user experience for developers, but also to receive feedback from the community, making the product better.

challenge

Never fast enough, even if engineers felt platforms soon, including the building, testing and so on, after over two months, he will complain about the speed of the platform is not fast enough.
Technology development has been changing, the team is changing, DevOps teams need to keep learning, support for new technologies, new ways of development.
In the case of Internet security vulnerabilities increasing, how to effectively conduct automated vulnerability scanning product? Code scan?

Finally: DevOps should be what?

productive forces

Centralized management through a unified platform for the code, code review, build, test, deploy, the complexity of the lines on maximizing reduction, speed up the frequency on the line, any developer can own on the line.
Security
for the Executive strict security checks, including code scanning, vulnerability scanning package, *** testing and so on.
Scalability
applications have the ability to automatic expansion on the platform, to address growing user requests.

Download JFrog Artifactory open source version (instead of Nexus):
http://www.jfrogchina.com/open-source/

Download JFrog Artifactory Enterprise Edition (free trial):
https://www.jfrog.com/artifactory/free-trial/?lang=zh-hans#High-Availability

About JFrog
the world's leading DevOps platform
founded in 2008, has more than 200 employees in the United States, Israel, France, Spain, and Beijing, China. JFrog has more than 4,000 paying customers, which include well-known companies such as Tencent, Google, Cisco, Netflix, Amazon, Apple and so on. Watch JFrog, feel the Silicon Valley of the original leaf juice! We not only provide the best products, but also provide the best continuous delivery platform solutions, please contact [email protected]

Guess you like

Origin blog.51cto.com/jfrogchina/2422333