Skip to Content
Googleのソフトウェアエンジニアリング ―持続可能なプログラミングを支える技術、文化、プロセス
book

Googleのソフトウェアエンジニアリング ―持続可能なプログラミングを支える技術、文化、プロセス

by Titus Winters, Tom Manshreck, Hyrum Wright, 竹辺 靖昭, 久富木 隆一
November 2021
Intermediate to advanced
684 pages
10h 37m
Japanese
O'Reilly Japan, Inc.
Content preview from Googleのソフトウェアエンジニアリング ―持続可能なプログラミングを支える技術、文化、プロセス

22章大規模変更

Hyrum Wright 著

Lisa Carey 編

 しばしの間、読者自身のコードベースについて考えてみてほしい。複数のファイルを一斉に更新対象とするコミット1回で、信頼性のある状態で更新可能なファイルの数は何個だろうか。その数を制限する要因は何か。ファイル数に制限がかかるほど大きな変更のコミットをこれまで試みたことはあるか。緊急の場合に、そのようなコミットを妥当な時間内に行うことは可能だろうか。自分が行ったことのあるコミットで最大のもののサイズは、自分のコードベースの現在のサイズとの比較ではどの程度を占めるか。そのような大きなコード変更はどのようにしてテストするのだろうか。その変更をコミット前にレビューするのにレビュアーは何人要ることになるだろうか。その変更は、実際にコミットされた場合にはロールバックが可能だろうか。以上の質問への答えは、意外なものかもしれない(意外というのは、読者が答えだと思っているものと、読者の組織にとって実際にその答えが結局どういうものになるかの両方だ)。

 社内のコードベースの至るところに影響する広範囲のコード変更を、上述の類のアトミックな大規模変更内で行うという考え方は、Googleではとうの昔に放棄されている。我々が見てきた限りでは、コードベースとその中で作業するエンジニアの数が増大するにつれて、アトミックに行うことが可能な変更の最大サイズは、直感に反して減少する。例えば、コード変更が影響するリポジトリー提出前のチェックとテストを全部実行するのが難しくなり、またリポジトリーへのコード提出の前にコード変更内の全ファイルが最新であるのを保証することすら難しくなるのは言うまでもない。社内のコードベースへ広範な変更を行うことが難しくなってきているため、基盤のインフラストラクチャーを絶えず改善できるようにしたいという一般的志向がGoogleには前提としてある以上、大規模変更が実際には何を行うのかについての新しい解釈法と、そのような解釈法を実装する方法とを開発しなければならなくなっている。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

サイトリライアビリティワークブック ―SREの実践方法

サイトリライアビリティワークブック ―SREの実践方法

Betsy Beyer, Niall Richard Murphy, David K. Rensin, Kent Kawahara, Stephen Thorne, 澤田 武男, 関根 達夫, 細川 一茂, 矢吹 大輔, 玉川 竜司
初めてのSQL 第3版

初めてのSQL 第3版

Alan Beaulieu, 株式会社クイープ
プログラミングRust

プログラミングRust

Jim Blandy, Jason Orendorff, 中田 秀基
仕事ではじめる機械学習 第2版

仕事ではじめる機械学習 第2版

有賀 康顕, 中山 心太, 西林 孝

Publisher Resources

ISBN: 9784873119656Other