Resiliency toolkit for Ruby for failing fast

Semian is a library for controlling access to slow or unresponsive external services to avoid cascading failures.When services are down they typically fail fast with errors like ECONNREFUSED and ECONNRESET which can be rescued in code. However, slow resources fail slowly. The thread serving the request blocks until it hits the timeout for the slow resource. During that time, the thread is doing nothing useful and thus the slow resource has caused a cascading failure by occupying workers and therefore losing capacity. Semian is a library for failing fast in these situations, allowing you to handle errors gracefully. Semian does this by intercepting resource access through heuristic patterns inspired by Hystrix and Release It:.
Resiliency toolkit for Ruby for failing fast #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/resiliency-toolkit-for-ruby-for-failing-fast

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles