Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Apidays Helsinki 2024 - Sustainable IT and API ...

Apidays Helsinki 2024 - Sustainable IT and API Performance - How to Bring Them Together by Merja Kajava, Aavista Oy

Sustainable IT and API Performance - How to Bring Them Together
Merja Kajava, Founder - Aavista Oy

Apidays Helsinki & North 2024 - Connecting Physical and Digital: Sustainable APIs for the Era of AI, Super and Quantum Computing (May 28 and 29, 2024)

------

Check out our conferences at https://www.apidays.global/

Do you want to sponsor or talk at one of our conferences?
https://apidays.typeform.com/to/ILJeAaV8

Learn more on APIscene, the global media made by the community for the community:
https://www.apiscene.io

Explore the API ecosystem with the API Landscape:
https://apilandscape.apiscene.io/

apidays

May 31, 2024
Tweet

Video

More Decks by apidays

Other Decks in Technology

Transcript

  1. Aavista Oy Merja Kajava APIDays Helsinki & North 2024 Sustainable

    IT and API Performance - How to Bring Them Together
  2. Demand for electricity in North America has doubled 9-year growth

    forecast of demand for new electricity, in gigawatt hours
  3. Source: IEA (2024), Electricity 2024, IEA, Paris https://www.iea.org/reports/electricity-2024 “Electricity consumption

    from data centres, AI and the cryptocurrency sector could double by 2026” Data centres +29 TWh Increase Estimated drivers of change in electricity demand in the EU, 2021-2026
  4. 0,3 2,9 Google search ChatGPT request Energy consumption (Wh) ~10x

    Source: Alex de Vries (2023).The growing energy footprint of artificial intelligence. Joule, Volume 7, Issue 10, 2023 https://doi.org/10.1016/j.joule.2023.09.004 Substantial differences in energy consumption for search APIs
  5. The elements of API performance Scalability Performance Response times Request

    and/or response sizes Backend “efficiency” Network latency Throughput
  6. API performance is shared between the API provider and the

    API consumer API Provider API Consumer Payload size Frequency
  7. API Performance – The API Consumer API Provider API Consumer

    How many API requests ? What is the request size ? What is the response size ? Is paging used ? Is caching applied ?
  8. API Performance – The Network API Provider API Consumer What

    is the network capacity ? What is the latency ? End-user
  9. API Performance – The API Provider API Provider API Consumer

    3rd Party API How many API requests to private APIs ? How many API requests to 3rd party APIs ? Is caching applied ?
  10. API Performance – The Scalability API Provider API Consumer How

    many API consumers ? How many concurrent requests ? What is the frequency of the requests ?
  11. API backend efficiency is built from the design Architecture API

    design Technology choices Calls to other APIs
  12. Carbon footprint calculators as part of the cloud billing Google

    Cloud - Carbon Footprint AWS - Customer Carbon Footprint Tool Note the scopes Scope 1 Scope 2 Scope 3