How is your experience with the OutSystems Community?
Circuit Breaker

Circuit Breaker (ODC)

Stable version 0.1.3 (Compatible with ODC)
Uploaded on 27 Nov (4 days ago) by OutSystems Labs
Circuit Breaker

Circuit Breaker (ODC)

Details
Detailed Description

This component provides a robust Circuit Breaker pattern that acts as an intelligent gatekeeper, instantly "tripping" to protect your resources when an external dependency fails.


Read lessKey Features


  • Zero-Configuration (Auto-Provisioning): No manual setup required. The component automatically initializes circuits the moment you first call them in your code.

  • Dual-Storage Strategy:

    • DB Mode: Ensures Global Consistency across all front-ends/containers—if one trips, they all trip.

    • RAM Mode: Offers Near-Zero Latency by evaluating state in local memory. Ideal for ultra-high-volume traffic where every millisecond counts.

  • The QA Playground: A dedicated "Chaos Engineering" Backoffice. Manually simulate failures, force-open circuits, and verify UI fallbacks without waiting for a real-world outage.

  • Role-Based Governance: Secure administrative actions with the CircuitBreaker_Admin role, ensuring only authorized users can override system states in Production.


Release notes 

Circuit Breaker: bug fix

  • Fixed: The alert email when a circuit opens is sent again.
  • The open time now shows the full date and time in UTC, the same for every region.
  • The list of open circuits in the email is filled in again. Circuits with Protection disabled are left out.
  • An email failure can no longer break the circuit update.
  • Setup: Set OpenCircuit_MailingList (recipients, comma-separated) and Email_From (a sender address your mail service allows) in each stage.