chef-rundeck icon indicating copy to clipboard operation
chef-rundeck copied to clipboard

Perf improvement: make api requests in parallel

Open josephholsten opened this issue 10 years ago • 2 comments

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.

josephholsten avatar Oct 13 '13 01:10 josephholsten

If we really want to do this, we should use ridley for api access.

josephholsten avatar Jul 25 '14 18:07 josephholsten

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...

leftathome avatar Jul 27 '14 07:07 leftathome