Skip to Content
進化的アーキテクチャ ―絶え間ない変化を支える
book

進化的アーキテクチャ ―絶え間ない変化を支える

by Neal Ford, Rebecca Parsons, Patrick Kua, 島田 浩二
August 2018
Beginner to intermediate
240 pages
3h 2m
Japanese
O'Reilly Japan, Inc.
Content preview from 進化的アーキテクチャ ―絶え間ない変化を支える

2章適応度関数

進化的アーキテクチャとは、複数の次元にわたる漸進的で誘導的な変更を支援するものである。

――我々の定義

前述したように、「誘導的」という言葉は、アーキテクチャとして向かうべき方向、あるいは示される目標が存在することを示している。そのため、我々は遺伝的アルゴリズム設計で成功の定義に使われる「適応度関数(Fitness Function)」という進化的計算の概念を拝借する。進化的計算には、各世代のソフトウェアで起きる小さな変化によって解が徐々に現れてくるようにするための仕組みが多く含まれている。解は最終目標に近づいたか、それとも遠く離れているか、といった具合に、エンジニアは解の世代ごとに現在の状態を評価する。例えば、翼の設計を最適化するために遺伝的アルゴリズムを使用する場合、適応度関数は、風抵抗、重量、空気流量をはじめとする、好ましい翼設計に望まれる各種特性を評価する。アーキテクトは適応度関数を定義し、何がより良いかを説明するとともに、目標が達成されたかの計測に役立てる。ソフトウェアにおいて適応度関数がチェックするのは、開発者がアーキテクチャ上の重要な特性を維持できているかだ。

アーキテクチャの適応度関数を定義するため、我々は以下のような考え方を用いる。

アーキテクチャの適応度関数は、あるアーキテクチャ特性がどの程度満たされているかを評価する客観的な指標を与える。

――我々の定義

この適応度関数は、システムに求められる様々なアーキテクチャ特性を保護する。具体的なアーキテクチャ要件は、システムや組織によって大きく異なる。それはビジネス推進力や技術的な能力、その他多くの要因によって決定される。システムによっては強固なセキュリティが必要なこともあれば、高いスループットや低レイテンシを必要とすることもある。障害からの回復力を何よりも必要とするシステムもあることだろう。考慮すべきこうした事項は、アーキテクトが気に掛ける「~性」を形作る。考え方としては、あるアーキテクチャ特性についての適応度関数とは、対象とするシステムの「~性」を保護する仕組みを具体化したものと言える。 ...

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

Rustの練習帳 ―コマンドラインツールの作成を通してRustを学ぶ

Rustの練習帳 ―コマンドラインツールの作成を通してRustを学ぶ

Ken Youens-Clark, 中山 光樹
scikit-learn、Keras、TensorFlowによる実践機械学習 第2版

scikit-learn、Keras、TensorFlowによる実践機械学習 第2版

Aurélien Géron, 下田 倫大, 長尾 高弘

Publisher Resources

ISBN: 9784873118567Other