SlideShare a Scribd company logo
1
2
Who are we?
Ø Staff Engineer, Cloud Data Platforms Team at Nutanix
Ø Loves Distributed Systems
Ø Open-Source fanatic
Ø All my previous pulsar talks on my Youtube Playlist
Ø Pulsar & MySQL Contributor
Ø Loves Distributed Systems
Ø SME for Apache Pulsar
Ø Decade of experience with Apps, infra and cloud!
Shivji Kumar Jha
Staff Engineer at Nutanix,
Apache Pulsar Contributor
Sourabh Agrawal
MTS-4 at Nutanix
Legal Disclaimer
• Forward Looking Statements
• This presentation and the accompanying oral commentary may contain express and implied forward-looking statements, including, but not limited to, statements relating to: our business plans, initiatives and
objectives; our ability to execute such plans, initiatives and objectives in a timely manner, and the benefits and impact of such plans, initiatives and objectives, including our ability to manage our expenses in
future periods; our financial model targets and our plans to achieve those targets; the benefits and capabilities of our platform, products, services and technology; our plans and expectations regarding new
products, services, product features and technology, including those that are still under development or in process; the timing of any product releases or upgrades or announcements; anticipated trends,
growth rates and challenges in our business and in the markets in which we operate; our ability to develop new solutions, product features and technology and bring them to market in a timely manner, as well
as the impact and/or benefits of including additional solutions or features in our product portfolio; market acceptance of new technology and recently introduced solutions; the interoperability and availability
of our solutions with and on third-party platforms, including public cloud platforms; our ability to maintain and strengthen our relationships with our channel partners, OEMs and other third parties, and the
impact of any changes to such relationships on our business, operations and financial results; the competitive market, including our competitive position and ability to compete effectively, our projections about
our market share in future periods, the competitiveness of our future cost structure with those of other companies, and the competitive advantages of our products; our plans and timing for, and the success
and impact of, our transition to a subscription-based business model; and macroeconomic trends and geopolitical environment, including the on-going global supply chain disruptions.
• These forward-looking statements are not historical facts and instead are based on our current expectations, estimates, opinions, and beliefs. Forward-looking statements should not be considered as
guarantees or predictions of future events. Consequently, you should not rely on these forward-looking statements. The accuracy of these forward-looking statements depends upon future events and involves
risks, uncertainties, and other factors, including factors that may be beyond our control, that may cause these statements to be inaccurate and cause our actual results, performance or achievements to differ
materially and adversely from those anticipated or implied by such statements, including, among others, the risks detailed in our most recent Annual Report on Form 10-K and Quarterly Reports on Form 10-Q,
each as filed with the U.S. Securities and Exchange Commission, or the SEC, which should be read in conjunction with the information in this presentation and accompanying oral commentary. Our SEC filings
are available on the Investor Relations section of our website at ir.nutanix.com and on the SEC's website at www.sec.gov. These forward-looking statements speak only as of the date of this presentation and
accompanying oral commentary and, except as required by law, we assume no obligation, and expressly disclaim any obligation, to update, alter or otherwise revise any of these forward-looking statements to
reflect actual results or subsequent events or circumstances.
• Product or Roadmap Information
• Any future product or roadmap information included in this presentation and the accompanying oral commentary is (i) intended to outline general product directions, (ii) not a commitment, promise or legal
obligation for Nutanix to deliver any material, code, or functionality, and (iii) not intended to be, and shall not be deemed to be, incorporated into any contract. This information should not be used when
making a purchasing decision. Further, note that Nutanix has made no determination as to whether separate fees will be charged for any future products, product enhancements and/or functionality which may
ultimately be made available. Nutanix may, in its own discretion, choose to charge separate fees for the delivery of any future products, product enhancements and/or functionality which are ultimately made
available.
• Third Party Reports and Publications
• Certain information contained in the presentation and accompanying oral commentary made available as part of this digital event may relate to or be based on reports, studies, publications, surveys and other
data obtained from third-party sources and our own internal estimates and research. While we believe these third-party reports, studies, publications, surveys and other data are reliable as of the date of the
applicable presentation, they have not independently verified, and we make no representation as to the adequacy, fairness, accuracy, or completeness of any information obtained from third-party sources.
• Trademark Disclaimer
• © 2022 Nutanix, Inc. All rights reserved. Nutanix, the Nutanix logo, and all Nutanix product, feature, and service names mentioned herein are registered trademarks or trademarks of Nutanix, Inc. in the United
States and other countries. Other brand names or logos mentioned or used herein are for identification purposes only and may be the trademarks of their respective holder(s). Nutanix may not be associated
with, or be sponsored or endorsed by, any such holder(s).
3
4
What do we do?
Ø Nutanix unifies public cloud simplicity with private cloud
performance and security
Ø Whether on-premises or hybrid, we’ll ensure business
continuity through centralized management, one-click
operations
Ø More than 20,000 leading companies trust Nutanix
Supported Clouds
https://www.nutanix.com/
What we do at Nutanix!
5
Apache Pulsar is a cloud-native, distributed, open-
source pub-sub messaging and streaming platform.
Originally developed by Yahoo and contributed to
the Apache Software Foundation in 2016.
6
Agenda
• What we love about Pulsar after 4 years in production!
• Pulsar Architecture
• Segment Oriented Storage
• Workload Isolation
• Multi-Tenancy
• Geo-Replication
• Subscription Choices
• Design Patterns
• Challenges / Learnings
Apache Pulsar is a cloud-native, distributed, open-
source pub-sub messaging and streaming platform.
Originally developed by Yahoo and contributed to
the Apache Software Foundation in 2016.
Pulsar Architecture
7
Broker
Zookeeper
Producer
Pulsar lib
Consumer
Pulsar lib
Managed
Ledger
Bookie
Client
Cache
Global
Replicator
Dispatcher
Load
Balancer
Bookie
Picture Credits: https://pulsar.staged.apache.org/docs/assets/pulsar-system-architecture.png
8
Segment Based Storage
9
Topic
Partitioned Topic 1 Partitioned Topic 2 Partitioned Topic 3
Segment 1 Segment 2 Segment 3
Entry Log 1 Entry Log 2 Entry Log 3
Msg 1 Msg 2 Msg 3 Msg 4
10
Workload Isolation
11
Broker Isolation
Picture Credit - https://pulsar.apache.org/assets/images/isolation-1-67815ccbaa7aa9d6c95d9b53b6b8a2b9.png
Metadata store: topic metadata, schema, broker load data, etc
Configuration store: clusters, tenants, namespaces, partitioned
topic-related configurations, etc 12
Broker Isolation
with ns-isolation
Picture Credits: https://pulsar.apache.org/assets/images/isolation-4-16f47c4aad3422d4e4c88b575939adfa.png
Namespace-A Namespace-C
Namespace-A Namespace-C
13
Broker Isolation
With Anti-affinity
Picture Credit - https://pulsar.apache.org/assets/images/isolation-1-67815ccbaa7aa9d6c95d9b53b6b8a2b9.png
14
Bookie Isolation
Picture Credits - https://pulsar.apache.org/assets/images/isolation-3-b5d76b67b80f949373ff98aba9aff4c7.png
15
Multi-Tenancy
16
17
Tenants
Namespaces
Topics
Pulsar Cluster
(autoCreate = true)
(Administrative unit)
BusinessUnit/CostCenter
Usecase/Teams
Features/Microservices
Eg: Swiggy / Zomato
Fine Dining
App
Food Grocery
Restaurant
Super
Market
Take Away
Delivery
Take Away
Medicines
Pharma
Delivery
Take Away
Geo-Replication
This Photo by Unknown Author is licensed under CC BY-NC
18
Cluster- A
Producer
P1
Consumer
C1
Topic
T1
Subscription
S1
Cluster- B
Producer
P2
Consumer
C2
Topic
T1
Subscription
S1
Producer
P3
Topic
T2
Cluster- C
Pcture Credits - https://pulsar.apache.org/assets/images/geo-replication-34036a887215513a9173d150f92e093e.png
us-east-1 us-west-1
ap-south-1
19
Subscription Choices
20
21
Picture Credit - https://pulsar.apache.org/assets/images/pulsar-subscription-types-
664733b68c7124129ca7d0e04dedcb96.png
Design Patterns
22
23
Streaming + Queueing
CDC
24
Pulsar-io-cloud-storage-connector
Streaming
25
Challenges / Learnings
26
• Rough edges around schema repository
• Fixed & Open-sourced
• No Authentication support in Flink connector
• Fixed & Open-sourced
• No Druid Connector
• Workaround with KoP
• Pulsar Admin UI needs more attention. We do use it in production!
• Topic owned by 1 broker, no follower, issues with locality in cross region setups.
• When you setup for the first time it might seem like a steep learning curve as a result
of multiple modules (broker, bookkeeper and zookeeper).
• Although modularity has its obvious advantages.
• What matters in long term is daily operations and optimum resource utilization.
• Last resort Streaming Choice!
27
Sounds Good!
Where can I learn more?
28
29
• Pulsar Storage Internals :
• Pulsar Summit NA 2021 : How Pulsar Stores your data
• Workload Isolation Techniques in Pulsar and Setup
• Pulsar Summit Asia 2021: Designing Pulsar Clients to Run in Isolation
• KoP and a demo on how to workaround if no connector
• Pulsar Summit Asia 2022: Streaming Wars and How Apache Pulsar is acing the battle
• This talk also presents an engineering perspective on : Pulsar, Kafka, Kinesis and NATS
• More on the flink based design and use cases
• Pulsar Summit Asia 2022 : Keeping on top of hybrid cloud usage with Pulsar
• CDC and Event Streaming on Apace Pulsar
• EventSourcing 2021: Streaming App Changes to Event Store
• Why we Chose Apache Pulsar:
• StreamNative Webinar: Lessons From managing A Pulsar Cluster
• Key Shared Subscription
• Apache Pulsar Updates & Key Shared Subscriptions – August 11, 2021
• Complete Playlist on Pulsar Internals
• TGI Pulsar Playlist by Sijie Guo
• https://pulsar.apache.org/docs
30
Shivji Kumar Jha
shiv4289
in/shivjijha
@shivjiJha
in/sourabhaggrawal/
Souravagrawal1111
shiv4289
Thanks!
Questions?
Sourabh Agrawal

