Liking cljdoc? Tell your friends :D

preflex.resilient

Resilience abstractions with backpressure:

  • Bounded thread pool - (compared to unbounded thread pool) helps keep computation and memory consumption in check
  • Circuit breaker - cuts off execution when a resource is unavailable, and resumes when it is available again
  • Semaphore - limits total number of clients competing for resources
  • Fallback - When primary computation fails, fall back to standby
Resilience abstractions with backpressure:
* Bounded thread pool - (compared to unbounded thread pool) helps keep computation and memory consumption in check
* Circuit breaker     - cuts off execution when a resource is unavailable, and resumes when it is available again
* Semaphore           - limits total number of clients competing for resources
* Fallback            - When primary computation fails, fall back to standby
raw docstring

preflex.resilient.hystrix

Emulation of Hystrix command/metrics. Experimental - in Alpha.
See:
1. https://github.com/Netflix/Hystrix
2. https://github.com/Netflix/Hystrix/wiki/Metrics-and-Monitoring
3. https://github.com/Netflix/Hystrix/tree/master/hystrix-dashboard
4. https://github.com/Netflix/Hystrix/wiki/Dashboard
raw docstring

preflex.resilient.impl

This namespace is internal and subject to change across releases without notice.

This namespace is internal and subject to change across releases without notice.
raw docstring

preflex.type

Common type definitions General:

  • Invokable - an invokable (like a function) whose result can be tested for success/failure Resilience:
  • IBoundedQueueInfo - provides information regarding a bounded queue
  • ISemaphore - a semaphore interface
  • ICircuitBreaker - a circuit breaker interface Metrics:
  • IMetricsRecorder - an interface for metrics event capturing
  • IMetricsStore - a metrics store interface
  • SampleMetrics - stats for sample metrics data
Common type definitions
General:
* Invokable         - an invokable (like a function) whose result can be tested for success/failure
Resilience:
* IBoundedQueueInfo - provides information regarding a bounded queue
* ISemaphore        - a semaphore interface
* ICircuitBreaker   - a circuit breaker interface
Metrics:
* IMetricsRecorder  - an interface for metrics event capturing
* IMetricsStore     - a metrics store interface
* SampleMetrics     - stats for sample metrics data
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close