Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
MuleSoft Platform Architect's Guide

You're reading from   MuleSoft Platform Architect's Guide A practical guide to using Anypoint Platform's capabilities to architect, deliver, and operate APIs

Arrow left icon
Product type Paperback
Published in Jul 2024
Publisher Packt
ISBN-13 9781805126188
Length 498 pages
Edition 1st Edition
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Jim Andrews Jim Andrews
Author Profile Icon Jim Andrews
Jim Andrews
Jitendra Bafna Jitendra Bafna
Author Profile Icon Jitendra Bafna
Jitendra Bafna
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Chapter 1: What is the MuleSoft Platform? FREE CHAPTER 2. Chapter 2: Platform Foundation Components and the Underlying Architecture 3. Chapter 3: Leveraging Catalyst and the MuleSoft Knowledge Hub 4. Chapter 4: An Introduction to Application Networks 5. Chapter 5: Speeding with Accelerators 6. Chapter 6: Aligning Desired Business Outcomes to Functional Requirements 7. Chapter 7: Microservices, Application Networks, EDA, and API-led Design 8. Chapter 8: Non-Functional Requirements Influence in Shaping the API Architecture 9. Chapter 9: Hassle-free Deployment with Anypoint iPaaS (CloudHub 1.0) 10. Chapter 10: Hassle-Free Deployment with Anypoint iPaaS (CloudHub 2.0) 11. Chapter 11: Containerizing the Runtime Plane with Runtime Fabric 12. Chapter 12: Deploying to Your Own Data Center 13. Chapter 13: Government Cloud and the EU Control Plane – Special Considerations 14. Chapter 14: Functional Monitoring, Alerts, and Operation Monitors 15. Chapter 15: Controlling API Sprawl with Universal API Management 16. Chapter 16: Addressing Non-Functional Requirements – from a Thought to an Operation 17. Chapter 17: Prepare for Success 18. Chapter 18: Tackling Tricky Topics 19. Index 20. Other Books You May Enjoy

The Competing Consumers pattern

Multiple consumers from the same channel can process messages in parallel thanks to the Competing Consumers pattern. When multiple consumers of the same pool instance need to process several small tasks in parallel and asynchronously, this pattern comes in handy.

In a normal scenario, the traffic coming to the message broker from the publisher is low, and the consumer can process messages at the rate at which they come from the publisher, as shown in Figure 7.7.

Figure 7.7 - Competing Consumers pattern for low traffic

Figure 7.7 - Competing Consumers pattern for low traffic

There might be a scenario where the ingress traffic increases, such as when publishers start sending more messages to the queue or the number of publishers increases. In this case, the rate at which messages are published to the queue is faster than that at which they are consumed.

If this happens, we can increase the number of consumers listening to a message stream and allow more than one consumer per...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image