More Related Content

Similar to Apache Pulsar Design Choices and use-cases

PT105: Microsegmentation Made Easy
PT105: Microsegmentation Made EasyPT105: Microsegmentation Made Easy
PT105: Microsegmentation Made EasyNEXTtour
 
AW110: Sizing And Scaling Nutanix For Performance
AW110: Sizing And Scaling Nutanix For PerformanceAW110: Sizing And Scaling Nutanix For Performance
AW110: Sizing And Scaling Nutanix For PerformanceNEXTtour
 
PT203: SOS! NUTANIX TROUBLESHOOTING
PT203: SOS! NUTANIX TROUBLESHOOTINGPT203: SOS! NUTANIX TROUBLESHOOTING
PT203: SOS! NUTANIX TROUBLESHOOTINGNEXTtour
 
AW101: All Microsoft Apps. One Platform
AW101: All Microsoft Apps. One PlatformAW101: All Microsoft Apps. One Platform
AW101: All Microsoft Apps. One PlatformNEXTtour
 
Bootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDX
Bootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDXBootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDX
Bootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDXAutoRABIT
 
Dropbox Fiscal 2023 Second Quarter Presentation.pdf
Dropbox Fiscal 2023 Second Quarter Presentation.pdfDropbox Fiscal 2023 Second Quarter Presentation.pdf
Dropbox Fiscal 2023 Second Quarter Presentation.pdfDropbox
 
