SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Downloaden Sie, um offline zu lesen
Sustainable API Green Score
API Numériquement Responsable
Yannick Tremblais
IT Innovation Manager
mission driven Company
Julien Brun
Head of COE API & EDA
ytremblais jylls35
2023 SERIES OF EVENT
New York
May 16&17
Australia
October 11&12
Singapore
April 12&13
Helsinki & North
June 5&6
Paris
SEPTEMBER
London
November
15&16
June 28-30
SILICON VALLEY
March 14&15
Dubai & Middle East
February 22&23
https://www.apidays.global/sustainable-digital-challenge/
We are sharing our studies to external communities
We are sharing our studies to external communities
Active Member of the API Thinking Community
head of workgroup “Sustainable digital API”
External Communities
● As there is no standard yet on the API
Ecodesign
● As environmental impact is a shared
concern
● as guideline and calculation rule must be
shared and validated by many to be
recognized
External Communities
● As there is no standard yet on the API
Ecodesign
● As environmental impact is a shared
concern
● as guideline and calculation rule must be
shared and validated by many to be
recognized
Workgroup “Sustainable API”
“API Numériquement Responsable”
A collective that draws its strength from its members
Since 2020, the 1st french collective dedicated to APIS
Free Network Diversity
The API Green Score is a toolkit to help API users, designers and owners to ask themselves
questions about the digital impact of their API
This tool is based on 7 differents domain in order to create relevant and realistic metrics that
stakeholders can use.
The evaluation method is shared with all API Personas (API owners, API consumers, API developers)
This toolkit concern eco-design and eco-consumption of API
Excellent Acceptable Average Poor Very Poor
A B C D E
• Decommission an unused API
• Deploy API near consumer
• Reduce number of API versions
• Unify API catalog
• Create consumer referential
• Identify API for single usage
• Urbanization with Data Governance
• Decommission an unused API
• Deploy API near consumer
• Reduce number of API versions
• Unify API catalog
• Create consumer referential
• Identify API for single usage
• Urbanization with Data Governance
• Exchange with Smallest Size
• Following API payload size
• Prefer Opaque Token to JWT
• API Customer Centricity principles
• API Data / Granularity
• Leverage Odata or GraphQL for DB
APIs
• Data Management
• Dynamic Content
• Exchange with Smallest Size
• Following API payload size
• Prefer Opaque Token to JWT
• API Customer Centricity principles
• API Data / Granularity
• Leverage Odata or GraphQL for DB
APIs
• Data Management
• Dynamic Content
• Optimize queries to limit returned
information
• Collect only required data
• Provide only changed data
• Use cache
• Communicate on Payload size
• API used geolocally close to their
consumers
• Optimize queries to limit returned
information
• Collect only required data
• Provide only changed data
• Use cache
• Communicate on Payload size
• API used geolocally close to their
consumers
• Promote event architecture
• Filter data in payload
• Pagination
• Webhook or Business Notification
• AsyncAPI
• Promote event architecture
• Filter data in payload
• Pagination
• Webhook or Business Notification
• AsyncAPI
• Define a basis of criteria for rating
• Provide KPIs (Nb of call, payload
size, nb of equipments used, …)
• Evaluate energy consumption for
one API
• Know language impact for energy
consumption
• Define a basis of criteria for rating
• Provide KPIs (Nb of call, payload
size, nb of equipments used, …)
• Evaluate energy consumption for
one API
• Know language impact for energy
consumption
• Use adaptive infrastructure
• Use as few cloud suppliers as
possible between consumer and
backend
• Be near Data Center
• Define which actions are more
relevant to do to reduce the impact
of API ?
• Use adaptive infrastructure
• Use as few cloud suppliers as
possible between consumer and
backend
• Be near Data Center
• Define which actions are more
relevant to do to reduce the impact
of API ?
• API Green Score design
• Guideline resources
• Sharing criteria of evaluation and
methods
• Adapt the communication of each
personas
• API Green Score design
• Guideline resources
• Sharing criteria of evaluation and
methods
• Adapt the communication of each
personas
API Lifecycle Data Exchange Data Architecture
Tools Infrastructure Communication
7 domains
Impact EcoScore
API Lifecycle
API uses: (who, when, what)
Description Governance
Tools to measure
KPI per API
Example
Have a consumer referential
What is the impact of this referential
on the API Green Score?
Who consumes my API?
What : Which version of API?
When : Which number of asked calls
vs number of calls ? Date of last call?
What is the calls volume ?
API Product Owner
Center of Expertise API
Logs API / Operational Reporting
Analytics API Gateway
To influence the Metrics
API Gateway/API Portal
Nb of call per consumer
Nb of consumers per API
Nb of versions per API (US03)
Location of consumers
Documentation quality (US06)
What is the API Footprint?
API Order 10000/ call / month
API last Call
Nb of Consumers who used this API
20%
Evaluation Grid: Results
Excellent
Response
Acceptable
Response
Average
Response
Poor
Response
Showstopper
A B C D E
DE01 : Prefer an exchange format with the smallest size (JSON is smaller than XML).
One of the structuring questions when designing an API is the selection of the exchange format to use. If the choice is
often made by technical constraints or personal affinities, the durability aspect is also to be taken into account.
Indeed, there are exchange formats that are heavier than others. For example, JSON is smaller than XML. The
second format will therefore have a stronger impact on the network, the computing and the storage.
In the interest of sustainability, we recommend to use a lighter exchange format to reduce the bandwidth consumed
for the requests, the compute and storage resources consumption used to process and store the payloads.
Expected gain: Network, compute and storage impact reduced
network compute storage
Data Exchange
xml json Gain
717 B 623 B 94 B, 15%
nb call /day 2 000 000 1,33 Gi 1,16 Gi 0,17 Gb
nb call/month
(30)
40,06 Gi 34.81 Gi 5,25 Gb
<?xml version="1.0" encoding="UTF-8"?>
<Catalog>
<Book id="bk101">
<Author>Garghentini, Davide</Author>
<Title>XML Developer's Guide</Title>
<Genre>Computer</Genre>
<Price>44.95</Price>
<PublishDate>2000-10-01</PublishDate>
<Description>An in-depth look at creating applications
with XML.</Description>
</Book>
<Book id="bk102">
<Author>Garcia, Debra</Author>
<Title>Midnight Rain</Title>
<Genre>Fantasy</Genre>
<Price>5.95</Price>
<PublishDate>2000-12-16</PublishDate>
<Description>A former architect battles corporate zombies,
an evil sorceress, and her own childhood to become queen
of the world.</Description>
</Book>
</Catalog>
{
"Catalog": {
"Book": [
{
"Author": "Garghentini, Davide",
"Title": "XML Developer's Guide",
"Genre": "Computer",
"Price": "44.95",
"PublishDate": "2000-10-01",
"Description": "An in-depth look at creating applicationsn
with XML.",
"_id": "bk101"
},
{
"Author": "Garcia, Debra",
"Title": "Midnight Rain",
"Genre": "Fantasy",
"Price": "5.95",
"PublishDate": "2000-12-16",
"Description": "A former architect battles corporate zombies,n
an evil sorceress, and her own childhood to become queenn of the world.",
"_id": "bk102"
}
]
}
}
717 bytes bookstore.xml 623 bytes bookstore.json
DE02/DE03/DE05 : Use cache to avoid useless requests and preserve compute resources.
The use of a cache has become common in computer architectures to store frequently used information on a fast
storage.
In addition to improving the response time of APIs, and therefore the consumer's experience of the service, it also
saves computational resources by avoiding executing the same query on the same data multiple times.
It is recommended to place a cache in front of each brick of an architecture returning data (API, database, frontend
application, ...) and close to the users to preserve compute resources and improve performances of the API.
Expected gain: Compute resources saved & Network impact reduced
network compute storage
Data Data Exchange
LO01 : Collect only required data and use the right retention time according to the business requirements.
It is quite common for applications to store a large amount of useless information without time limit.
This results in an excessive consumption of storage services for data that will not be used or no longer used.
It is necessary to clean up the data in order to keep only the data that is useful and to define a coherent retention
policy in order to delete them once their validity or exploitation period has passed.
Expected gain: Volume of data stored reduced & Network impact reduced
network compute storage
Tools
https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-overview.html
detail by each API call
detail by each hour call
keep details by brand/country/method
aggregate : Average(Response Time), sum (nb of
call) by hour
automatic rollup process
to reduce granularity
Major Impact : save disk space
Low Maturity
1st step : Eco-design & Eco-consumption
Rules weighting closer to real
usage
AR05 : Carbon Footprint Dashboard
Some cloud providers produce carbon footprint dashboard. You can implement your own or adapt it based on your
infrastructure and be close to your usage
This is not a rule to evaluate API Green score, but it is important to be able to measure the impact on infrastructure
Ex : evaluation the impact of compute, network, disk and divided by the number of calls of the evaluate API.
Expected gain: Network, compute
network compute storage
Architecture
This is the beginning of our journey, we need you to contribute!
https://www.collectif-api-thinking.com

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

API Docs with OpenAPI 3.0
API Docs with OpenAPI 3.0API Docs with OpenAPI 3.0
API Docs with OpenAPI 3.0
 
apidays Paris 2022 - Generating APIs from business models, Frederic Fontanet,...
apidays Paris 2022 - Generating APIs from business models, Frederic Fontanet,...apidays Paris 2022 - Generating APIs from business models, Frederic Fontanet,...
apidays Paris 2022 - Generating APIs from business models, Frederic Fontanet,...
 
API Management in Digital Transformation
API Management in Digital TransformationAPI Management in Digital Transformation
API Management in Digital Transformation
 
How to migrate an application in IBM APIc, and preserve its client credential
How to migrate an application in IBM APIc, and preserve its client credentialHow to migrate an application in IBM APIc, and preserve its client credential
How to migrate an application in IBM APIc, and preserve its client credential
 
API Presentation
API PresentationAPI Presentation
API Presentation
 
Kuberntes Ingress with Kong
Kuberntes Ingress with KongKuberntes Ingress with Kong
Kuberntes Ingress with Kong
 
APIsecure 2023 - Security Considerations for API Gateway Aggregation, Yoshiyu...
APIsecure 2023 - Security Considerations for API Gateway Aggregation, Yoshiyu...APIsecure 2023 - Security Considerations for API Gateway Aggregation, Yoshiyu...
APIsecure 2023 - Security Considerations for API Gateway Aggregation, Yoshiyu...
 
APIsecure 2023 - OAuth, OIDC and protecting third-party credentials, Ed Olson...
APIsecure 2023 - OAuth, OIDC and protecting third-party credentials, Ed Olson...APIsecure 2023 - OAuth, OIDC and protecting third-party credentials, Ed Olson...
APIsecure 2023 - OAuth, OIDC and protecting third-party credentials, Ed Olson...
 
Introduction to Spring Cloud
Introduction to Spring Cloud           Introduction to Spring Cloud
Introduction to Spring Cloud
 
Automating security test using Selenium and OWASP ZAP - Practical DevSecOps
Automating security test using Selenium and OWASP ZAP - Practical DevSecOpsAutomating security test using Selenium and OWASP ZAP - Practical DevSecOps
Automating security test using Selenium and OWASP ZAP - Practical DevSecOps
 
Api types
Api typesApi types
Api types
 
Api Testing
Api TestingApi Testing
Api Testing
 
APIConnect Security Best Practice
APIConnect Security Best PracticeAPIConnect Security Best Practice
APIConnect Security Best Practice
 
API Test Automation
API Test Automation API Test Automation
API Test Automation
 
Definitive Guide to API Management
Definitive Guide to API ManagementDefinitive Guide to API Management
Definitive Guide to API Management
 
API
APIAPI
API
 
Rest api standards and best practices
Rest api standards and best practicesRest api standards and best practices
Rest api standards and best practices
 
Efficient API delivery with APIOps
Efficient API delivery with APIOpsEfficient API delivery with APIOps
Efficient API delivery with APIOps
 
