Circuit breaker state machine.
The sequencer is a module responsible for creating and publishing new rollup blocks. This involves fetching txs from the P2P pool, ordering them, executing any public functions, running them through the rollup circuits, assembling the L2 block, and postin
Definitions for the tscircuit intermediary JSON format
A fail-fast circuit breaker for promises and callbacks
This library provides utilities to generate connectivity maps from circuit JSON data. It's designed to work with the `@tscircuit/soup` library and offers functionality to find connected networks and create connectivity maps.
iden3-auth implementation in JavaScript
A resilience and transient-fault-handling library that allows developers to express policies such as Backoff, Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. Inspired by .NET Polly.
Implementation of Circuit Relay v2
Convert Circuit JSON to SVG
Convert Circuit JSON into a Box-Pin-Color Graph
Converts circuit JSON to 3D GLTF files. Used for exporting circuits as 3D models.
Typescript-based execution environment for smart contracts compiled with the Compact language
Convert Circuit JSON into ngspice compatible SPICE netlists
Utility library for working with tscircuit circuit json
A circuit-breaker implementation with exponential backoff.
The core logic used to build Circuit JSON from tscircuit React elements.
Basic circuits library for Circom
A low overhead circuit breaker for your routes
Prometheus metrics for opossum circuit breaker
No description provided.
SumUp's React UI component library
Convert Circuit JSON into a simplified 3d representation, suitable for visual snapshot testing or inspecting prior to assembly.
Convert KiCad schematic, symbol library, and PCB files to Circuit JSON format.
A tscircuit-compatible SPICE engine using ngspice.
No more ad hoc passage of boolean results and error messages.
Provides a circuit breaker pattern with optional support for distributed state.
CircuitBreaker is a relatively simple Ruby mixin that will wrap a call to a given service in a circuit breaker pattern. The circuit starts off "closed" meaning that all calls will go through. However, consecutive failures are recorded and after a threshold is reached, the circuit will "trip", setting the circuit into an "open" state. In an "open" state, every call to the service will fail by raising CircuitBrokenException. The circuit will remain in an "open" state until the failure timeout has elapsed. After the failure_timeout has elapsed, the circuit will go into a "half open" state and the call will go through. A failure will immediately pop the circuit open again, and a success will close the circuit and reset the failure count. require 'circuit_breaker' class TestService include CircuitBreaker def call_remote_service() ... circuit_method :call_remote_service # Optional circuit_handler do |handler| handler.logger = Logger.new(STDOUT) handler.failure_threshold = 5 handler.failure_timeout = 5 end # Optional circuit_handler_class MyCustomCircuitHandler end
Circuit breaker pattern with closed, open, and half-open states, configurable failure thresholds, timeout, error class filtering, event callbacks, metrics, and exponential backoff.
CircuitBreaker is a relatively simple Ruby mixin that will wrap a call to a given service in a circuit breaker pattern. The circuit starts off "closed" meaning that all calls will go through. However, consecutive failures are recorded and after a threshold is reached, the circuit will "trip", setting the circuit into an "open" state. In an "open" state, every call to the service will fail by raising CircuitBrokenException. The circuit will remain in an "open" state until the failure timeout has elapsed. After the failure_timeout has elapsed, the circuit will go into a "half open" state and the call will go through. A failure will immediately pop the circuit open again, and a success will close the circuit and reset the failure count. require 'circuit_breaker' class TestService include CircuitBreaker def call_remote_service() ... circuit_method :call_remote_service # Optional circuit_handler do |handler| handler.logger = Logger.new(STDOUT) handler.failure_threshold = 5 handler.failure_timeout = 5 end # Optional circuit_handler_class MyCustomCircuitHandler end
rbsafecircuit is a Ruby gem that provides a robust implementation of the circuit breaker pattern, designed to enhance the resilience of applications by managing failures and reducing the impact of network or service-related issues. It includes features such as state management (closed, open, half-open), failure thresholds, timeout handling, and event-driven callbacks for handling success, failure, open, close, and half-open states. Built with flexibility and reliability in mind, rbsafecircuit helps developers ensure their applications remain responsive and reliable in the face of unreliable external dependencies.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.