Q1 2023 DBX Investor Presentation
Q1 2023 DBX Investor PresentationQ1 2023 DBX Investor Presentation
Q1 2023 DBX Investor PresentationDropbox
 
ISV Tech Talk: Usage Metrics (October 15, 2014)
ISV Tech Talk: Usage Metrics (October 15, 2014)ISV Tech Talk: Usage Metrics (October 15, 2014)
ISV Tech Talk: Usage Metrics (October 15, 2014)Salesforce Partners
 
NF101: Nutanix 101
NF101: Nutanix 101NF101: Nutanix 101
NF101: Nutanix 101NEXTtour
 
NF102: Nutanix AHV Basics
NF102: Nutanix AHV BasicsNF102: Nutanix AHV Basics
NF102: Nutanix AHV BasicsNEXTtour
 
Toronto Developer Group - Winter 24' Release Highlights.pptx
Toronto Developer Group - Winter 24' Release Highlights.pptxToronto Developer Group - Winter 24' Release Highlights.pptx
Toronto Developer Group - Winter 24' Release Highlights.pptxKaranraj Sankaranarayanan
 
Q3 2022 DBX Investor Presentation.pdf
Q3 2022 DBX Investor Presentation.pdfQ3 2022 DBX Investor Presentation.pdf
Q3 2022 DBX Investor Presentation.pdfDropbox
 
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIsDreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIsHormoz Tarevern
 
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSalesforce Developers
 
