SlideShare a Scribd company logo
1 of 22
Download to read offline
26th
Mar 2022
Thiruvananthapuram MuleSoft
Meetup Group
Anypoint DataGraph and Async APIs
2
● Introductions
● Anypoint Datagraph
● Async API
● Networking time
Agenda
3
● About the organizer:
○ Vikalp Bhalia (Apisero - Associate Solution Architect)
○ Snehal Kulat (Persistent Systems)
○ Dinesh Garg (Apisero - Solution Architect)
Introductions
A SHOW OF HANDS:
Who is new to this Meetup?
Overview and Demo
Anypoint DataGraph
5
● Anypoint DataGraph is a component of Anypoint Platform which allows us to unify APIs into one
data service. Enterprise architects can easily unify APIs into one data service — all without
writing more code. Developers can consume multiple APIs from the data service in a single
GraphQL request.
● Create a unified schema of your APIs to democratize data access across your org
● Run the DataGraph as a SaaS app to reduce overhead and maintenance
● Consume and reuse multiple APIs in a single GraphQL request to innovate faster
● With Anypoint DataGraph you can: 
○ Dynamically query data from a unified schema
○ Explore your application network from a single UI
○ Discover, reuse, and serve information from your application network without writing new code
Anypoint DataGraph Overview
6
● A query language for your API
● GraphQL is a query language for APIs and a runtime for fulfilling those queries with your
existing data.
● GraphQL provides a complete and understandable description of the data in your API, gives
clients the power to ask for exactly what they need and nothing more, makes it easier to
evolve APIs over time, and enables powerful developer tools.
What is GraphQL?
7
● Let’s consider a scenario, you have REST API that returns 10 fields in response but mobile
application requires only 4 fields whereas web application requires 5 fields. In such cases
DataGraph is one of the most optimal options where the client can pass whatever data
required
as input request, and DataGraph will return the required fields to the mobile application and
web
application. Below is the illustration of Use case 1.
Use case 1
8
Use case 1 illustration using DataGraph
9
● Let’s consider a scenario, where you have to call multiple REST APIs or want to fetch data
from multiple REST APIs and each API will respond with JSON payload. GraphQL will
aggregate all the responses and send back the required data to the client. Below is the
illustration of Use case 2.
Use case 2
10
Use case 2 illustration using DataGraph
11
● Anypoint DataGraph supports:
○ REST APIs with RAML and OAS Specifications.
○ GET method
○ Upto 250 APIs per Unified Schema
○ Upto 16,000 fields per Unified Schema
● Anypoint DataGraph restricts downstream REST API calls to:
○ A maximum of 150 concurrent or ongoing calls per Unified Schema
○ A 5 second timeout per call
○ A maximum of 5 MB of response data per call
● Anypoint DataGraph limits the query service to:
○ A 30 seconds timeout per query
○ Max 100 selected fields per query
Limitations
12
● Basic Authentication
● Client ID enforcement via Header/Query Parameters
● Custom (using custom headers or query parameters)
● Passthrough
● No Auth
API Authentication mechanisms supported
currently
Overview and Demo
Async API
14
● 98.5% of API polls do not return any new information
● Excessive coupling limits flexibility to add new services
● Failures cascade through all the coupled services
● Response times to the customer are slow
Common problems with synchronous
communication
15
● Many developers, architects, and product managers have used REST APIs and are
familiar with the synchronous communication paradigm. You make a request and wait
for the response. This is exactly how the world wide web works.
● However, there are certain situations where you don't really need a response from the
server. This is also called "fire and forget", and it's very useful when you just want to
communicate or inform that "something happened.“
● Some examples of this can be:
○ A user just signed up
○ You have a new follower.
● Core concepts:
Event-driven architectures
16
Event-driven architectures have existed for decades, promising to deliver powerful, loosely
coupled experiences which are highly adaptable and responsive.
Unfortunately, the biggest challenges impeding the widespread adoption of event-driven
architectures have been three-fold:
● Visibility: Developers lack visibility into existing events, their current use, and details on how
to reuse an existing event.
● Governance: IT teams lack industry-standard best practices and conventions for defining
machine and human-readable event-driven APIs.
● Discovery: Developers need to work with multiple protocols (JMS, MQTT, AMQP, Kafka, etc.),
which can be challenging.
Challenges with event-driven architectures
17
Developers can now design event-driven APIs using AsyncAPI specification — a
protocol-agnostic human and machine-readable format — to unlock and expose events in the
enterprise.
Async API
18
Async API – Mulesoft scope
Event-driven API is supported in Anypoint Platform through AsyncAPI.
You can publish AsyncAPI specifications to share with partners,
customers, and developers.
You can create or import your AsyncAPI specifications in API Designer
and then edit, document, and publish them.
AsyncAPI makes it easy to work with event-driven architecture by
separating the API into three layers:
● Events: Message or data to be shared with other services
● Channels: Destination of the message to be sent or received
● Transport: Technology that transports the message, such as
RabbitMQ, Kafka, or Anypoint MQ
Anypoint Studio and Flow Designer do not support AsyncAPI. If you open
an AsyncAPI specification or asset in one of these tools, an error
message is displayed.
19
● Payment Service: 
○ payment – publish – this is queue that user can push message to initiate payment process
○ payment/failed – subscribe – this is a queue that user can subscribe to, to receive event notifications
about failed payments
○ payment/approved – subscribe – this is a queue that user can subscribe to, to receive event
notification about approved payments
Use case
20
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ https://meetups.mulesoft.com/thiruvananthapuram/
● Feedback:
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
What’s next?
Introduce yourself to your neighbor
Networking time
Thank you

