chef-boneyard / opscode-pushy-server

Chef Push Jobs Server
https://docs.chef.io/push_jobs.html
Apache License 2.0
16 stars 10 forks source link

Server gives 500s when polled for job status #109

Open markan opened 9 years ago

markan commented 9 years ago

It appears that the server gets slow when there are a lot of jobs, and if we poll too rapidly (see https://github.com/chef/knife-push/issues/25 and Zendesk issue #2641) we can throw 500s.

Examine why this call is slow; it should be cheap. 2.0 should add SSE to eliminate polling, but it's still worth understanding the bottleneck here.