← All stories

3.62 billion API calls eliminated in the first week

Optimizing API Traffic for Sustainability and Performance

Leboncoin · e-commerce

Some best practices were implemented :

  • Smart endpoint architecture
  • Strategic caching
  • Dynamic feature management

Key figures

  • Eliminated 3.62 billion API calls in the first week
  • Reduced 404 error responses by 71.93%
  • Decreased server replicas from 120 to 40
  • Lowered database CPU usage from 60% to 20%
  • Reduced database connections by 25%
  • Cut Kubernetes costs to one-third of previous expenses
  • Saved 49.66 CPU cores (equivalent to powering down an AWS c6g.12xlarge instance)

Beyond the numbers

  • Enhanced user experience with faster load times and reduced bandwidth consumption

Source: Climate Product Leaders