ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Python Microservices Development: Build efficient and lightweight microservices using the Python tooling ecosystem, 2nd Edition

دانلود کتاب توسعه میکروسرویس‌های پایتون: با استفاده از اکوسیستم ابزار پایتون، ویرایش دوم، میکروسرویس‌های کارآمد و سبک بسازید.

Python Microservices Development: Build efficient and lightweight microservices using the Python tooling ecosystem, 2nd Edition

مشخصات کتاب

Python Microservices Development: Build efficient and lightweight microservices using the Python tooling ecosystem, 2nd Edition

ویرایش: 2 
نویسندگان:   
سری:  
ISBN (شابک) : 1801076308, 9781801076302 
ناشر: Packt Publishing - ebooks Account 
سال نشر: 2021 
تعداد صفحات: 311 
زبان: English 
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 4 مگابایت 

قیمت کتاب (تومان) : 44,000



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 14


در صورت تبدیل فایل کتاب Python Microservices Development: Build efficient and lightweight microservices using the Python tooling ecosystem, 2nd Edition به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب توسعه میکروسرویس‌های پایتون: با استفاده از اکوسیستم ابزار پایتون، ویرایش دوم، میکروسرویس‌های کارآمد و سبک بسازید. نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب توسعه میکروسرویس‌های پایتون: با استفاده از اکوسیستم ابزار پایتون، ویرایش دوم، میکروسرویس‌های کارآمد و سبک بسازید.



از میکروسرویس‌های پایتون برای ساخت برنامه‌هایی استفاده کنید که به عنوان واحدهای استاندارد کوچک با استفاده از بهترین روش‌های اثبات‌شده و اجتناب از خطاهای رایج ساخته شده‌اند

ویژگی‌های کلیدی

  • با اصول ساخت، طراحی، آزمایش و استقرار میکروسرویس‌های پایتون آشنا شوید
  • تشخیص دهید که یک برنامه یکپارچه می‌تواند در کجا تقسیم شود، چگونه آن را ایمن کنید، و چگونه آن را پس از آماده شدن برای استقرار مقیاس کنید
  • از جدیدترین چارچوب مبتنی بر برنامه‌نویسی ناهمزمان برای نوشتن میکروسرویس‌های مؤثر با پایتون استفاده کنید

توضیحات کتاب

محدوده کوچک و ماهیت خودکفایی میکروسرویس‌ها باعث شده است که آنها سریع‌تر، تمیزتر و مقیاس‌پذیرتر از برنامه‌های یکپارچه با کد سنگین‌تر. با این حال، ساختن معماری میکروسرویس‌هایی که در برنامه‌های شما کارآمد و همچنین سبک وزن باشد، به دلیل پیچیدگی همه قطعات تعاملی، می‌تواند چالش برانگیز باشد.

توسعه میکروسرویس‌های پایتون، نسخه دوم به شما می‌آموزد که چگونه بر این مشکلات غلبه کنید و برنامه های کاربردی صنایع دستی که به عنوان واحدهای استاندارد کوچک با استفاده از بهترین شیوه های اثبات شده و اجتناب از دام های رایج ساخته می شوند. از طریق مثال‌های عملی، این کتاب به شما کمک می‌کند تا با استفاده از Quart، SQLAlchemy و دیگر ابزارهای مدرن پایتون، میکروسرویس‌های کارآمد بسازید

در این نسخه به‌روز شده، نحوه ایمن‌سازی ارتباطات بین سرویس‌ها و نحوه نوشتن اسکریپت را یاد خواهید گرفت. Nginx از Lua برای ساخت ویژگی‌های فایروال برنامه‌های وب مانند محدود کردن نرخ استفاده می‌کند. توسعه میکروسرویس‌های پایتون، نسخه دوم نحوه استفاده از کانتینرها و AWS برای استقرار خدمات خود را شرح می‌دهد. در پایان کتاب، شما یک برنامه کامل پایتون بر اساس میکروسرویس ها ایجاد خواهید کرد.