Q4 2022 DBX Investor Presentation.pdf
Q4 2022 DBX Investor Presentation.pdfQ4 2022 DBX Investor Presentation.pdf
Q4 2022 DBX Investor Presentation.pdfDropbox
 
Q1 2022 DBX Investor Presentation
Q1 2022 DBX Investor PresentationQ1 2022 DBX Investor Presentation
Q1 2022 DBX Investor PresentationDropbox
 
Q1 2022 DBX Investor Presentation vF.pdf
Q1 2022 DBX Investor Presentation vF.pdfQ1 2022 DBX Investor Presentation vF.pdf
Q1 2022 DBX Investor Presentation vF.pdfDropbox
 
Q1 2022 DBX Investor Presentation
Q1 2022 DBX Investor PresentationQ1 2022 DBX Investor Presentation
Q1 2022 DBX Investor PresentationDropbox
 
Streamline search with Elasticsearch Service on Microsoft Azure
Streamline search with Elasticsearch Service on Microsoft AzureStreamline search with Elasticsearch Service on Microsoft Azure
Streamline search with Elasticsearch Service on Microsoft AzureElasticsearch
 
Cybersecurity: Intelligence, innovation, and information warfare
Cybersecurity: Intelligence, innovation, and information warfareCybersecurity: Intelligence, innovation, and information warfare
Cybersecurity: Intelligence, innovation, and information warfareElasticsearch
 

Similar to Apache Pulsar Design Choices and use-cases (20)

PT105: Microsegmentation Made Easy
PT105: Microsegmentation Made EasyPT105: Microsegmentation Made Easy
PT105: Microsegmentation Made Easy
 
AW110: Sizing And Scaling Nutanix For Performance
AW110: Sizing And Scaling Nutanix For PerformanceAW110: Sizing And Scaling Nutanix For Performance
AW110: Sizing And Scaling Nutanix For Performance
 
PT203: SOS! NUTANIX TROUBLESHOOTING
PT203: SOS! NUTANIX TROUBLESHOOTINGPT203: SOS! NUTANIX TROUBLESHOOTING
PT203: SOS! NUTANIX TROUBLESHOOTING
 
AW101: All Microsoft Apps. One Platform
AW101: All Microsoft Apps. One PlatformAW101: All Microsoft Apps. One Platform
AW101: All Microsoft Apps. One Platform
 
Bootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDX
Bootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDXBootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDX
Bootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDX
 
Dropbox Fiscal 2023 Second Quarter Presentation.pdf
Dropbox Fiscal 2023 Second Quarter Presentation.pdfDropbox Fiscal 2023 Second Quarter Presentation.pdf
Dropbox Fiscal 2023 Second Quarter Presentation.pdf
 
Q1 2023 DBX Investor Presentation
Q1 2023 DBX Investor PresentationQ1 2023 DBX Investor Presentation
Q1 2023 DBX Investor Presentation
 
ISV Tech Talk: Usage Metrics (October 15, 2014)
ISV Tech Talk: Usage Metrics (October 15, 2014)ISV Tech Talk: Usage Metrics (October 15, 2014)
ISV Tech Talk: Usage Metrics (October 15, 2014)
 
NF101: Nutanix 101
NF101: Nutanix 101NF101: Nutanix 101
NF101: Nutanix 101
 