API-first development
API-first developmentAPI-first development
API-first development
 
Apigee Edge Overview and Roadmap
Apigee Edge Overview and RoadmapApigee Edge Overview and Roadmap
Apigee Edge Overview and Roadmap
 

Ähnlich wie apidays Paris 2022 - Sustainable API Green Score, Yannick Tremblais (Groupe Rocher) & Julien Brun (L'Oréal)

Enabling digital transformation api ecosystems and data virtualization
Enabling digital transformation   api ecosystems and data virtualizationEnabling digital transformation   api ecosystems and data virtualization
Enabling digital transformation api ecosystems and data virtualization
Denodo
 
Top 10 Lessons Learned from the Netflix API - OSCON 2014
Top 10 Lessons Learned from the Netflix API - OSCON 2014Top 10 Lessons Learned from the Netflix API - OSCON 2014
Top 10 Lessons Learned from the Netflix API - OSCON 2014
Daniel Jacobson
 

Ähnlich wie apidays Paris 2022 - Sustainable API Green Score, Yannick Tremblais (Groupe Rocher) & Julien Brun (L'Oréal) (20)

apidays London 2023 - API Green Score, Yannick Tremblais & Julien Brun, Green...
apidays London 2023 - API Green Score, Yannick Tremblais & Julien Brun, Green...apidays London 2023 - API Green Score, Yannick Tremblais & Julien Brun, Green...
apidays London 2023 - API Green Score, Yannick Tremblais & Julien Brun, Green...
 
INTERFACE by apidays 2023 - API Green Score, Yannick Tremblais, Groupe Rocher
INTERFACE by apidays 2023 - API Green Score, Yannick Tremblais, Groupe RocherINTERFACE by apidays 2023 - API Green Score, Yannick Tremblais, Groupe Rocher
INTERFACE by apidays 2023 - API Green Score, Yannick Tremblais, Groupe Rocher
 
How to Manage APIs in your Enterprise for Maximum Reusability and Governance
How to Manage APIs in your Enterprise for Maximum Reusability and GovernanceHow to Manage APIs in your Enterprise for Maximum Reusability and Governance
How to Manage APIs in your Enterprise for Maximum Reusability and Governance
 
How to Manage APIs in your Enterprise for Maximum Reusability and Governance
How to Manage APIs in your Enterprise for Maximum Reusability and GovernanceHow to Manage APIs in your Enterprise for Maximum Reusability and Governance
How to Manage APIs in your Enterprise for Maximum Reusability and Governance
 
Dataweek-Talk-2014
Dataweek-Talk-2014Dataweek-Talk-2014
Dataweek-Talk-2014
 
API and App Ecosystems - Build The Best: a deep dive
API and App Ecosystems - Build The Best: a deep diveAPI and App Ecosystems - Build The Best: a deep dive
API and App Ecosystems - Build The Best: a deep dive
 
Oscon2014 Netflix API - Top 10 Lessons Learned
Oscon2014 Netflix API - Top 10 Lessons LearnedOscon2014 Netflix API - Top 10 Lessons Learned
Oscon2014 Netflix API - Top 10 Lessons Learned
 
Enabling digital transformation api ecosystems and data virtualization
Enabling digital transformation   api ecosystems and data virtualizationEnabling digital transformation   api ecosystems and data virtualization
Enabling digital transformation api ecosystems and data virtualization
 
Hybrid Cloud Journey - Maximizing Private and Public Cloud
Hybrid Cloud Journey - Maximizing Private and Public CloudHybrid Cloud Journey - Maximizing Private and Public Cloud
Hybrid Cloud Journey - Maximizing Private and Public Cloud
 
Unlock your core business assets for the hybrid cloud with addi webinar dec...
Unlock your core business assets for the hybrid cloud with addi   webinar dec...Unlock your core business assets for the hybrid cloud with addi   webinar dec...
Unlock your core business assets for the hybrid cloud with addi webinar dec...
 
SAFwAD @ Intelligent Cloud Conference
SAFwAD @ Intelligent Cloud ConferenceSAFwAD @ Intelligent Cloud Conference
SAFwAD @ Intelligent Cloud Conference
 
Partner Connect APAC - 2022 - April
Partner Connect APAC - 2022 - AprilPartner Connect APAC - 2022 - April
Partner Connect APAC - 2022 - April
 
Which Application Modernization Pattern Is Right For You?
Which Application Modernization Pattern Is Right For You?Which Application Modernization Pattern Is Right For You?
Which Application Modernization Pattern Is Right For You?
 
AWS Partner Day London - June 11th 2013
AWS Partner Day London -  June 11th 2013  AWS Partner Day London -  June 11th 2013
AWS Partner Day London - June 11th 2013
 
Top 10 Lessons Learned from the Netflix API - OSCON 2014
Top 10 Lessons Learned from the Netflix API - OSCON 2014Top 10 Lessons Learned from the Netflix API - OSCON 2014
Top 10 Lessons Learned from the Netflix API - OSCON 2014
 
Retrofit slide deck
Retrofit   slide deckRetrofit   slide deck
Retrofit slide deck
 
Data & Analytics - Session 1 - Big Data Analytics
Data & Analytics - Session 1 -  Big Data AnalyticsData & Analytics - Session 1 -  Big Data Analytics
Data & Analytics - Session 1 - Big Data Analytics
 
MongoDB .local Houston 2019: Building an IoT Streaming Analytics Platform to ...
MongoDB .local Houston 2019: Building an IoT Streaming Analytics Platform to ...MongoDB .local Houston 2019: Building an IoT Streaming Analytics Platform to ...
MongoDB .local Houston 2019: Building an IoT Streaming Analytics Platform to ...
 
Combinação de logs, métricas e rastreamentos para observabilidade unificada
Combinação de logs, métricas e rastreamentos para observabilidade unificadaCombinação de logs, métricas e rastreamentos para observabilidade unificada
Combinação de logs, métricas e rastreamentos para observabilidade unificada
 
Data-Driven Transformation: Leveraging Big Data at Showtime with Apache Spark
Data-Driven Transformation: Leveraging Big Data at Showtime with Apache SparkData-Driven Transformation: Leveraging Big Data at Showtime with Apache Spark
Data-Driven Transformation: Leveraging Big Data at Showtime with Apache Spark
 

Mehr von apidays

Mehr von apidays (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - The secrets to Graph success, by Leah Hurwich Adler, ...
Apidays New York 2024 - The secrets to Graph success, by Leah Hurwich Adler, ...Apidays New York 2024 - The secrets to Graph success, by Leah Hurwich Adler, ...
Apidays New York 2024 - The secrets to Graph success, by Leah Hurwich Adler, ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - API Discovery - From Crawl to Run by Rob Dickinson, G...
Apidays New York 2024 - API Discovery - From Crawl to Run by Rob Dickinson, G...Apidays New York 2024 - API Discovery - From Crawl to Run by Rob Dickinson, G...
Apidays New York 2024 - API Discovery - From Crawl to Run by Rob Dickinson, G...
 
Apidays Singapore 2024 - Building with the Planet in Mind by Sandeep Joshi, M...
Apidays Singapore 2024 - Building with the Planet in Mind by Sandeep Joshi, M...Apidays Singapore 2024 - Building with the Planet in Mind by Sandeep Joshi, M...
Apidays Singapore 2024 - Building with the Planet in Mind by Sandeep Joshi, M...
 
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
 
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
 
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
 
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
 
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
 
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
 
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
 

Kürzlich hochgeladen

Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
amitlee9823
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
amitlee9823
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
amitlee9823
 

Kürzlich hochgeladen (20)

(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 

apidays Paris 2022 - Sustainable API Green Score, Yannick Tremblais (Groupe Rocher) & Julien Brun (L'Oréal)

  • 1. Sustainable API Green Score API Numériquement Responsable
  • 2. Yannick Tremblais IT Innovation Manager mission driven Company Julien Brun Head of COE API & EDA ytremblais jylls35
  • 3. 2023 SERIES OF EVENT New York May 16&17 Australia October 11&12 Singapore April 12&13 Helsinki & North June 5&6 Paris SEPTEMBER London November 15&16 June 28-30 SILICON VALLEY March 14&15 Dubai & Middle East February 22&23
  • 5. We are sharing our studies to external communities We are sharing our studies to external communities Active Member of the API Thinking Community head of workgroup “Sustainable digital API” External Communities ● As there is no standard yet on the API Ecodesign ● As environmental impact is a shared concern ● as guideline and calculation rule must be shared and validated by many to be recognized External Communities ● As there is no standard yet on the API Ecodesign ● As environmental impact is a shared concern ● as guideline and calculation rule must be shared and validated by many to be recognized
  • 6. Workgroup “Sustainable API” “API Numériquement Responsable” A collective that draws its strength from its members Since 2020, the 1st french collective dedicated to APIS Free Network Diversity
  • 7. The API Green Score is a toolkit to help API users, designers and owners to ask themselves questions about the digital impact of their API This tool is based on 7 differents domain in order to create relevant and realistic metrics that stakeholders can use. The evaluation method is shared with all API Personas (API owners, API consumers, API developers) This toolkit concern eco-design and eco-consumption of API Excellent Acceptable Average Poor Very Poor A B C D E
  • 8. • Decommission an unused API • Deploy API near consumer • Reduce number of API versions • Unify API catalog • Create consumer referential • Identify API for single usage • Urbanization with Data Governance • Decommission an unused API • Deploy API near consumer • Reduce number of API versions • Unify API catalog • Create consumer referential • Identify API for single usage • Urbanization with Data Governance • Exchange with Smallest Size • Following API payload size • Prefer Opaque Token to JWT • API Customer Centricity principles • API Data / Granularity • Leverage Odata or GraphQL for DB APIs • Data Management • Dynamic Content • Exchange with Smallest Size • Following API payload size • Prefer Opaque Token to JWT • API Customer Centricity principles • API Data / Granularity • Leverage Odata or GraphQL for DB APIs • Data Management • Dynamic Content • Optimize queries to limit returned information • Collect only required data • Provide only changed data • Use cache • Communicate on Payload size • API used geolocally close to their consumers • Optimize queries to limit returned information • Collect only required data • Provide only changed data • Use cache • Communicate on Payload size • API used geolocally close to their consumers • Promote event architecture • Filter data in payload • Pagination • Webhook or Business Notification • AsyncAPI • Promote event architecture • Filter data in payload • Pagination • Webhook or Business Notification • AsyncAPI • Define a basis of criteria for rating • Provide KPIs (Nb of call, payload size, nb of equipments used, …) • Evaluate energy consumption for one API • Know language impact for energy consumption • Define a basis of criteria for rating • Provide KPIs (Nb of call, payload size, nb of equipments used, …) • Evaluate energy consumption for one API • Know language impact for energy consumption • Use adaptive infrastructure • Use as few cloud suppliers as possible between consumer and backend • Be near Data Center • Define which actions are more relevant to do to reduce the impact of API ? • Use adaptive infrastructure • Use as few cloud suppliers as possible between consumer and backend • Be near Data Center • Define which actions are more relevant to do to reduce the impact of API ? • API Green Score design • Guideline resources • Sharing criteria of evaluation and methods • Adapt the communication of each personas • API Green Score design • Guideline resources • Sharing criteria of evaluation and methods • Adapt the communication of each personas API Lifecycle Data Exchange Data Architecture Tools Infrastructure Communication 7 domains
  • 9. Impact EcoScore API Lifecycle API uses: (who, when, what) Description Governance Tools to measure KPI per API Example Have a consumer referential What is the impact of this referential on the API Green Score? Who consumes my API? What : Which version of API? When : Which number of asked calls vs number of calls ? Date of last call? What is the calls volume ? API Product Owner Center of Expertise API Logs API / Operational Reporting Analytics API Gateway To influence the Metrics API Gateway/API Portal Nb of call per consumer Nb of consumers per API Nb of versions per API (US03) Location of consumers Documentation quality (US06) What is the API Footprint? API Order 10000/ call / month API last Call Nb of Consumers who used this API 20%
  • 11. DE01 : Prefer an exchange format with the smallest size (JSON is smaller than XML). One of the structuring questions when designing an API is the selection of the exchange format to use. If the choice is often made by technical constraints or personal affinities, the durability aspect is also to be taken into account. Indeed, there are exchange formats that are heavier than others. For example, JSON is smaller than XML. The second format will therefore have a stronger impact on the network, the computing and the storage. In the interest of sustainability, we recommend to use a lighter exchange format to reduce the bandwidth consumed for the requests, the compute and storage resources consumption used to process and store the payloads. Expected gain: Network, compute and storage impact reduced network compute storage Data Exchange
  • 12. xml json Gain 717 B 623 B 94 B, 15% nb call /day 2 000 000 1,33 Gi 1,16 Gi 0,17 Gb nb call/month (30) 40,06 Gi 34.81 Gi 5,25 Gb <?xml version="1.0" encoding="UTF-8"?> <Catalog> <Book id="bk101"> <Author>Garghentini, Davide</Author> <Title>XML Developer's Guide</Title> <Genre>Computer</Genre> <Price>44.95</Price> <PublishDate>2000-10-01</PublishDate> <Description>An in-depth look at creating applications with XML.</Description> </Book> <Book id="bk102"> <Author>Garcia, Debra</Author> <Title>Midnight Rain</Title> <Genre>Fantasy</Genre> <Price>5.95</Price> <PublishDate>2000-12-16</PublishDate> <Description>A former architect battles corporate zombies, an evil sorceress, and her own childhood to become queen of the world.</Description> </Book> </Catalog> { "Catalog": { "Book": [ { "Author": "Garghentini, Davide", "Title": "XML Developer's Guide", "Genre": "Computer", "Price": "44.95", "PublishDate": "2000-10-01", "Description": "An in-depth look at creating applicationsn with XML.", "_id": "bk101" }, { "Author": "Garcia, Debra", "Title": "Midnight Rain", "Genre": "Fantasy", "Price": "5.95", "PublishDate": "2000-12-16", "Description": "A former architect battles corporate zombies,n an evil sorceress, and her own childhood to become queenn of the world.", "_id": "bk102" } ] } } 717 bytes bookstore.xml 623 bytes bookstore.json
  • 13. DE02/DE03/DE05 : Use cache to avoid useless requests and preserve compute resources. The use of a cache has become common in computer architectures to store frequently used information on a fast storage. In addition to improving the response time of APIs, and therefore the consumer's experience of the service, it also saves computational resources by avoiding executing the same query on the same data multiple times. It is recommended to place a cache in front of each brick of an architecture returning data (API, database, frontend application, ...) and close to the users to preserve compute resources and improve performances of the API. Expected gain: Compute resources saved & Network impact reduced network compute storage Data Data Exchange
  • 14.
  • 15. LO01 : Collect only required data and use the right retention time according to the business requirements. It is quite common for applications to store a large amount of useless information without time limit. This results in an excessive consumption of storage services for data that will not be used or no longer used. It is necessary to clean up the data in order to keep only the data that is useful and to define a coherent retention policy in order to delete them once their validity or exploitation period has passed. Expected gain: Volume of data stored reduced & Network impact reduced network compute storage Tools
  • 16. https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-overview.html detail by each API call detail by each hour call keep details by brand/country/method aggregate : Average(Response Time), sum (nb of call) by hour automatic rollup process to reduce granularity Major Impact : save disk space
  • 17. Low Maturity 1st step : Eco-design & Eco-consumption Rules weighting closer to real usage
  • 18. AR05 : Carbon Footprint Dashboard Some cloud providers produce carbon footprint dashboard. You can implement your own or adapt it based on your infrastructure and be close to your usage This is not a rule to evaluate API Green score, but it is important to be able to measure the impact on infrastructure Ex : evaluation the impact of compute, network, disk and divided by the number of calls of the evaluate API. Expected gain: Network, compute network compute storage Architecture
  • 19.
  • 20. This is the beginning of our journey, we need you to contribute! https://www.collectif-api-thinking.com