Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Brendan Burns

Rating No ratings yet

The race to compete in today's fast-moving markets, large enterprises are busy adopting new technologies for creating new products, processes, and business models. But one obstacle on the road to digital transformation is placing too much emphasis on technology, and not enough on the types of processes technology enables. What if different lines of business could build their own services and applications-and decision-making was distributed rather than centralized? This report explores the concept of a digital business platform as a way of empowering individual business sectors to act on data in real time. Much innovation in a digital enterprise will increasingly happen at the edge, whether it involves business users (from marketers to data scientists) or IoT devices. To facilitate the process, your core IT team can provide these sectors with the digital tools they need to innovate quickly

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A pattern catalog for turning distributed-systems development from a black art into a repeatable engineering discipline, using containers and orchestrators as reusable building blocks. Best for developers and architects who already build cloud services and want concrete, composable designs rather than theory. 【Book Arc】 - **Opening (~0%–10%)**: Frames the problem — nearly every modern app must be a distributed system, yet most are bespoke one-offs; introduces containers/orchestrators as the enabling shift and previews the pattern catalog. - **Early (~10%–30%)**: Makes the case for patterns themselves, drawing an analogy to how algorithms and object-oriented interfaces produced reusable libraries; argues patterns let teams learn from others' mistakes and share components across languages. - **Early–Middle (~30%–50%)**: Covers single-node, multi-container patterns — sidecar (adaptation, monitoring, building a simple PaaS) and ambassador (sharding proxies, service brokering, request splitting/experimentation), plus how to parameterize containers for reuse. - **Middle (~50%–75%)**: Moves to multi-node patterns — replicated load-balanced services, sharded services, scatter/gather for parallel work, and the trade-offs in choosing replica and leaf counts. - **Late (~75%–90%)**: Extends to functions and event-driven processing (when FaaS makes sense, decorator-style request/response transformation, event pipelines) and ownership election (locks, leases, master election with etcd). - **Ending (~90%–100%)**: Closes the loop on treating these patterns as a shared vocabulary and reusable components, reinforcing the science-over-art thesis. 【Key Takeaways】 - **Patterns are the core value proposition** (Early): they let you learn from others' mistakes and turn one-off distributed designs into reusable, language-agnostic components — the book's central argument. - **Containers and orchestrators are the enabling substrate** (Early): the analogy to objects in OOP means containerized building blocks make patterns portable and composable across systems. - **The sidecar pattern extends a main container without modifying it** (Early–Middle): used for TLS termination, monitoring, and even assembling a minimal PaaS via a Git-syncing companion container. - **Parameterization makes containers reusable** (Middle): treating a container like a function with inputs (via environment variables or command line) is what turns a one-off sidecar into a general-purpose component. - **The ambassador pattern separates concerns** (Middle): a localhost proxy handles sharding, service brokering, or request splitting so the application stays ignorant of the complexity. - **Scatter/gather and sharding scale work across nodes** (Middle): root distribution, leaf sharding, and choosing the right number of leaves are presented as reliability-and-scale decisions. - **FaaS and event-driven pipelines fit specific niches** (Late): the book weighs FaaS benefits against its challenges (background processing, in-memory state, sustained-request costs) rather than treating it as universal. - **Ownership election is a solved pattern** (Late): locks, leases, and master election via etcd are shown as concrete, implementable mechanisms, with a caution to first decide whether you even need election. 【Reading Tips】 - **Deep-read the single-node patterns (sidecar, ambassador)**: they are the most immediately applicable and the foundation for everything later. - **Skim the historical preface and O'Reilly boilerplate**; the real content starts with the introduction's argument for patterns. - **Treat the "Hands On" sections as labs**: they anchor abstract patterns (sharded Redis, etcd leases, two-factor auth) in runnable examples. - **Read the "when to use / when not to" passages carefully** — the book repeatedly warns against over-applying patterns like FaaS or master election. - **Take away the vocabulary**: the goal is a shared pattern language your team can use to discuss designs, not memorized code. 【Coverage Limits】 The excerpts are heavily front-loaded and include table-of-contents and preface material; later chapters (scatter/gather, FaaS, ownership election) are represented mainly by headings and brief fragments, so this guide cannot detail their full arguments or examples.
Page 4
ion History for the First Edition 2018-02-20: First Release See http://oreilly.com/catalog/errata.csp?isbn=9781491983645 for release details. The O’Reilly lo...
View in text
Page 15
hat is built—whether it is a consumer mobile app or a back‐ end payments application—needs to be a distributed system. But building distributed systems is ch...
View in text
Excerpt 3
he legacy container, we will add an nginx sidecar container. This nginx container lives in the same network namespace as the legacy web application, so it ca...
View in text
Excerpt 4
connection. This process is shown in Figure 3-3. Figure 3-3. A service broker ambassador creating a MySQL service Using an Ambassador to Do Experimentation o...
View in text
Excerpt 5
well as update that image as new MySQL images are released. Using the adapter pattern is a much more attractive approach to adding health checks to your data...
View in text
Excerpt 6
g. This chapter considers sharded services. With the repli‐ cated services that we introduced in the preceding chapter, each replica was entirely homogeneous...
View in text
Excerpt 7
{ proxy_pass http://backend; } } } Note that we chose to use the full request URI as the key for the hash and use the key word consistent to indicate that we...
View in text
Excerpt 8
r. Since data from every leaf node is required, the overall time it takes to process a user request is defined by the slowest leaf node that sends a response...
View in text
Tags
AI categories
Cloud NativeSoftwareBackend
ISBN: 1491983647
Publisher: O'Reilly Media
Publish Year: 2018
Language: English
File Format: PDF
File Size: 6.0 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…