آنچه خواهید آموخت

  • کاوش کنید که میکروسرویس ها چیست و چگونه آنها را طراحی کنید.
  • کد خود را بر اساس بهترین شیوه های مدرن پیکربندی و بسته بندی کنید
  • یک جزء از یک سرویس بزرگتر را که می تواند به میکروسرویس تبدیل شود شناسایی کنید
  • به درخواست های ورودی بیشتر رسیدگی کنید، به طور مؤثرتر
  • از برنامه خود با یک پروکسی یا فایروال محافظت کنید
  • از Kubernetes و کانتینرها برای استقرار یک میکروسرویس استفاده کنید
  • تغییراتی را در یک API ارائه شده توسط یک میکروسرویس با خیال راحت و کارها را ادامه دهید
  • عواملی را که باید برای شروع کار با یک ارائه دهنده ابر ناآشنا جستجو کنید، شناسایی کنید

این کتاب برای چه کسی است

این کتاب برای توسعه دهندگانی که می خواهند یاد بگیرند که چگونه میکروسرویس های پایتون را بسازند، آزمایش کنند، مقیاس کنند و مدیریت کنند. خوانندگان به دانش اولیه زبان برنامه نویسی پایتون، خط فرمان و اصول برنامه کاربردی مبتنی بر HTTP نیاز دارند. هیچ تجربه قبلی از نوشتن میکروسرویس ها در پایتون فرض نمی شود.

جدول محتوا

  1. بخش 1: خدمات وب پایتون - درک میکروسرویس ها
  2. Discovering Quart< /li>
  3. کدنویسی، آزمایش و مستندسازی - چرخه فضیلت‌بخش
  4. بخش 2: طراحی Jeeves
  5. تقسیم کردن یکپارچه
  6. تعامل با سایر خدمات< /li>
  7. ایمن سازی خدمات شما
  8. ساخت داشبورد
  9. بخش 3: استقرار، اجرا، و مقیاس بندی - بسته بندی و اجرای به صورت دوامدار
  10. استقرار کانتینرها< /li>
  11. بعدی چیست؟

توضیحاتی درمورد کتاب به خارجی

Use Python microservices to craft applications that are built as small standard units using proven best practices and avoiding common errors

Key Features

  • Become well versed with the fundamentals of building, designing, testing, and deploying Python microservices
  • Identify where a monolithic application can be split, how to secure it, and how to scale it once ready for deployment
  • Use the latest framework based on asynchronous programming to write effective microservices with Python

Book Description

The small scope and self-contained nature of microservices make them faster, cleaner, and more scalable than code-heavy monolithic applications. However, building microservices architecture that is efficient as well as lightweight into your applications can be challenging due to the complexity of all the interacting pieces.

Python Microservices Development, Second Edition will teach you how to overcome these issues and craft applications that are built as small standard units using proven best practices and avoiding common pitfalls. Through hands-on examples, this book will help you to build efficient microservices using Quart, SQLAlchemy, and other modern Python tools

In this updated edition, you will learn how to secure connections between services and how to script Nginx using Lua to build web application firewall features such as rate limiting. Python Microservices Development, Second Edition describes how to use containers and AWS to deploy your services. By the end of the book, you’ll have created a complete Python application based on microservices.

What you will learn

  • Explore what microservices are and how to design them
  • Configure and package your code according to modern best practices
  • Identify a component of a larger service that can be turned into a microservice
  • Handle more incoming requests, more effectively
  • Protect your application with a proxy or firewall
  • Use Kubernetes and containers to deploy a microservice
  • Make changes to an API provided by a microservice safely and keep things working
  • Identify the factors to look for to get started with an unfamiliar cloud provider

Who This Book Is For

This book is for developers who want to learn how to build, test, scale, and manage Python microservices. Readers will require basic knowledge of the Python programming language, the command line, and HTTP-based application principles. No prior experience of writing microservices in Python is assumed.

Table of Content

  1. Section 1: Python Web Services - Understanding Microservices
  2. Discovering Quart
  3. Coding, Testing, and Documenting - the Virtuous Cycle
  4. Section 2: Designing Jeeves
  5. Splitting the Monolith
  6. Interacting with Other Services
  7. Securing Your Services
  8. Making a Dashboard
  9. Section 3: Deployment, Running, and Scaling -Packaging and Running Runnerly
  10. Deploying Containers
  11. What's next?


