所需积分/C币:32 2015-02-12 10:27:12 4.81MB PDF
收藏 收藏

Title: Building Microservices Author: Sam Newman Length: 280 pages Edition: 1 Language: English Publisher: O'Reilly Media Publication Date: 2015-02-28 ISBN-10: 1491950358 ISBN-13: 9781491950357 Distributed systems have become more fine-grained in the past 10 years, shifting from code-heavy monolith
Building microservices by Sam Newman Copyright@ 2015 Sam Newman. All rights reserved Printed in the united states of america Published by o'reilly Media, InC, 1005 Gravenstein Highway North, Sebastopol, CA 95472 O'Reilly books may be purchased for educational, business, or sales promotional use Onlineeditionsarealsoavailableformosttitles( information, contact our corporate/institutional sales department: 800-998-9938 or a Editors: Mike loukides and brian macdonald Production editor: Kristen brown Copyeditor: Rachel monaghan Proofreader: Jasmine Kwityn a Indexer judith mcconville Interior Designer: David Futato a Cover Designer: ellie volckhausen Illustrator: Rebecca demarest February 2015: First Edition Revision history for the first edition 2014-01-30: First Release See The O' Reilly logo is a registered trademark of o'Reilly Media, Inc. Building Microservices, the cover image of honey bees, and related trade dress are trademarks of O'Reilly media, Inc While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights 978-1-49195035-7 [LSII Preface Microservices are an approach to distributed systems that promote the use of finely grained services with their own lifecycles, which collaborate together. Because microservices are primarily modeled around business domains, they avoid the problems of traditional tiered architectures. Microservices also integrate new technologies and techniques that have emerged over the last decade, which helps them avoid the pitfalls of many service-oriented architecture implementations S DOOK IS lll of concrete examples of microservice use around the world, including in organizations like Netflix, Amazon, Gilt, and the rea group, who have all found that the increased autonomy this architecture gives their teams is a huge advantage Who should read this book The scope of this book is broad, as the implications of fine-grained microservice architectures are also broad. As such, it should appeal to people interested in aspects of design, development, deployment, testing, and maintenance of systems. Those of you who have already embarked on the journey toward finer-grained architectures, whether for a greenfield application or as part of decomposing an existing, more monolithic system, will find plenty of practical advice to help you. It will also help those of you who want to know what all the fuss is about, so that you can determine whether microservices are right for Why I Wrote This Book I started thinking about the topic of application architectures many years ago, when working to help people deliver their software faster. I realized that while infrastructure automation, testing, and continuous delivery techniques could help, if the fundamental design of the system doesnt make it easy to make changes, then there are limits to what can be accomplished At the same time, many organizations were experimenting with finer-grained architectures to accomplish similar goals, but also to achieve things like improved scaling increasing autonomy of teams, or to more easily embrace new technologies. My own experiences, as well as those of my colleagues at Thought Works and elsewhere, reinforced the fact that using larger numbers of services with their own independent lifecycles resulted in more headaches that had to be dealt with. In many ways, this book was imagined as a one-stop shop that would help encompass the wide variety of topics that are necessary for understanding microservices -something that would have helped me greatly in the past! A Word on Microservices Today Microservices is a fast-moving topic. Although the idea is not new (even if the term itself is), experiences from people all over the world, along with the emergence of new technologies, are having a profound effect on how they are used. due to the fast pace of change, I have tried to focus this book on ideas more than specific technologies, knowing that implementation details always change faster than the thoughts behind them Nonetheless, I fully expect that in a few years from now we'll have learned even more about where microservices fit, and how to use them well So while i have done my best to distill out the essence of the topic in this book, if this topic interests you, be prepared for many years of continuous learning to keep on top of the state of the art! Navigating This Book This book is primarily organized in a topic-based format. As such, you may want to jump into the specific topics that interest you the most. While i have done my best to reference terms and ideas in the earlier chapters, I'd like to think that even people who consider themselves fairly experienced will find something of interest in all chapters here. I would certainly suggest that you take a look at Chapter 2, which touches on the breadth of the topic as well as providing some framing for how i go about things in case if you want to dive deeper into some of the later topics For people new to the subject, I've structured the chapters in a way that i hope will make sense to read from beginning to end. Here is an overview of what we cover Chapter 1, Microservices We'll begin with an introduction to microservices, including the key benefits as well as some of the downsides Chapter 2, The Evolutionary Architect This chapter discusses the difficulties we face in terms of making trade-offs as architects, and covers specifically just how many things we need to think about with microservices Chapter 3, How to Model services Here we'l start to define the boundary of microservices, using techniques from domain-driven design to help focus our thinking Chapter 4, integration This is where we start getting a bit deeper into specific technology implications, as we discuss what sorts of service collaboration techniques will help us most. We'll nIso delve into the topic of user interfaces and integrating with legacy and commercial off-the-shelf(cots) products Chapter 5, Splitting the Monolith Many people get interested in microservices as an antidote to large, hard-to-change monolithic systems, and this is exactly what we'll cover in detail in this chapter Chapter 6, Deployment Although this book is primarily theoretical, few topics in the book have been as impacted by recent changes in technology as deployment, which we'll explore here Chapter 7, Testing This chapter goes deep into the topic of testing an area of particular concern when handling the deployment of multiple discrete services. Of particular note will be the role that consumer-driven contracts can play in helping us ensure the quality of our software Chapter 8, Mo nitoring Testing our software before production doesnt help if problems occur once we go live, and this chapter explores how we can monitor our fine-grained systems and dea with some of the emergent complexity of distributed systems Chapter 9, Security Here we'll examine the security aspects of microservices and consider how to handle user-to-service and service-to-service authentication and authorization security is a very important topic in computing, one that is all too readily ignored. Although I am in no way a security expert, I hope that this chapter will at least help you consider some of the aspects you need to be aware of when building systems, and microservice systems in particular Chapter 10, Conway 's Law and System Design This chapter focuses on the interplay of organizational structure and architecture Many organizations have realized that trouble will occur if you don't keep the two in harmony. We'l attempt to get to the bottom of this dilemma, and consider some different ways to align system design with the structure of your teams Chapter 11, Microservices at Scale This is where we start looking at doing all of this at scale, so that we can handle the increased chance of failure that can happen with large numbers of services, as well as large volumes of traffic Chapter 12, Bringing It All Together The final chapter attempts to distill down the core essence of what makes microservices different. It includes a list of seven microservices principles, as well as a wrap-up of the key points of the book

试读 127P Building.Microservices
立即下载 低至0.43元/次 身份认证VIP会员低至7折
vector090 非常好, 经典的必读书籍。
AmIExist 50个积分都用了,想当初现在看是大手笔了
manboo 好东西我下载了
phpjspasp 加深了对微服务的理解, 非常棒的资源
gehencai 学习实践中,不错
loy_lee 学习微服务必备书籍!
Lyulf 加深了对微服务的理解, 非常棒的资源
lq1600k 认真学习微服务
feng_kwuo 没下载就扣分了
billzhang1234567890 没下载下来,再试试
关注 私信 TA的资源
Building.Microservices 32积分/C币 立即下载

试读结束, 可继续阅读

32积分/C币 立即下载 >