Sustainability Best Practices
CMSCloudHeartcoreDXP
  • Introduction
  • Infrastructure
    • Infrastructure Overview
    • Hosting
    • Architecture
    • Security and Bots
  • Backend
    • Backend Overview
    • Upgrades and patches
    • Cache responses
    • Sustainable Design Patterns
    • Performance Testing
    • Common pitfalls
    • SOAP, REST and GraphQL
    • SQL optimization
    • JAMstack
    • Monolithic vs. Service based Architecture
    • Async
    • Background tasks
  • Frontend
    • Frontend Overview
    • Page weight budget
    • Image optimization
    • Asset optimization
    • Limit use of 3rd parties
    • Lazyload resources
    • Mobile first
  • Editor
    • Editor Overview
    • Content Types
    • Content Optimization
    • Design Choices
    • Data Management
    • Housekeeping
  • Telemetry
    • Telemetry Overview
    • February 2024
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Backend

Async

Utilizing asynchronous calls, often referred to as "fire and forget", presents substantial benefits from the perspective of sustainable systems design.

By employing this approach, tasks are dispatched for execution without necessitating immediate waiting for their completion. This mechanism enhances system efficiency and responsiveness. It does it because it enables the system to continue processing other tasks while awaiting the completion of the asynchronous task.

This strategy aligns closely with the principles of sustainable design by optimizing resource utilization.

Rather than idling or blocking resources, the system can allocate them to other tasks, minimizing wastage and conserving energy. This proves especially advantageous in scenarios where processing times might vary or when tasks don't require immediate feedback.

Asynchronous calls not only enhance overall system performance. They also contribute to a more ecologically conscious software ecosystem, where resource efficiency is a cornerstone of sustainable systems design.

PreviousMonolithic vs. Service based ArchitectureNextBackground tasks

Last updated 1 year ago

Was this helpful?