Skip to content
FR EN

Handbook of Sustainable Design of Digital Services

MENU
← go back
Frontend    ODD#12     ODD#13    

Is the data fed back by the APIs really only the data that the application needs when it is requested ?

Recommendation 

API

C People

A Planet

B Prosperity

Difficulty

**

Priority

High

Récurrence

OnUpdate

Tests

Are the volumes of data transmitted commensurate with the presentation capabilities of the user device?

Precisions

The journeys and needs of users are very difficult to anticipate. One trend is to collect as much front end data as possible to cover as many use cases as possible. This practice is inefficient from an IT point of view. Sustainable because the collection, the processing, the routing, the local storage of the data generates a load and therefore a significant energy consumption without certainty that all this data will actually be used. The service footprint must be reduced by collecting only essential data as the service unfolds through API mechanisms.

Use Case

Developement tools are used to track API call & data sizes (CHROME: network)

IRIWEBs

Additional elements

Operational issues related to the project

Posts

Rule for assessing the level of compliance of the criterion

Number of API calls analyzed / Number of API calls

Life cycle

Réalisation

11 other criteria related to the recommendation: Use environments and tools that limit impacts

Recommendation Essential

API

Are the functionalities covered by local actions (client side) privileged rather than API exchanges ?

Recommendation

Flux

Do you use caching mechanisms to limit exchanges ?

Advice

API

Is an openSource alternative available for APIs ?

Recommendation

Technology

Do the libraries used allow you to take only the components that are actually useful ?

Recommendation

Technology

Are unused dependencies identified and removed ?

Recommendation

Technology

Couldn't the expected functionality be implemented with the native capabilities of the browser ?

Advice

Technology

Is an openSource alternative available ?

Recommendation

Technology

Are all the technical equipment used by the service identified ?

Advice

Technology

For each equipment, are the characteristics available ?

Advice

Technology

Are the functionalities related to regulated data processing (health, personal, banking) validated in terms of interoperability ?

Advice

networks

Are the latest technical advances used when they really help reduce impact ?