More Related Content

What's hot

apidays LIVE Paris - Augmenting a Legacy REST API with GraphQL by Clément Vil...
apidays LIVE Paris - Augmenting a Legacy REST API with GraphQL by Clément Vil...apidays LIVE Paris - Augmenting a Legacy REST API with GraphQL by Clément Vil...
apidays LIVE Paris - Augmenting a Legacy REST API with GraphQL by Clément Vil...apidays
 
Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...
Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...
Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...Flink Forward
 
apidays LIVE Paris - GraphQL: the AppSec perspective by Vladimir de Turckheim
apidays LIVE Paris - GraphQL: the AppSec perspective by Vladimir de Turckheimapidays LIVE Paris - GraphQL: the AppSec perspective by Vladimir de Turckheim
apidays LIVE Paris - GraphQL: the AppSec perspective by Vladimir de Turckheimapidays
 
LeanIX GraphQL Lessons Learned - CodeTalks 2017
LeanIX GraphQL Lessons Learned - CodeTalks 2017LeanIX GraphQL Lessons Learned - CodeTalks 2017
LeanIX GraphQL Lessons Learned - CodeTalks 2017LeanIX GmbH
 
apidays LIVE London 2021 - API Security in Highly Volatile Threat Landscapes ...
apidays LIVE London 2021 - API Security in Highly Volatile Threat Landscapes ...apidays LIVE London 2021 - API Security in Highly Volatile Threat Landscapes ...
apidays LIVE London 2021 - API Security in Highly Volatile Threat Landscapes ...apidays
 
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...Flink Forward
 
Cloud Native API Management : Microservices to APIs in Kubernetes
Cloud Native API Management : Microservices to APIs in KubernetesCloud Native API Management : Microservices to APIs in Kubernetes
Cloud Native API Management : Microservices to APIs in KubernetesWSO2
 
Weavework Flagger Demo- AWS Container Day 2019 Barcelona
Weavework Flagger Demo- AWS Container Day 2019 BarcelonaWeavework Flagger Demo- AWS Container Day 2019 Barcelona
Weavework Flagger Demo- AWS Container Day 2019 BarcelonaAmazon Web Services
 
Tamino Mobile - XML based Integration, Development and Application Services f...
Tamino Mobile - XML based Integration, Development and Application Services f...Tamino Mobile - XML based Integration, Development and Application Services f...
Tamino Mobile - XML based Integration, Development and Application Services f...mfrancis
 
