Making network requests more resilient
- waste less time on failures by using dynamic, granular timeouts and deadeline propagation
- reduce errors by automatically retrying idempotent calls
- observe every network connection and request
require "network_resiliency"
NetworkResiliency.configure do |conf|
conf.statsd = Datadog::Statsd.new
end
Redis.new.pingYes please :)
- Fork it
- Create your feature branch (
git checkout -b my-feature) - Ensure the tests pass (
bundle exec rspec) - Commit your changes (
git commit -am 'awesome new feature') - Push your branch (
git push origin my-feature) - Create a Pull Request
https://grpc.io/blog/deadlines