Microservice architecture has emerged as a common pattern of software develop‐ ment from the practices of a number of leading organizations. These practices includes principles, technologies, methodologies, organizational tendencies, and cul‐ tural characteristics. Companies taking steps to implement microservices and reap their benefits need to consider this broad scope. Who Should Read This Book You should read this book if you are interested in the architectural, organizational, and cultural changes that are needed to succeed with a microservice architecture. We primarily wrote this book for technology leaders and software architects who want to shift their organizations toward the microservices style of application development. You don’t have to be a CTO or enterprise architect to enjoy this book, but we’ve writ‐ ten our guidance under the assumption that you are able to influence the organiza‐ tional design, technology platform, and software architecture at your company. What’s In This Book This book promotes a goal-oriented, design-based approach to microservice architec‐ ture. We offer this design-centric approach because, as we talked to several companies about their programs, we discovered one of the keys to their success was the willing‐ ness to not stick to a single tool or process as they attempted to increase their compa‐ ny’s time-to-market while maintaining—even increasing—their systems’ safety and resilience. The companies we talked to offered a wide range of services including live video and audio streaming service, foundation-level virtual services in the cloud, and support for classic brick-and-mortar operations. While these companies’ products vary, we learned that the principles of speed and safety “at scale” were a common thread. They ix each worked to provide the same system properties in their own unique ways—ways that fit the key business values and goals of the company. It’s the properties and values that we focus on in this book, and the patterns and prac‐ tices we see companies employ in order to reach their unique goals. If you’re looking for a way to identify business goals for your microservices adoption, practical guid‐ ance on how to design individual microservices and the system they form, and tips on how to overcome common architectural challenges, this is your book! The Outline The book is organized into three parts. The first part (Chapters 1–2) identifies the principles and practices of microservice architecture and the benefits they can pro‐ vide. This section will be valuable to anyone who needs to justify the use of microser‐ vices within their organization and provide some background on how other organizations have started on this journey. The second part (Chapters 3–4) introduces a design-based approach to microservice architecture, identifies a series of common processes and practices we see repeated through successful microservice systems, and provides some implementation guid‐ ance on executing the various elements for your company’s microservice implemen‐ tation. The third and final part (Chapters 5–7) provides a set of practical recipes and practi‐ ces to help companies identify ways to introduce and support microservices, meet immediate challenges, and plan for and respond to the inevitably changing business environment ahead. Here’s a quick rundown of the chapters: Chapter 1, The Microservices Way This chapter outlines the principles, practices, and culture that define microser‐ vice architecture. Chapter 2, The Microservices Value Proposition This chapter examines the benefits of microservice architecture and some techni‐ ques to achieve them. Chapter 3, Designing Microservice Systems This chapter explores the system aspects of microservices and illustrates a design process for microservice architecture. Chapter 4, Establishing a Foundation This chapter discusses the core principles for microservice architecture, as well as the platform components and cultural elements needed to thrive. x | Preface Chapter 5, Service Design This chapter takes the “micro” design view, examining the fundamental design concepts for individual microservices. Chapter 6, System Design and Operations This chapter takes the “macro” design view, analyzing the critical design areas for the software system made up of the collection of microservices. Chapter 7, Adopting Microservices in Practice This chapter provides practical guidance on how to deal with common chal‐ lenges organizations encounter as they introduce microservice architecture. Chapter 8, Epilogue Finally, this chapter examines microservices and microservice architecture in a timeless context, and emphasizes the central theme of the book: adaptability to change. What’s Not In This Book The aim of this book is to arm readers with practical information and a way of think‐ ing about microservices that is timeless and effective. This is not a coding book. There is a growing body of code samples and open source projects related to micro‐ services available on the Web, notably on GitHub and on sites like InfoQ. In addition, the scope of this domain is big and we can only go so deep on the topics we cover. For more background on the concepts we discuss, check out our reading list in Appen‐ dix A. While we provide lots of guidance and advice—advice based on our discussions with a number of companies designing and implementing systems using microservice architecture patterns—we do not tell readers which product to buy, which open source project to adopt, or how to design and test component APIs. Instead, we offer insight into the thinking processes and practices of experienced and successful com‐ panies actually doing the work of microservices. If you’re looking for simple answers, you’re likely to be disappointed in some of the material here. If, on the other hand, you’re looking for examples of successful microservice companies and the kinds of principles, practices, and processes they employ, this book is for you.
2022-10-29 10:43:43 10.4MB 微服务
1
微服务架构经典教材,涵盖44个架构设计模式,系统解决服务拆分、事务管理、查询和跨服务通信等难题
2022-09-02 14:05:56 72.04MB 微服务 架构设计
1
它是什么? 它是AWS Lambda,它是一项计算服务,可让您运行代码而无需置备或管理服务器。 演示版 这个lambda提供了什么 假设我们在S3中有一些共享图像,例如: https://example.com/images/pretty_photo.jpg 将图片动态调整为150x150 ,我们可以发出如下请求: https://example.com/images/150x150/pretty_photo.jpg 因此,如果此路径中没有图像,则会将其重定向到lambda,稍后,lambda将创建合适的图像,然后重定向回。 显然,下一次我们将拥有一个新的形象。 除了WxH还有一些额外的可用魔术路径: .../AUTOx150/... .../150xAUTO/... 或者.../150x150_max/... .../150x150_min/... 请注意,如果原始图像的宽度或
2022-08-10 17:06:16 6KB aws-lambda microservice amazon-s3 JavaScript
1
袜子店:微服务演示应用程序 该应用程序是销售袜子的在线商店的面向用户的部分。 旨在帮助演示和测试微服务和云原生技术。 它使用 , 和构建,并打包在Docker容器中。 您可以阅读有关更多信息。 部署平台 包含用于将应用程序置备到您喜欢的平台上的脚本和说明。 如果您希望获得支持的平台,请告诉我们。 错误,功能请求和贡献 我们希望看到社区的贡献。 我们希望保持简单,并使用Gi​​thub问题来跟踪错误和功能请求以及提出请求以管理贡献。 有关更多信息,请参见信息。 屏幕截图 可视化应用程序 一旦应用程序在选定的运行,请使用或可视化该应用程序。
2022-07-23 17:50:54 233KB nodejs java docker kubernetes
1
一个简单的微服务 包含鉴权服务auth-service,网关服务gateway-service,业务层api-service 所有服务基于spring boot 2.2.0.RELEASE和spring cloud Hoxton.M3进行开发。 api-service是业务服务,提供业务接口,没有token验证; 通过gateway-service可以访问api-service的业务接口,并在gateway上实现了统一的用户认证; auth-service提供用户认证和用户鉴权能力。 认证服务 使用spring cloud oauth2,实现一个简单的基本的oauth2 provider 使用jwt令牌,使用自定义JwtTokenStore 提供/.well-known/jwks.json端点 网关服务 使用spring cloud gateway实现简单路由 作为oauth2资源服务器加入auth-service API服务 提供简单的Restful API,通过gateway-service调用 运行 依次运行auth-service,gateway-service,api-s
1
硕果云教学管理平台是一个基于 Spring Cloud 搭建的新一代微服务教学管理平台,提供多租户、权限管理、在线考试、练习等功能。题型支持单选题、多选题、不定项选择题、判断题、简答题等。支持二维码分享,移动端答题。 硕果云教学管理平台功能概述: 项目分前台网站和后台管理两部分,前台主要提供考试功能,后台提供基础管理、考试管理功能。 前台主要提供在线考试、在线学习功能 后台管理分为:首页监控、系统管理、系统监控、考务管理、附件管理、个人管理 首页监控:提供系统租户数、用户数、考试数、近七天考试记录数等监控 系统管理:提供用户、部门、角色、权限等基础管理 用户管理:用户信息增删改查、导入导出 部门管理:部门信息增删改查 角色管理:角色信息增删改查、分配权限 菜单管理:菜单信息增删改查、导入导出 终端管理:管理 OAuth2.0 的客户端,如 client_id、client_secret、access_token 有效时间等 路由管理:网关路由管理,包括路由的增删改查、刷新路由等 系统监控:监控服务、日志等 日志监控:查看系统日志 consul监控:consul服务监控 zipkin监控:监控服务的调用链路 服务监控:spring boot admin服务监控 接口文档:swagger api文档 考务管理:提供课程、考试、题库、成绩等管理 课程管理:课程信息增删改查 考试管理:考试信息增删改查、题目管理、发布回收,题目管理支持简单文本、富文本输入、从题库添加等,题型支持单选题、多选题、不定项选择题、判断题、简答题,生成二维码分享 题库管理:题目分类增删改查、题目信息增删改查,题型支持单选题、多选题、不定项选择题、判断题、简答题 成绩管理:查看成绩、成绩批改、导出等功能 知识库:知识库增删改查、上传附件 附件管理:项目的所有附件存储在fastDfs里,提供统一的管理入口 附件列表:管理所有附件,如用户头像、考试附件、知识库附件等。 个人管理:管理个人资料和修改密码 个人资料:姓名、头像等基本信息的修改 修改密码:修改密码
1
Go,RabbitMQ和gRPC 微服务 :waving_hand: :man::laptop: 完整列出已使用的内容: -gRPC -RabbitMQ 数据库/ sql的扩展。 -Go的PostgreSQL驱动程序和工具包 使用fangs进行配置 记录器 -结构和现场验证 -数据库迁移。 CLI和Golang库。 -测试工具包 框架 为Go编译守护程序 -码头工人 -普罗米修斯 格拉法纳-格拉法纳 Jaeger -Jaeger跟踪 Bluemonday -HTML消毒剂 Gomail-用于发送电子邮件的简单高效的软件包 Go-sqlmock-用于golangSQL模拟驱动程序以测试数据库交互 Go-grpc-中间件-拦截器链接,身份验证,日志记录,重试等 Opentracing-go -Go的OpenTracing API Prometheus-go- client-用于Go应用程序的Prometheus工具库
2022-06-24 16:33:35 79KB go docker golang microservices
1
微服务架构设计之ommigraffle模板
2022-06-14 14:08:41 1.15MB omnigraffle
1
普罗米修斯手册:普罗米修斯中文文档
2022-06-06 14:56:58 36.62MB kubernetes microservices gitbook handbook
1
Online Boutique是一个云本地微服务演示应用程序。 Online Boutique由一个10层微服务应用程序组成。 该应用程序是基于Web的电子商务应用程序,用户可以在其中浏览项目,将其添加到购物车中并进行购买。 Google使用此应用程序演示了Kubernetes / GKE,Istio,Stackdriver,gRPC和OpenCensus等技术的使用。 该应用程序可在任何Kubernetes集群以及Google Kubernetes Engine上运行。 几乎无需配置即可轻松部署。 如果您使用的是此演示,请★为该存储库加注星标,以显示您的兴趣! :glasses: Google员工注意事项:如果您使用的是此应用程序,请在填写表格。 寻找旧的Hipster Shop前端界面吗? 使用在发布 。 屏幕截图 主页 结帐画面 快速入门(GKE) 或使用现有项目。 设置PROJECT_ID环境变量,并确保启用了Google Kubernetes Engine和Cloud Operations API。 PROJECT_ID=""
2022-06-05 17:56:37 7.77MB kubernetes grpc gke stackdriver
1