Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perf improvement: make api requests in parallel #33

Open
josephholsten opened this issue Oct 13, 2013 · 2 comments
Open

Perf improvement: make api requests in parallel #33

josephholsten opened this issue Oct 13, 2013 · 2 comments

Comments

@josephholsten
Copy link
Contributor

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
Copy link
Contributor Author

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

@leftathome
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants