Bulk save api to improve the performance of spinnaker#214
Bulk save api to improve the performance of spinnaker#214emagana-zz merged 2 commits intospinnaker:masterfrom sanopsmx:master
Conversation
|
Please can you review this PR. |
| @@ -1,90 +0,0 @@ | |||
| # _<short_summary_of_proposal>_ | |||
There was a problem hiding this comment.
Was this deleted intentionally?
There was a problem hiding this comment.
Do we need to keep this file?
There was a problem hiding this comment.
Yes, its purpose is to serve as a template for future RFC authors.
There was a problem hiding this comment.
Added this file back.
|
|
||
| Applying the changes to pipelines with one pipeline at a time with currently available API takes hours to complete. | ||
| Since the operation of bulk updates is performed often and multiple organizations, | ||
| it makes sense to have Spinnaker support batch updates of pipelines. |
There was a problem hiding this comment.
Could you go into detail about what other approaches you've tried that lead to your need for a Bulk Save API? You mention that you're currently calling the API sequentially but have you tried calling the API concurrently? If so, what were the results? Have you tried using the savePipeline task in Orca and submitting multiple tasks? I'm interested to hear about any performance issues you've experienced using these approaches if you have. If not, why?
I believe I asked @emagana to include some of this information in the original design proposal.
There was a problem hiding this comment.
To add some helpful advice for future proposals, including data like that is critical for the community, not just the TOC, to evaluate the need for features, especially performance improvements. Understanding the full scope of what's been tried will enable us to either accept the proposal as is or offer alternative approaches and iterate on a design that suits the entire community. To be clear, I don't believe this is one of those cases. Just offering some advice on writing effective proposals :D.
There was a problem hiding this comment.
This has the history of the previous implementation.
@ajordens @robzienert
has suggested this approach.
|
@sanopsmx I've asked you a handful of times already to not open new PRs when making changes in response to feedback. PLEASE STOP: As I've mentioned each time before, this habit makes it very difficult for reviewers to have complete context during review. I'll review the contents of this proposal later today. |
|
Made a few tweaks to how this rfc was worded, I didn't want to blanket overwrite so including below (@sanopsmx). Few big things:
The I would like a reasonable upper bound on batch size such that the rpc timeouts don't need to be set excessively high. For example, at Netflix we run with a 59s timeout. |
|
I'll volunteer to attach myself to this proposal and help steer the actual implementation through alongside @sanopsmx once there's general consensus. |
Extremely sorry. Do understand your valid concern. Will not raise new PR's unless needed. |
|
|
I'm a +1 on this, sounds like my proposed re-wording is acceptable. |
emagana-zz
left a comment
There was a problem hiding this comment.
Looks like this is finally in agreement. Let's see the final implementation. Thanks!
Added bulk save api governance PR.