nephio-project / nephio

Nephio is a Kubernetes-based automation platform for deploying and managing highly distributed, interconnected workloads such as 5G Network Functions, and the underlying infrastructure on which those workloads depend.
Apache License 2.0
93 stars 52 forks source link

Improve porch package revision save and render time #705

Open liamfallon opened 3 months ago

liamfallon commented 3 months ago

Original issue URL: https://github.com/kptdev/kpt/issues/3499 Original issue user: https://github.com/ChristopherFry Original issue created at: 2022-08-25T15:19:20Z Original issue last updated at: 2022-11-15T22:26:34Z Original issue body: To improve the user experience, there's a request for the Config as Data UI to save and render more frequently when a user is actively updating a draft package. Advantages of this includes:

This can be completed today by updating the PackageRevisionResources resource for the package however this takes several seconds to complete even for simple packages. With this taking several seconds, this will degrade the user experience since the UI will need to wait for the response (to ensure that no resources are updated for instance by a mutator) before allowing the user to make additional changes to the package.

Requesting that performance is researched to see if it can be improved. This can be reproduced with the kpt cli using kpt alpha rpkg push with the kpt-samples echo and ghost packages. Alternative solutions may exist too including dry run.

Original issue comments: