Skip to Content
セキュアで信頼性のあるシステム構築 ―Google SREが考える安全なシステムの設計、実装、保守
book

セキュアで信頼性のあるシステム構築 ―Google SREが考える安全なシステムの設計、実装、保守

by Heather Adkins, Betsy Beyer, Paul Blankinship, Piotr Lewandowski, Ana Oprea, Adam Stubblefield, Kuma Arakawa, 渡邉 了介
June 2023
Beginner to intermediate
588 pages
8h 49m
Japanese
O'Reilly Japan, Inc.
Content preview from セキュアで信頼性のあるシステム構築 ―Google SREが考える安全なシステムの設計、実装、保守

13章コードのテスト

執筆:Phil Ames、Franjo Ivančić

協力:Vera Haas、Jen Barnason

 信頼性の高いシステムは、障害に対して弾力性があり、文書化されたサービスレベル目標(service level objective = SLO)を満たすもので、そこにはおそらくセキュリティの保証も含まれるでしょう。頑健なソフトウェアにするためのテストと解析は、障害リスクの軽減に役立ち、プロジェクトの実装段階で特に重視する必要があります。

 本章では、ユニットテストと結合テストを含め、テストに対するさまざまなアプローチを検討します。また、静的および動的なプログラム解析やファズテストなど、セキュリティについて深く掘り下げる追加のトピックも取り上げますが、これらは遭遇する入力に対するソフトウェアの弾力性を強化するのに役立ちます。

 エンジニアがどれほど注意深くソフトウェアを開発しているとしても、ミスをしたりエッジケースを見落としたりすることは避けられません。入力の予期しない組み合わせは、データの破損を招いたり、『SRE サイトリライアビリティエンジニアリング』の「22章 カスケード障害への対応」で言及されている「死のクエリ」の例のような、可用性の問題を発生させたりするかもしれません。コーディングエラーは、バッファオーバーフローやクロスサイトスクリプティング(XSS)脆弱性などのセキュリティ問題を引き起こす可能性があります。簡単に言えば、現実の世界でソフトウェアには、さまざまな形で障害が起こりやすいものです。

 本章で検討する手法は、ソフトウェア開発の異なる段階やコンテキストで使用され、費用対効果のプロファイルもさまざまです†1。例えば、ランダムなリクエストをシステムに送信する ...

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

スタッフエンジニアの道 ―優れた技術専門職になるためのガイド

スタッフエンジニアの道 ―優れた技術専門職になるためのガイド

Tanya Reilly, 島田 浩二
行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

Stephen Wendel, 武山 政直, 相島 雅樹, 反中 望, 松村 草也

Publisher Resources

ISBN: 9784814400256Other