دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش:
نویسندگان: Vinicius Feitosa Pacheco
سری:
ISBN (شابک) : 9781788474030
ناشر: Packt
سال نشر: 2018
تعداد صفحات: 0
زبان: English
فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 4 مگابایت
در صورت تبدیل فایل کتاب Microservice Patterns and Best Practices به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب الگوهای میکروسرویس و بهترین شیوه ها نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
مفاهیم و ابزارهایی را که برای کشف دنیای میکروسرویسها با الگوهای طراحی مختلف نیاز دارید کاوش کنید. ویژگیهای کلیدی با معماری میکروسرویس آشنا شوید و برنامههای میکروسرویس آماده برای سازمان بسازید الگوهای طراحی و بهترین شیوهها را در حین ساخت اپلیکیشن میکروسرویس بیاموزید. تکنیکهای عملی را به دست آورید. و ابزارهایی برای ایجاد میکروسرویسهای با کارایی بالا و مقاوم در برابر شکستهای احتمالی شرح کتاب میکروسرویسها در حال حاضر یک روند داغ در دنیای توسعه هستند. بسیاری از شرکت ها این رویکرد را برای دستیابی به چابکی و ارائه مداوم برنامه های کاربردی برای به دست آوردن مزیت رقابتی اتخاذ کرده اند. این کتاب شما را از طریق الگوهای طراحی مختلف در مراحل مختلف توسعه اپلیکیشن میکروسرویس همراه با بهترین شیوه های آنها راهنمایی می کند. الگوهای میکروسرویس و بهترین روش ها با یادگیری مفاهیم کلیدی میکروسرویس ها و نشان دادن نحوه انتخاب درست در هنگام طراحی میکروسرویس ها شروع می شود. سپس به الگوهای کاربردی میکروسرویسهای داخلی مانند استراتژی ذخیرهسازی، ناهمزمانی، CQRS و منبعیابی رویداد، قطعکننده مدار و بالکهدها خواهید رفت. با پیشرفت، الگوهای طراحی میکروسرویس ها را یاد خواهید گرفت. این کتاب شما را راهنمایی میکند که کجا میتوانید از الگوی طراحی بینقص در مرحله توسعه اپلیکیشن استفاده کنید و چگونه برنامههای یکپارچه را به میکروسرویسها تبدیل کنید. همچنین در حین آزمایش، ایمن سازی و استقرار برنامه میکروسرویس خود، از بهترین شیوه ها و الگوهای مربوطه استفاده خواهید کرد. در پایان این کتاب، شما به راحتی قادر خواهید بود میکروسرویس های قابل همکاری را ایجاد کنید که قابل آزمایش هستند و برای عملکرد بهینه آماده شده اند. آنچه یاد خواهید گرفت چگونه برنامه های یکپارچه را به میکروسرویس ها تقسیم کنیم. استراتژی های ذخیره سازی حافظه پنهان، CQRS و منبع یابی رویداد و الگوهای قطع کننده مدار را در خود بگنجانید. الگوهای طراحی میکروسرویس های مختلف مانند داده های مشترک، تجمیع کننده، پروکسی و زنجیره ای را به کار ببرید. استفاده از الگوهای آزمایش ادغام، امضا و تست میمون میکروسرویسهای ایمن با JWT، دروازه API، و علامت واحد در Deploy microservices با ادغام یا تحویل مداوم، استقرار سبز-آبی این کتاب برای چه کسی است. توسعه برنامه های کاربردی سازمانی این کتاب برخی از دانش برنامه نویسی قبلی را فرض می کند.
Explore the concepts and tools you need to discover the world of microservices with various design patterns Key Features Get to grips with the microservice architecture and build enterprise-ready microservice applications Learn design patterns and the best practices while building a microservice application Obtain hands-on techniques and tools to create high-performing microservices resilient to possible fails Book Description Microservices are a hot trend in the development world right now. Many enterprises have adopted this approach to achieve agility and the continuous delivery of applications to gain a competitive advantage. This book will take you through different design patterns at different stages of the microservice application development along with their best practices. Microservice Patterns and Best Practices starts with the learning of microservices key concepts and showing how to make the right choices while designing microservices. You will then move onto internal microservices application patterns, such as caching strategy, asynchronism, CQRS and event sourcing, circuit breaker, and bulkheads. As you progress, you'll learn the design patterns of microservices. The book will guide you on where to use the perfect design pattern at the application development stage and how to break monolithic application into microservices. You will also be taken through the best practices and patterns involved while testing, securing, and deploying your microservice application. At the end of the book, you will easily be able to create interoperable microservices, which are testable and prepared for optimum performance. What you will learn How to break monolithic application into microservices Implement caching strategies, CQRS and event sourcing, and circuit breaker patterns Incorporate different microservice design patterns, such as shared data, aggregator, proxy, and chained Utilize consolidate testing patterns such as integration, signature, and monkey tests Secure microservices with JWT, API gateway, and single sign on Deploy microservices with continuous integration or delivery, Blue-Green deployment Who this book is for This book is for architects and senior developers who would like implement microservice design patterns in their enterprise application development. The book assumes some prior programming knowledge.
Cover Copyright and Credits Dedication Packt Upsell Contributors Table of Contents Preface Chapter 1: Understanding the Microservices Concepts Knowing the application Domain-driven design Single responsibility principle Explicitly published interface Independently deploy, upgrade, scale, and replace Independent deployment Upgrade Scale The x-axis The y-axis The z-axis Replace Light weight communication Synchronous Asynchronous Potentially heterogeneous/polyglot Documentation of communication Endpoints for web applications Endpoints for mobile applications Caching at the client level Throttling for your client Identifying anemic domains Identifying the fat domains Identifying microservice domains for the business From domain to entity Summary Chapter 2: The Microservice Tools Programming languages Proficiency Performance Development of practicality Ecosystem Scalability cost Making choices for our application Java C# Python JavaScript Go Microservice frameworks Python Go Logs Handlers Middleware Tests Package manager Golang ORMs Binary communication – direct communication between services Understanding the aspect Tools for synchronous communication MessagePack gRPC Apache Avro Apache Thrift Direct communication alerts Message broker – Async communication between services ActiveMQ RabbitMQ Kafka Caching tools Memcached Redis Fail alert tools Performance Build Components Implementation gaps The databases Locale proof performance Apache Benchmark WRK Locust Summary Chapter 3: Internal Patterns Developing the structure Database Programming language and tools Project structure The models.go file The app.go file The main.go file Caching strategies Applying cache Caching first Enqueuing tasks Asynchronism and workers CQRS – query strategy What is CQRS? Understanding CQRS Advantages and disvantages of implementing CQRS Event sourcing – data integrity State mutation Understanding event sourcing Summary Chapter 4: Microservice Ecosystem Separating containers Layered services architecture Separating UsersService Creating Dockerfile Using the containers Storage distribution Depreciating data Regionalizing data Bulkheads – using the ecosystem against failures Designing for redundancy Partitioning by criticality Designing with isolation Fail fast Circuit breaker Summary Chapter 5: Shared Data Microservice Design Pattern Understanding the pattern Breaking a monolithic application into microservices Defining priorities Setting deadlines Defining the domain Making experiments Defining standards Creating a prototype Sending to production Developing new microservices Writing the microservice configuration file Creating our model Exposing the microservice data Preparing the app to run Creating the Dockerfile Dependencies with requirements.txt Data orchestration Consolidating responses Microservice communication Storage sharing anti-pattern Best practices Testing Pros and cons of the shared data pattern Summary Chapter 6: Aggregator Microservice Design Pattern Understanding the pattern Applying CQRS and event sourcing Separating the database Writing the CommandStack container Creating the news databases Writing the QueryStack container Refactoring the microservices Selecting our requirements Configuring the framework Configuring the container Writing the models Creating the service Preparing the database containers to work together Microservice communication Building the orchestrator Preparing the microservice container Writing the dependencies Writing the configuration file Writing the server access Creating the orchestration controller Applying the message broker Making the containers work together Updating the proxy/load balancer Pattern scalability Bottleneck anti-pattern Best practices Applying tests Functional test Writing the functional test Integration test Writing the integration tests Pros and cons of aggregator design pattern Pros of aggregator design pattern Cons of aggregator design pattern Summary Chapter 7: Proxy Microservice Design Pattern The proxy approach Dumb proxy Smart proxy Understanding our proxy Proxy strategy to orchestrator Microservice communication Pattern scalability Best practices Purest pattern Looking at the bottleneck Caching in the proxy Simple response Pros and cons of proxy design pattern Summary Chapter 8: Chained Microservice Design Pattern Understanding the pattern Data orchestration and response consolidation Microservice communication Pattern scalability Big Ball of Mud anti-pattern Best practices Purest microservices Requesting consistent data Understanding chain in depth Paying attention to the communication layer Understanding the pros and cons of chained design pattern Summary Chapter 9: Branch Microservice Design Pattern Understanding the pattern Data orchestration and response consolidation Microservice communication Pattern scalability Best practices Domain definition Respect the rules Attention to physical components Keep it simple Pros and cons of the branch design pattern Summary Chapter 10: Asynchronous Messaging Microservice Understanding the pattern Domain definition – RecommendationService Data definition – RecommendationService Coding the microservice Microservice communication Applying the message broker and queues Preparing the pub/sub structure Pattern scalability Process sequence anti-pattern Best practices Application definition Don’t try to create responses Keep it simple Pros and cons of the asynchronous messaging design pattern Summary Chapter 11: Microservices Working Together Understanding the current application status The public facing layer The internal layer Understanding general tools Communication layer and accreditation between services Understanding the data contract between services Applying binary communication Pattern distribution Fail strategies API integration Summary Chapter 12: Testing Microservices Unit tests Preparing the containers for the integration test Integration tests End-to-end tests Release pipelines Signature tests Monkey tests Chaos Monkey Summary Chapter 13: Monitoring Security and Deployment Monitoring microservices Monitoring a single service Monitoring multiple services Looking at the logs Learning from the errors in the application The metrics – Understanding the numbers Security Understanding JWT Single Sign-On Security of data Defense for malicious requests – Identifying attacks Explaining the interceptor Web container The API gateway Deployment Continuous integration/continuous delivery/continuous deploy The blue/green deployment pattern and Canary releases Multiple service instances per host Service instance per host Service instance per VM Service instance per container Summary Other Books You May Enjoy Leave a review - let other readers know what you think Index