NF102: Nutanix AHV Basics
NF102: Nutanix AHV BasicsNF102: Nutanix AHV Basics
NF102: Nutanix AHV Basics
 
Toronto Developer Group - Winter 24' Release Highlights.pptx
Toronto Developer Group - Winter 24' Release Highlights.pptxToronto Developer Group - Winter 24' Release Highlights.pptx
Toronto Developer Group - Winter 24' Release Highlights.pptx
 
Q3 2022 DBX Investor Presentation.pdf
Q3 2022 DBX Investor Presentation.pdfQ3 2022 DBX Investor Presentation.pdf
Q3 2022 DBX Investor Presentation.pdf
 
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIsDreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
 
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
 
Q4 2022 DBX Investor Presentation.pdf
Q4 2022 DBX Investor Presentation.pdfQ4 2022 DBX Investor Presentation.pdf
Q4 2022 DBX Investor Presentation.pdf
 
Q1 2022 DBX Investor Presentation
Q1 2022 DBX Investor PresentationQ1 2022 DBX Investor Presentation
Q1 2022 DBX Investor Presentation
 
Q1 2022 DBX Investor Presentation vF.pdf
Q1 2022 DBX Investor Presentation vF.pdfQ1 2022 DBX Investor Presentation vF.pdf
Q1 2022 DBX Investor Presentation vF.pdf
 
Q1 2022 DBX Investor Presentation
Q1 2022 DBX Investor PresentationQ1 2022 DBX Investor Presentation
Q1 2022 DBX Investor Presentation
 
Streamline search with Elasticsearch Service on Microsoft Azure
Streamline search with Elasticsearch Service on Microsoft AzureStreamline search with Elasticsearch Service on Microsoft Azure
Streamline search with Elasticsearch Service on Microsoft Azure
 
Cybersecurity: Intelligence, innovation, and information warfare
Cybersecurity: Intelligence, innovation, and information warfareCybersecurity: Intelligence, innovation, and information warfare
Cybersecurity: Intelligence, innovation, and information warfare
 

Recently uploaded

How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfFIDO Alliance
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityScyllaDB
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...FIDO Alliance
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfFIDO Alliance
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...FIDO Alliance
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty SecureFemke de Vroome
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Julian Hyde
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastUXDXConf
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsUXDXConf
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024Stephanie Beckett
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon
 
Buy Epson EcoTank L3210 Colour Printer Online.pdf
Buy Epson EcoTank L3210 Colour Printer Online.pdfBuy Epson EcoTank L3210 Colour Printer Online.pdf
Buy Epson EcoTank L3210 Colour Printer Online.pdfEasyPrinterHelp
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2DianaGray10
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCzechDreamin
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Patrick Viafore
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 

Recently uploaded (20)

How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
Buy Epson EcoTank L3210 Colour Printer Online.pdf
Buy Epson EcoTank L3210 Colour Printer Online.pdfBuy Epson EcoTank L3210 Colour Printer Online.pdf
Buy Epson EcoTank L3210 Colour Printer Online.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 

