Hands-on microservices with C# designing a real-world, enterprise-grade microservice ecosystem with the efficiency of C# 7
Build enterprise-grade microservice ecosystems with intensive case studies using C# About This Book Learn to build message-based microservices Packed with case studies to explain the intricacies of large-scale microservices Build scalable, modular, and robust architectures with C# Who This Book Is F...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, UK ; Mumbai :
Packt
2018.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630448806719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Table of Contents
- Preface
- Chapter 1: Let's Talk Microservices, Messages, and Tools
- What is a microservice?
- Service-Oriented Architecture
- Microservice architecture
- Pros and cons
- Pros
- Cons
- Case study
- Messaging concepts
- Message queues
- Producer consumer queue
- Creating common messages
- Message subscriptions
- The subscription ID that you pass to subscribe is important
- Considerations when writing the subscribe callback delegate
- Using SubscribeAsync
- Canceling subscriptions
- Versioning messages
- How does message versioning work?
- Message versioning guidance
- Message publishing
- Message flow
- Exchanges
- Direct exchange
- Default exchange
- Topic exchange
- Fanout exchange
- Headers exchange
- Common messages
- Summary
- Chapter 2: ReflectInsight - Microservice Logging Redefined
- Router
- Log Viewer
- Live Viewer
- Message navigation
- Message properties
- Watches
- Bookmarks
- Call Stack
- Advanced Search
- Quick Search
- Advanced Search
- Time zone formatting
- Auto Save/Purge
- Auto Save
- Auto Purge
- Configuration Editor
- Overview
- XML configuration
- Dynamic configuration
- Configuration Editor
- Summary
- Exercises
- Chapter 3: Creating a Base Microservice and Interface
- Classes versus interfaces
- Creating our base project
- Creating a base interface
- Creating our base microservice class
- Variables
- Base microservice constructor
- Implementing our interface
- Publishing a memory update message
- Minimal microservice
- Summary
- Chapter 4: Designing a Memory Management Microservice
- Creating our microservice
- Our code
- Reclaiming memory
- Dynamically creating an exchange
- Dynamically creating a queue
- Publishing a message
- Summary
- Exercises.
- Chapter 5: Designing a Deployment Monitor Microservice
- Deployment issues
- Installation
- Our messages
- Deployment start message
- Deployment stop message
- Our program
- Subscribing to messages
- Processing messages
- Publishing health status messages
- Summary
- Exercises
- Chapter 6: Designing a Scheduling Microservice
- Installation
- Installing Quartz.NET
- What is Quartz.NET?
- Runtime environments
- Job scheduling
- Job execution
- Job persistence
- Clustering
- Listeners and plugins
- Installing Quartz.NET server as a service
- Our program
- OnStart
- Scheduling multiple jobs
- Running our microservice
- Summary
- Exercises
- Chapter 7: Designing an Email Microservice
- Installation
- Our program
- OnStart
- Subscribing to messages
- Processing messages
- Finding DNS servers
- Subscribing to email requests
- Summary
- Exercises
- Chapter 8: Designing a File Monitoring Microservice
- Overview of FileSystemWatcher
- Internal buffer
- Building your microservice - part one
- Making sure our message queue and exchange are created
- Running the recovery filewatcher
- Building your microservice - part two
- Our message
- Building our main program
- Notes on events
- Summary
- Exercises
- Chapter 9: Creating a Machine Learning Microservice
- Installation
- Our program
- OnStart
- Processing a machine learning request
- Creating a layer
- Creating a network
- Traversing the forward path through the network
- Training the network
- Getting results
- Summary
- Creating a Quantitative Financial Chapter 10: Microservice
- Installation
- Our messages
- CDS-request message
- Bonds request message
- Subscribing to messages
- Publishing our request message
- Publishing our CDS response
- Calculating a CDS
- Getting bond information
- Processing a bond request.
- Processing a bond response
- Summary
- Exercises
- Chapter 11: Trello Microservice - Board Status Updating
- Installation
- Creating boards, lists, and cards
- Summary
- Exercises
- Chapter 12: Microservice Manager - The Nexus
- Installation
- Our code
- Leader election
- Subscribing to all messages
- Processing bond response messages
- Processing deployment messages
- Processing CDS messages
- Processing memory messages
- Processing health status messages
- Processing machine learning messages
- Processing filesystem messages
- Summary
- Exercises
- Chapter 13: Creating a Blockchain Bitcoin Microservice
- Blockchain
- Bitcoin
- Digital signatures
- The circle of encryption
- Installation
- Our main program
- Leader election
- Creating our digital wallet
- Your public address
- How do we spend money?
- Our code
- Processing BitcoinSpendReceipt
- Summary
- Exercises
- Chapter 14: Adding Speech and Search to Your Microservice
- Text-to-Speech
- Installation
- Our program
- Our messages
- Subscribing to messages
- Processing speech request messages
- Processing Wikipedia search messages
- Using Text-to-Speech
- Summary
- Appendix: Best Practices
- Microservices
- Messaging
- Scheduling jobs
- Recommended reading
- Index.