فهرست مطالب

Cover
Copyright
Contributors
Table of Contents
Preface
Chapter 1: Understanding Microservices
	The origins of service-oriented architecture
	The monolithic approach
	The microservice approach
	Microservice benefits
		Separation of concerns
		Smaller projects
		Scaling and deployment
	Pitfalls of microservices
		Illogical splitting
		More network interactions
		Data storing and sharing
		Compatibility issues
		Testing
	Implementing microservices with Python
		How web services work
		The WSGI standard
		Workers, threads, and synchronicity
			A worker pool approach
			Being asynchronous
			Twisted, Tornado, Greenlets, and Gevent
			Asynchronous Python
		Language performance
	Summary
Chapter 2: Discovering Quart
	Making sure we have Python
	How Quart handles requests
		Routing
			Variables and converters
			The url_for function
		Request
		Response
	Quart's built-in features
		The session object
		Globals
		Signals
		Extensions and middleware
		Templates
		Configuration
		Blueprints
		Error handling
		Custom error handler
	A microservice skeleton
	Summary
Chapter 3: Coding, Testing, and Documentation: the Virtuous Cycle
	Different kinds of tests
		Unit tests
		Functional tests
		Integration tests
		Load tests
		End-to-end tests
	Using pytest and tox
	Developer documentation
		Tools for documentation
	Version control
	Continuous Integration and Continuous Deployment
		GitHub Actions
		Documentation
		Coveralls
		Badges
	Summary
Chapter 4: Designing Jeeves
	The Jeeves bot
	User stories
	Monolithic design
		Model
		View and template
		A human-readable view
		Slack workspaces
		Taking actions
		OAuth tokens
		Authentication and authorization
		Background tasks
	Putting together the monolithic design
	Summary
Chapter 5: Splitting the Monolith
	Identifying potential microservices
		Code complexity and maintenance
		Metrics and Monitoring
		Logging
	Splitting a Monolith
		Feature Flags
	Refactoring Jeeves
		Workflow
	Summary
Chapter 6: Interacting with Other Services
	Calling other web resources
	Finding out where to go
		Environment variables
		Service discovery
	Transferring data
		HTTP cache headers
		GZIP compression
		Protocol Buffers
		MessagePack
		Putting it together
	Asynchronous messages
		Message queue reliability
		Basic queues
		Topic exchanges and queues
		Publish/subscribe
		Putting it together
	Testing
	Using OpenAPI
	Summary
Chapter 7: Securing Your Services
	The OAuth2 protocol
	X.509 certificate-based authentication
	Token-based authentication
		The JWT standard
		PyJWT
		Using a certificate with JWT
	The TokenDealer microservice
		The OAuth implementation
		Using TokenDealer
	Securing your code
		Limiting your application scope
		Untrusted incoming data
		Redirecting and trusting queries
		Sanitizing input data
		Using Bandit linter
		Dependencies
	Web application firewall
		OpenResty: Lua and nginx
		Rate and concurrency limiting
		Other OpenResty features
	Summary
Chapter 8: Making a Dashboard
	Building a ReactJS dashboard
		The JSX syntax
		React components
		Pre-processing JSX
	ReactJS and Quart
		Cross-origin resource sharing
	Authentication and authorization
		A note about Micro Frontends
		Getting the Slack token
		JavaScript authentication
	Summary
Chapter 9: Packaging and Running Python
	The packaging toolchain
		A few definitions
		Packaging
			The setup.py file
			The requirements.txt file
			The MANIFEST.in file
		Versioning
		Releasing
		Distributing
	Running all microservices
	Process management
	Summary
Chapter 10: Deploying on AWS
	What is Docker?
	Introduction to Docker
	Running Quart in Docker
	Docker-based deployments
		Terraform
		Service discovery
		Docker Compose
		Docker Swarm
	Kubernetes
	Summary
Chapter 11: What's Next?
	Automation
	Scaling
	Content Delivery Networks
	Multi-cloud deployments
	Lambda Functions
	Expanding monitoring
	Making promises
	Summary
Packt Page
Other Books You May Enjoy
Index




نظرات کاربران