Apache Pulsar Design Choices and use-cases

  • 1. 1
  • 2. 2 Who are we? Ø Staff Engineer, Cloud Data Platforms Team at Nutanix Ø Loves Distributed Systems Ø Open-Source fanatic Ø All my previous pulsar talks on my Youtube Playlist Ø Pulsar & MySQL Contributor Ø Loves Distributed Systems Ø SME for Apache Pulsar Ø Decade of experience with Apps, infra and cloud! Shivji Kumar Jha Staff Engineer at Nutanix, Apache Pulsar Contributor Sourabh Agrawal MTS-4 at Nutanix
  • 3. Legal Disclaimer • Forward Looking Statements • This presentation and the accompanying oral commentary may contain express and implied forward-looking statements, including, but not limited to, statements relating to: our business plans, initiatives and objectives; our ability to execute such plans, initiatives and objectives in a timely manner, and the benefits and impact of such plans, initiatives and objectives, including our ability to manage our expenses in future periods; our financial model targets and our plans to achieve those targets; the benefits and capabilities of our platform, products, services and technology; our plans and expectations regarding new products, services, product features and technology, including those that are still under development or in process; the timing of any product releases or upgrades or announcements; anticipated trends, growth rates and challenges in our business and in the markets in which we operate; our ability to develop new solutions, product features and technology and bring them to market in a timely manner, as well as the impact and/or benefits of including additional solutions or features in our product portfolio; market acceptance of new technology and recently introduced solutions; the interoperability and availability of our solutions with and on third-party platforms, including public cloud platforms; our ability to maintain and strengthen our relationships with our channel partners, OEMs and other third parties, and the impact of any changes to such relationships on our business, operations and financial results; the competitive market, including our competitive position and ability to compete effectively, our projections about our market share in future periods, the competitiveness of our future cost structure with those of other companies, and the competitive advantages of our products; our plans and timing for, and the success and impact of, our transition to a subscription-based business model; and macroeconomic trends and geopolitical environment, including the on-going global supply chain disruptions. • These forward-looking statements are not historical facts and instead are based on our current expectations, estimates, opinions, and beliefs. Forward-looking statements should not be considered as guarantees or predictions of future events. Consequently, you should not rely on these forward-looking statements. The accuracy of these forward-looking statements depends upon future events and involves risks, uncertainties, and other factors, including factors that may be beyond our control, that may cause these statements to be inaccurate and cause our actual results, performance or achievements to differ materially and adversely from those anticipated or implied by such statements, including, among others, the risks detailed in our most recent Annual Report on Form 10-K and Quarterly Reports on Form 10-Q, each as filed with the U.S. Securities and Exchange Commission, or the SEC, which should be read in conjunction with the information in this presentation and accompanying oral commentary. Our SEC filings are available on the Investor Relations section of our website at ir.nutanix.com and on the SEC's website at www.sec.gov. These forward-looking statements speak only as of the date of this presentation and accompanying oral commentary and, except as required by law, we assume no obligation, and expressly disclaim any obligation, to update, alter or otherwise revise any of these forward-looking statements to reflect actual results or subsequent events or circumstances. • Product or Roadmap Information • Any future product or roadmap information included in this presentation and the accompanying oral commentary is (i) intended to outline general product directions, (ii) not a commitment, promise or legal obligation for Nutanix to deliver any material, code, or functionality, and (iii) not intended to be, and shall not be deemed to be, incorporated into any contract. This information should not be used when making a purchasing decision. Further, note that Nutanix has made no determination as to whether separate fees will be charged for any future products, product enhancements and/or functionality which may ultimately be made available. Nutanix may, in its own discretion, choose to charge separate fees for the delivery of any future products, product enhancements and/or functionality which are ultimately made available. • Third Party Reports and Publications • Certain information contained in the presentation and accompanying oral commentary made available as part of this digital event may relate to or be based on reports, studies, publications, surveys and other data obtained from third-party sources and our own internal estimates and research. While we believe these third-party reports, studies, publications, surveys and other data are reliable as of the date of the applicable presentation, they have not independently verified, and we make no representation as to the adequacy, fairness, accuracy, or completeness of any information obtained from third-party sources. • Trademark Disclaimer • © 2022 Nutanix, Inc. All rights reserved. Nutanix, the Nutanix logo, and all Nutanix product, feature, and service names mentioned herein are registered trademarks or trademarks of Nutanix, Inc. in the United States and other countries. Other brand names or logos mentioned or used herein are for identification purposes only and may be the trademarks of their respective holder(s). Nutanix may not be associated with, or be sponsored or endorsed by, any such holder(s). 3
  • 4. 4 What do we do? Ø Nutanix unifies public cloud simplicity with private cloud performance and security Ø Whether on-premises or hybrid, we’ll ensure business continuity through centralized management, one-click operations Ø More than 20,000 leading companies trust Nutanix Supported Clouds https://www.nutanix.com/ What we do at Nutanix!
  • 5. 5 Apache Pulsar is a cloud-native, distributed, open- source pub-sub messaging and streaming platform. Originally developed by Yahoo and contributed to the Apache Software Foundation in 2016.
  • 6. 6 Agenda • What we love about Pulsar after 4 years in production! • Pulsar Architecture • Segment Oriented Storage • Workload Isolation • Multi-Tenancy • Geo-Replication • Subscription Choices • Design Patterns • Challenges / Learnings Apache Pulsar is a cloud-native, distributed, open- source pub-sub messaging and streaming platform. Originally developed by Yahoo and contributed to the Apache Software Foundation in 2016.
  • 10. Topic Partitioned Topic 1 Partitioned Topic 2 Partitioned Topic 3 Segment 1 Segment 2 Segment 3 Entry Log 1 Entry Log 2 Entry Log 3 Msg 1 Msg 2 Msg 3 Msg 4 10
  • 12. Broker Isolation Picture Credit - https://pulsar.apache.org/assets/images/isolation-1-67815ccbaa7aa9d6c95d9b53b6b8a2b9.png Metadata store: topic metadata, schema, broker load data, etc Configuration store: clusters, tenants, namespaces, partitioned topic-related configurations, etc 12
  • 13. Broker Isolation with ns-isolation Picture Credits: https://pulsar.apache.org/assets/images/isolation-4-16f47c4aad3422d4e4c88b575939adfa.png Namespace-A Namespace-C Namespace-A Namespace-C 13
  • 14. Broker Isolation With Anti-affinity Picture Credit - https://pulsar.apache.org/assets/images/isolation-1-67815ccbaa7aa9d6c95d9b53b6b8a2b9.png 14
  • 15. Bookie Isolation Picture Credits - https://pulsar.apache.org/assets/images/isolation-3-b5d76b67b80f949373ff98aba9aff4c7.png 15
  • 17. 17 Tenants Namespaces Topics Pulsar Cluster (autoCreate = true) (Administrative unit) BusinessUnit/CostCenter Usecase/Teams Features/Microservices Eg: Swiggy / Zomato Fine Dining App Food Grocery Restaurant Super Market Take Away Delivery Take Away Medicines Pharma Delivery Take Away
  • 18. Geo-Replication This Photo by Unknown Author is licensed under CC BY-NC 18
  • 19. Cluster- A Producer P1 Consumer C1 Topic T1 Subscription S1 Cluster- B Producer P2 Consumer C2 Topic T1 Subscription S1 Producer P3 Topic T2 Cluster- C Pcture Credits - https://pulsar.apache.org/assets/images/geo-replication-34036a887215513a9173d150f92e093e.png us-east-1 us-west-1 ap-south-1 19
  • 21. 21 Picture Credit - https://pulsar.apache.org/assets/images/pulsar-subscription-types- 664733b68c7124129ca7d0e04dedcb96.png
  • 27. • Rough edges around schema repository • Fixed & Open-sourced • No Authentication support in Flink connector • Fixed & Open-sourced • No Druid Connector • Workaround with KoP • Pulsar Admin UI needs more attention. We do use it in production! • Topic owned by 1 broker, no follower, issues with locality in cross region setups. • When you setup for the first time it might seem like a steep learning curve as a result of multiple modules (broker, bookkeeper and zookeeper). • Although modularity has its obvious advantages. • What matters in long term is daily operations and optimum resource utilization. • Last resort Streaming Choice! 27
  • 28. Sounds Good! Where can I learn more? 28
  • 29. 29 • Pulsar Storage Internals : • Pulsar Summit NA 2021 : How Pulsar Stores your data • Workload Isolation Techniques in Pulsar and Setup • Pulsar Summit Asia 2021: Designing Pulsar Clients to Run in Isolation • KoP and a demo on how to workaround if no connector • Pulsar Summit Asia 2022: Streaming Wars and How Apache Pulsar is acing the battle • This talk also presents an engineering perspective on : Pulsar, Kafka, Kinesis and NATS • More on the flink based design and use cases • Pulsar Summit Asia 2022 : Keeping on top of hybrid cloud usage with Pulsar • CDC and Event Streaming on Apace Pulsar • EventSourcing 2021: Streaming App Changes to Event Store • Why we Chose Apache Pulsar: • StreamNative Webinar: Lessons From managing A Pulsar Cluster • Key Shared Subscription • Apache Pulsar Updates & Key Shared Subscriptions – August 11, 2021 • Complete Playlist on Pulsar Internals • TGI Pulsar Playlist by Sijie Guo • https://pulsar.apache.org/docs