chef-rundeck
chef-rundeck copied to clipboard
Perf improvement: make api requests in parallel
Making http requests in serial is extremely slow. If we really need a pure ruby solution, we should at least be using net-http-persistant. If we can get away with requiring libcurl, typhoeus is ideal. Faraday provides a single ruby API for both of these, and more back ends.
It's probably going to involve rewriting most of the internals of Chef::REST. Because obviously that yak needs shaving.
If we really want to do this, we should use ridley for api access.
I've encountered weird things smushing Ridley into a Sinatra app before, but yes, that would be a benefit of picking it over chef-api, I guess...