The Elephant in the Kubernetes Room - Team Interactions at Scale @ KubeCon No...
The Elephant in the Kubernetes Room - Team Interactions at Scale @ KubeCon No...The Elephant in the Kubernetes Room - Team Interactions at Scale @ KubeCon No...
The Elephant in the Kubernetes Room - Team Interactions at Scale @ KubeCon No...Manuel Pais
 
Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...
Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...
Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...Flink Forward
 
[Workshop] API-driven Integration
[Workshop] API-driven Integration[Workshop] API-driven Integration
[Workshop] API-driven IntegrationWSO2
 
Alex Nauda [Nobl9] | How Not to Build an SLO Platform | InfluxDays NA 2021
Alex Nauda [Nobl9] | How Not to Build an SLO Platform | InfluxDays NA 2021Alex Nauda [Nobl9] | How Not to Build an SLO Platform | InfluxDays NA 2021
Alex Nauda [Nobl9] | How Not to Build an SLO Platform | InfluxDays NA 2021InfluxData
 
apidays LIVE Paris 2021 - OpenAPI Generator - The Babel Fish of the API World...
apidays LIVE Paris 2021 - OpenAPI Generator - The Babel Fish of the API World...apidays LIVE Paris 2021 - OpenAPI Generator - The Babel Fish of the API World...
apidays LIVE Paris 2021 - OpenAPI Generator - The Babel Fish of the API World...apidays
 
Marina Svicevic, Milos Pavkovic, Mladen Maric, Vijeta Hingorani [Socialgist] ...
Marina Svicevic, Milos Pavkovic, Mladen Maric, Vijeta Hingorani [Socialgist] ...Marina Svicevic, Milos Pavkovic, Mladen Maric, Vijeta Hingorani [Socialgist] ...
Marina Svicevic, Milos Pavkovic, Mladen Maric, Vijeta Hingorani [Socialgist] ...InfluxData
 
apidays LIVE Australia - Building a scalable API platform for an IoT ecosyste...
apidays LIVE Australia - Building a scalable API platform for an IoT ecosyste...apidays LIVE Australia - Building a scalable API platform for an IoT ecosyste...
apidays LIVE Australia - Building a scalable API platform for an IoT ecosyste...apidays
 
Digital Transformation for Karnataka Bank Through API-led Integration
Digital Transformation for Karnataka Bank Through API-led IntegrationDigital Transformation for Karnataka Bank Through API-led Integration
Digital Transformation for Karnataka Bank Through API-led IntegrationWSO2
 
Sentry: Baselining, cloud-scale monitoring and auto-remediation with app mon ...
Sentry: Baselining, cloud-scale monitoring and auto-remediation with app mon ...Sentry: Baselining, cloud-scale monitoring and auto-remediation with app mon ...
Sentry: Baselining, cloud-scale monitoring and auto-remediation with app mon ...Dynatrace
 

What's hot (20)

apidays LIVE Paris - Augmenting a Legacy REST API with GraphQL by Clément Vil...
apidays LIVE Paris - Augmenting a Legacy REST API with GraphQL by Clément Vil...apidays LIVE Paris - Augmenting a Legacy REST API with GraphQL by Clément Vil...
apidays LIVE Paris - Augmenting a Legacy REST API with GraphQL by Clément Vil...
 
Public GraphQL APIs
Public GraphQL APIsPublic GraphQL APIs
Public GraphQL APIs
 
Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...
Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...
Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...
 
apidays LIVE Paris - GraphQL: the AppSec perspective by Vladimir de Turckheim
apidays LIVE Paris - GraphQL: the AppSec perspective by Vladimir de Turckheimapidays LIVE Paris - GraphQL: the AppSec perspective by Vladimir de Turckheim
apidays LIVE Paris - GraphQL: the AppSec perspective by Vladimir de Turckheim
 
LeanIX GraphQL Lessons Learned - CodeTalks 2017
LeanIX GraphQL Lessons Learned - CodeTalks 2017LeanIX GraphQL Lessons Learned - CodeTalks 2017
LeanIX GraphQL Lessons Learned - CodeTalks 2017
 
apidays LIVE London 2021 - API Security in Highly Volatile Threat Landscapes ...
apidays LIVE London 2021 - API Security in Highly Volatile Threat Landscapes ...apidays LIVE London 2021 - API Security in Highly Volatile Threat Landscapes ...
apidays LIVE London 2021 - API Security in Highly Volatile Threat Landscapes ...
 
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
 
Cloud Native API Management : Microservices to APIs in Kubernetes
Cloud Native API Management : Microservices to APIs in KubernetesCloud Native API Management : Microservices to APIs in Kubernetes
Cloud Native API Management : Microservices to APIs in Kubernetes
 
Weavework Flagger Demo- AWS Container Day 2019 Barcelona
Weavework Flagger Demo- AWS Container Day 2019 BarcelonaWeavework Flagger Demo- AWS Container Day 2019 Barcelona
Weavework Flagger Demo- AWS Container Day 2019 Barcelona
 
Tamino Mobile - XML based Integration, Development and Application Services f...
Tamino Mobile - XML based Integration, Development and Application Services f...Tamino Mobile - XML based Integration, Development and Application Services f...
Tamino Mobile - XML based Integration, Development and Application Services f...
 
Api Gateway
Api GatewayApi Gateway
Api Gateway
 
The Elephant in the Kubernetes Room - Team Interactions at Scale @ KubeCon No...
The Elephant in the Kubernetes Room - Team Interactions at Scale @ KubeCon No...The Elephant in the Kubernetes Room - Team Interactions at Scale @ KubeCon No...
The Elephant in the Kubernetes Room - Team Interactions at Scale @ KubeCon No...
 
Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...
Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...
Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...
 
[Workshop] API-driven Integration
[Workshop] API-driven Integration[Workshop] API-driven Integration
[Workshop] API-driven Integration
 
Alex Nauda [Nobl9] | How Not to Build an SLO Platform | InfluxDays NA 2021
Alex Nauda [Nobl9] | How Not to Build an SLO Platform | InfluxDays NA 2021Alex Nauda [Nobl9] | How Not to Build an SLO Platform | InfluxDays NA 2021
Alex Nauda [Nobl9] | How Not to Build an SLO Platform | InfluxDays NA 2021
 
apidays LIVE Paris 2021 - OpenAPI Generator - The Babel Fish of the API World...
apidays LIVE Paris 2021 - OpenAPI Generator - The Babel Fish of the API World...apidays LIVE Paris 2021 - OpenAPI Generator - The Babel Fish of the API World...
apidays LIVE Paris 2021 - OpenAPI Generator - The Babel Fish of the API World...
 
Marina Svicevic, Milos Pavkovic, Mladen Maric, Vijeta Hingorani [Socialgist] ...
Marina Svicevic, Milos Pavkovic, Mladen Maric, Vijeta Hingorani [Socialgist] ...Marina Svicevic, Milos Pavkovic, Mladen Maric, Vijeta Hingorani [Socialgist] ...
Marina Svicevic, Milos Pavkovic, Mladen Maric, Vijeta Hingorani [Socialgist] ...
 
apidays LIVE Australia - Building a scalable API platform for an IoT ecosyste...
apidays LIVE Australia - Building a scalable API platform for an IoT ecosyste...apidays LIVE Australia - Building a scalable API platform for an IoT ecosyste...
apidays LIVE Australia - Building a scalable API platform for an IoT ecosyste...
 
Digital Transformation for Karnataka Bank Through API-led Integration
Digital Transformation for Karnataka Bank Through API-led IntegrationDigital Transformation for Karnataka Bank Through API-led Integration
Digital Transformation for Karnataka Bank Through API-led Integration
 
Sentry: Baselining, cloud-scale monitoring and auto-remediation with app mon ...
Sentry: Baselining, cloud-scale monitoring and auto-remediation with app mon ...Sentry: Baselining, cloud-scale monitoring and auto-remediation with app mon ...
Sentry: Baselining, cloud-scale monitoring and auto-remediation with app mon ...
 

Similar to MuleSoft_Meetup_Datagraph and Async APIs.pptx.pdf

Anypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetupAnypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetupMergeStack
 
Kochi Mulesoft Meetup #6
Kochi Mulesoft Meetup #6Kochi Mulesoft Meetup #6
Kochi Mulesoft Meetup #6sumitahuja94
 
Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...
Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...
Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...MysoreMuleSoftMeetup
 
MuleSoft Surat Virtual Meetup#20 - Unleash the power of Anypoint DataGraph
MuleSoft Surat Virtual Meetup#20 - Unleash the power of Anypoint DataGraphMuleSoft Surat Virtual Meetup#20 - Unleash the power of Anypoint DataGraph
MuleSoft Surat Virtual Meetup#20 - Unleash the power of Anypoint DataGraphJitendra Bafna
 
INTERFACE by apidays_What's your Type? Understanding API Types and Choosing t...
INTERFACE by apidays_What's your Type? Understanding API Types and Choosing t...INTERFACE by apidays_What's your Type? Understanding API Types and Choosing t...
INTERFACE by apidays_What's your Type? Understanding API Types and Choosing t...apidays
 
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...apidays
 
Thiruvananthapuram Anypoint DataGraph 2 Sept.pdf
Thiruvananthapuram Anypoint DataGraph 2 Sept.pdfThiruvananthapuram Anypoint DataGraph 2 Sept.pdf
Thiruvananthapuram Anypoint DataGraph 2 Sept.pdfVikalp Bhalia
 
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
MuleSoft Surat Meetup#39 - Pragmatic API Led ConnectivityMuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
MuleSoft Surat Meetup#39 - Pragmatic API Led ConnectivityJitendra Bafna
 
Toronto Anypoint DataGraph (1).pptx
Toronto Anypoint DataGraph (1).pptxToronto Anypoint DataGraph (1).pptx
Toronto Anypoint DataGraph (1).pptxAnurag Dwivedi
 
