Learning Dapr /
Get the authoritative guide on Actions, the new distributed programming model that works with existing and new programming languages alike. Written by one of the model's creators, this introduction shows you how Actions not only unifies stateless, stateful, and actor programming models but also...
Autores principales: | , |
---|---|
Autor Corporativo: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
O'Reilly Media, Inc.,
2020.
|
Edición: | 1st edition. |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Intro
- Copyright
- Table of Contents
- Preface
- Resources
- Conventions Used in This Book
- O'Reilly Online Learning
- How to Contact Us
- Acknowledgments
- Introduction
- What Is Dapr?
- A Programming Model for a Heterogeneous Environment
- More Helpful, Less Opinionated
- Don't Reinvent the Wheel!
- Unified Programming Model
- Dapr Architecture
- Language Support
- Getting Started with Dapr
- Hello, World! with Dapr Standalone Mode
- Hello, World! with Dapr Kubernetes Mode
- Using gRPC
- Invoking an Application from a gRPC Client
- Writing a gRPC Server
- Bindings
- Binding in Standalone Mode
- Binding in Kubernetes Mode
- Summary
- Chapter 1. Services
- The World Before Cloud
- Cloud Promises and Challenges
- Availability
- Elasticity
- Cloud Native Applications
- Infrastructure Is Boring
- Service Invocation
- Name Resolution
- Requests and Responses
- Concurrency Control
- Service Invocation Experiment
- The Universal Namespace
- Pub/Sub
- Benefits of Message-Based Integration
- Pub/Sub with Dapr
- How Pub/Sub Works
- Dapr Components
- Dapr Configurations
- Custom Pipelines
- Custom Pipeline Experiment
- OAuth 2.0 Authorization
- Authoring a Custom Middleware
- Distributed Tracing
- Tracing Middleware
- Tracing with Zipkin
- Tracing with Azure Monitor
- Service Operation
- Service Deployment and Upgrade
- OAM
- Summary
- Chapter 2. State
- State Management
- Stateless Versus Stateful
- Why Are Stateless Services Preferred in the Cloud?
- Challenges of Hosting Stateful Services
- Converting Stateful Services to Stateless Services
- Dapr State Management
- Concurrency Model
- Consistency Model
- Bulk Operations and Transactions
- Multiple State Stores
- Retry Policies
- The Dapr State API
- Key Scheme
- Get Requests
- Set Requests
- Delete Requests
- Transactional Requests
- Working with the Dapr State API
- Data Handling Considerations
- Data Querying and Aggregation
- State Stores
- Redis
- Azure Cosmos DB
- Etcd
- Apache Cassandra
- Couchbase
- Custom State Stores
- Implementing the State API
- Updating the Component Registry
- Summary
- Chapter 3. Messaging
- Event-Driven Programming
- Messages Versus Events
- Input Bindings and Output Bindings
- Pub/Sub
- Pub/Sub with Dapr
- Implementing the PowerShell Script
- Testing Pub/Sub with the Dapr CLI
- Dapr Pub/Sub Behaviors
- Extending Dapr Pub/Sub
- Input and Output Bindings with Dapr
- Using Input Bindings
- Using Output Bindings
- Implementing Input Bindings
- Implementing Output Bindings
- Autoscaling with KEDA
- Messaging Patterns
- The Saga Pattern
- Content-Based Routing
- Routing Slip
- Smart Proxy
- MapReduce
- Summary
- Chapter 4. Security
- Securing a Distributed Application
- Access Control
- Data Protection
- Secured Communication
- Intrusion and Abnormality Detection
- Dapr Security Features
- Secret Stores
- Implementing a Secret Store
- The Secret API