2 Pulsar Concepts and Architecture
This chapter covers
- Overview of Pulsar concepts and architecture.
- How to launch a Pulsar cluster on your laptop using Docker
- How to interact with Pulsar using its command-line tools
- How to interact with Pulsar using the Java client library
Now that you have been introduced to the Pulsar messaging platform and how it compares to other messaging systems, I will drill down into the low-level architectural details of the platform and cover some of the unique terminology used by the platform. If you are unfamiliar with messaging systems and distributed systems, then it might be difficult to wrap your head around some of the Pulsar's concepts and terminology. Therefore, I will introduce them in a progressive fashion using a more concrete example.
2.1 Pulsar’s Logical Architecture
Our food delivery platform will have multiple services using the Pulsar messaging platform to send and receive information between one another. The ones we are concerned about for our mobile application include the driver location service which publishes the driver’s location events that we use to update the customer on the status of their order while it is in-route. Since we are anticipating a large volume of customers during peak times, there could potentially be 10s of thousands of subscriptions to our driver location topic, one for each outstanding food order.