[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIs[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIsWSO2
 
API Management for GraphQL
API Management for GraphQLAPI Management for GraphQL
API Management for GraphQLWSO2
 
A Snapshot of API Design Trends In 2019
A Snapshot of API Design Trends In 2019A Snapshot of API Design Trends In 2019
A Snapshot of API Design Trends In 2019Bill Doerrfeld
 
Vizag mulesoft-meetup-6-anypoint-datagraph--v2
Vizag mulesoft-meetup-6-anypoint-datagraph--v2Vizag mulesoft-meetup-6-anypoint-datagraph--v2
Vizag mulesoft-meetup-6-anypoint-datagraph--v2Ravi Tamada
 
Leveraging Async APIs to deliver cross domain agile collaboration
Leveraging Async APIs to deliver cross domain agile collaboration Leveraging Async APIs to deliver cross domain agile collaboration
Leveraging Async APIs to deliver cross domain agile collaboration Nuwan Dias
 
[apidays Live Australia] Leveraging Async APIs to deliver Cross Domain Agile ...
[apidays Live Australia] Leveraging Async APIs to deliver Cross Domain Agile ...[apidays Live Australia] Leveraging Async APIs to deliver Cross Domain Agile ...
[apidays Live Australia] Leveraging Async APIs to deliver Cross Domain Agile ...WSO2
 
[APIdays NY] Managing the usage of Asynchronous APIs: What does it take?
[APIdays NY] Managing the usage of Asynchronous APIs: What does it take?[APIdays NY] Managing the usage of Asynchronous APIs: What does it take?
[APIdays NY] Managing the usage of Asynchronous APIs: What does it take?WSO2
 
AWS Community Day - Amy Negrette - Gateways to Gateways
AWS Community Day - Amy Negrette - Gateways to GatewaysAWS Community Day - Amy Negrette - Gateways to Gateways
AWS Community Day - Amy Negrette - Gateways to GatewaysAWS Chicago
 
API Management within a Microservice Architecture
API Management within a Microservice ArchitectureAPI Management within a Microservice Architecture
API Management within a Microservice ArchitectureWSO2
 
API Management Within a Microservices Architecture
API Management Within a Microservices Architecture API Management Within a Microservices Architecture
API Management Within a Microservices Architecture Nadeesha Gamage
 

Similar to MuleSoft_Meetup_Datagraph and Async APIs.pptx.pdf (20)

Anypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetupAnypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetup
 
Kochi Mulesoft Meetup #6
Kochi Mulesoft Meetup #6Kochi Mulesoft Meetup #6
Kochi Mulesoft Meetup #6
 
Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...
Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...
Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...
 
MuleSoft Surat Virtual Meetup#20 - Unleash the power of Anypoint DataGraph
MuleSoft Surat Virtual Meetup#20 - Unleash the power of Anypoint DataGraphMuleSoft Surat Virtual Meetup#20 - Unleash the power of Anypoint DataGraph
MuleSoft Surat Virtual Meetup#20 - Unleash the power of Anypoint DataGraph
 
Anypoint Data Graphs
Anypoint Data GraphsAnypoint Data Graphs
Anypoint Data Graphs
 
INTERFACE by apidays_What's your Type? Understanding API Types and Choosing t...
INTERFACE by apidays_What's your Type? Understanding API Types and Choosing t...INTERFACE by apidays_What's your Type? Understanding API Types and Choosing t...
INTERFACE by apidays_What's your Type? Understanding API Types and Choosing t...
 
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...
 
Thiruvananthapuram Anypoint DataGraph 2 Sept.pdf
Thiruvananthapuram Anypoint DataGraph 2 Sept.pdfThiruvananthapuram Anypoint DataGraph 2 Sept.pdf
Thiruvananthapuram Anypoint DataGraph 2 Sept.pdf
 
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
MuleSoft Surat Meetup#39 - Pragmatic API Led ConnectivityMuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
 
Toronto Anypoint DataGraph (1).pptx
Toronto Anypoint DataGraph (1).pptxToronto Anypoint DataGraph (1).pptx
Toronto Anypoint DataGraph (1).pptx
 
[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIs[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIs
 
API Management for GraphQL
API Management for GraphQLAPI Management for GraphQL
API Management for GraphQL
 
A Snapshot of API Design Trends In 2019
A Snapshot of API Design Trends In 2019A Snapshot of API Design Trends In 2019
A Snapshot of API Design Trends In 2019
 
Vizag mulesoft-meetup-6-anypoint-datagraph--v2
Vizag mulesoft-meetup-6-anypoint-datagraph--v2Vizag mulesoft-meetup-6-anypoint-datagraph--v2
Vizag mulesoft-meetup-6-anypoint-datagraph--v2
 
Leveraging Async APIs to deliver cross domain agile collaboration
Leveraging Async APIs to deliver cross domain agile collaboration Leveraging Async APIs to deliver cross domain agile collaboration
Leveraging Async APIs to deliver cross domain agile collaboration
 
[apidays Live Australia] Leveraging Async APIs to deliver Cross Domain Agile ...
[apidays Live Australia] Leveraging Async APIs to deliver Cross Domain Agile ...[apidays Live Australia] Leveraging Async APIs to deliver Cross Domain Agile ...
[apidays Live Australia] Leveraging Async APIs to deliver Cross Domain Agile ...
 
[APIdays NY] Managing the usage of Asynchronous APIs: What does it take?
[APIdays NY] Managing the usage of Asynchronous APIs: What does it take?[APIdays NY] Managing the usage of Asynchronous APIs: What does it take?
[APIdays NY] Managing the usage of Asynchronous APIs: What does it take?
 
AWS Community Day - Amy Negrette - Gateways to Gateways
AWS Community Day - Amy Negrette - Gateways to GatewaysAWS Community Day - Amy Negrette - Gateways to Gateways
AWS Community Day - Amy Negrette - Gateways to Gateways
 
API Management within a Microservice Architecture
API Management within a Microservice ArchitectureAPI Management within a Microservice Architecture
API Management within a Microservice Architecture
 
API Management Within a Microservices Architecture
API Management Within a Microservices Architecture API Management Within a Microservices Architecture
API Management Within a Microservices Architecture
 

More from Vikalp Bhalia

MuleSoft HyperAutomation
MuleSoft HyperAutomationMuleSoft HyperAutomation
MuleSoft HyperAutomationVikalp Bhalia
 
Dataweave Libraries and ObjectStore
Dataweave Libraries and ObjectStoreDataweave Libraries and ObjectStore
Dataweave Libraries and ObjectStoreVikalp Bhalia
 
B2B EDI Formats and MuleSoft X12 Connector
B2B EDI Formats and MuleSoft X12 ConnectorB2B EDI Formats and MuleSoft X12 Connector
B2B EDI Formats and MuleSoft X12 ConnectorVikalp Bhalia
 
MuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual EventMuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual EventVikalp Bhalia
 
Vancouver mulesoft meetup_september_2020
Vancouver mulesoft meetup_september_2020Vancouver mulesoft meetup_september_2020
Vancouver mulesoft meetup_september_2020Vikalp Bhalia
 
Vancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-julyVancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-julyVikalp Bhalia
 
Vancouver mulesoft meetup
Vancouver mulesoft meetupVancouver mulesoft meetup
Vancouver mulesoft meetupVikalp Bhalia
 

More from Vikalp Bhalia (7)

MuleSoft HyperAutomation
MuleSoft HyperAutomationMuleSoft HyperAutomation
MuleSoft HyperAutomation
 
Dataweave Libraries and ObjectStore
Dataweave Libraries and ObjectStoreDataweave Libraries and ObjectStore
Dataweave Libraries and ObjectStore
 
B2B EDI Formats and MuleSoft X12 Connector
B2B EDI Formats and MuleSoft X12 ConnectorB2B EDI Formats and MuleSoft X12 Connector
B2B EDI Formats and MuleSoft X12 Connector
 
MuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual EventMuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual Event
 
Vancouver mulesoft meetup_september_2020
Vancouver mulesoft meetup_september_2020Vancouver mulesoft meetup_september_2020
Vancouver mulesoft meetup_september_2020
 
Vancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-julyVancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-july
 
Vancouver mulesoft meetup
Vancouver mulesoft meetupVancouver mulesoft meetup
Vancouver mulesoft meetup
 

Recently uploaded

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Recently uploaded (20)

DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

MuleSoft_Meetup_Datagraph and Async APIs.pptx.pdf

  • 1. 26th Mar 2022 Thiruvananthapuram MuleSoft Meetup Group Anypoint DataGraph and Async APIs
  • 2. 2 ● Introductions ● Anypoint Datagraph ● Async API ● Networking time Agenda
  • 3. 3 ● About the organizer: ○ Vikalp Bhalia (Apisero - Associate Solution Architect) ○ Snehal Kulat (Persistent Systems) ○ Dinesh Garg (Apisero - Solution Architect) Introductions A SHOW OF HANDS: Who is new to this Meetup?
  • 5. 5 ● Anypoint DataGraph is a component of Anypoint Platform which allows us to unify APIs into one data service. Enterprise architects can easily unify APIs into one data service — all without writing more code. Developers can consume multiple APIs from the data service in a single GraphQL request. ● Create a unified schema of your APIs to democratize data access across your org ● Run the DataGraph as a SaaS app to reduce overhead and maintenance ● Consume and reuse multiple APIs in a single GraphQL request to innovate faster ● With Anypoint DataGraph you can:  ○ Dynamically query data from a unified schema ○ Explore your application network from a single UI ○ Discover, reuse, and serve information from your application network without writing new code Anypoint DataGraph Overview
  • 6. 6 ● A query language for your API ● GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. ● GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools. What is GraphQL?
  • 7. 7 ● Let’s consider a scenario, you have REST API that returns 10 fields in response but mobile application requires only 4 fields whereas web application requires 5 fields. In such cases DataGraph is one of the most optimal options where the client can pass whatever data required as input request, and DataGraph will return the required fields to the mobile application and web application. Below is the illustration of Use case 1. Use case 1
  • 8. 8 Use case 1 illustration using DataGraph
  • 9. 9 ● Let’s consider a scenario, where you have to call multiple REST APIs or want to fetch data from multiple REST APIs and each API will respond with JSON payload. GraphQL will aggregate all the responses and send back the required data to the client. Below is the illustration of Use case 2. Use case 2
  • 10. 10 Use case 2 illustration using DataGraph
  • 11. 11 ● Anypoint DataGraph supports: ○ REST APIs with RAML and OAS Specifications. ○ GET method ○ Upto 250 APIs per Unified Schema ○ Upto 16,000 fields per Unified Schema ● Anypoint DataGraph restricts downstream REST API calls to: ○ A maximum of 150 concurrent or ongoing calls per Unified Schema ○ A 5 second timeout per call ○ A maximum of 5 MB of response data per call ● Anypoint DataGraph limits the query service to: ○ A 30 seconds timeout per query ○ Max 100 selected fields per query Limitations
  • 12. 12 ● Basic Authentication ● Client ID enforcement via Header/Query Parameters ● Custom (using custom headers or query parameters) ● Passthrough ● No Auth API Authentication mechanisms supported currently
  • 14. 14 ● 98.5% of API polls do not return any new information ● Excessive coupling limits flexibility to add new services ● Failures cascade through all the coupled services ● Response times to the customer are slow Common problems with synchronous communication
  • 15. 15 ● Many developers, architects, and product managers have used REST APIs and are familiar with the synchronous communication paradigm. You make a request and wait for the response. This is exactly how the world wide web works. ● However, there are certain situations where you don't really need a response from the server. This is also called "fire and forget", and it's very useful when you just want to communicate or inform that "something happened.“ ● Some examples of this can be: ○ A user just signed up ○ You have a new follower. ● Core concepts: Event-driven architectures
  • 16. 16 Event-driven architectures have existed for decades, promising to deliver powerful, loosely coupled experiences which are highly adaptable and responsive. Unfortunately, the biggest challenges impeding the widespread adoption of event-driven architectures have been three-fold: ● Visibility: Developers lack visibility into existing events, their current use, and details on how to reuse an existing event. ● Governance: IT teams lack industry-standard best practices and conventions for defining machine and human-readable event-driven APIs. ● Discovery: Developers need to work with multiple protocols (JMS, MQTT, AMQP, Kafka, etc.), which can be challenging. Challenges with event-driven architectures
  • 17. 17 Developers can now design event-driven APIs using AsyncAPI specification — a protocol-agnostic human and machine-readable format — to unlock and expose events in the enterprise. Async API
  • 18. 18 Async API – Mulesoft scope Event-driven API is supported in Anypoint Platform through AsyncAPI. You can publish AsyncAPI specifications to share with partners, customers, and developers. You can create or import your AsyncAPI specifications in API Designer and then edit, document, and publish them. AsyncAPI makes it easy to work with event-driven architecture by separating the API into three layers: ● Events: Message or data to be shared with other services ● Channels: Destination of the message to be sent or received ● Transport: Technology that transports the message, such as RabbitMQ, Kafka, or Anypoint MQ Anypoint Studio and Flow Designer do not support AsyncAPI. If you open an AsyncAPI specification or asset in one of these tools, an error message is displayed.
  • 19. 19 ● Payment Service:  ○ payment – publish – this is queue that user can push message to initiate payment process ○ payment/failed – subscribe – this is a queue that user can subscribe to, to receive event notifications about failed payments ○ payment/approved – subscribe – this is a queue that user can subscribe to, to receive event notification about approved payments Use case
  • 20. 20 ● Share: ○ Tweet using the hashtag #MuleSoftMeetups ○ https://meetups.mulesoft.com/thiruvananthapuram/ ● Feedback: ○ Fill out the survey feedback and suggest topics for upcoming events ○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program What’s next?
  • 21. Introduce yourself to your neighbor Networking time