You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Porch uses etcd to cache the metadata for packages. This work will add a new database cache that will cache the entire package including metadata to a database.
With the DB cache, Porch will access Git on the "Approve" and "Delete" actions, so there will be less access required to Git. In the DB cache, we will only need to lock on packages, so simultaneous access to different packages will be possible as long as you are not doing an "Approve" or a "Delete".
The DB cache:
enables HA on Porch (even across k8s clusters)
improves data consistency
makes operations more performant, reads no longer go to git and writes do reads before writing so they will be faster too
Currently Porch uses etcd to cache the metadata for packages. This work will add a new database cache that will cache the entire package including metadata to a database.
With the DB cache, Porch will access Git on the "Approve" and "Delete" actions, so there will be less access required to Git. In the DB cache, we will only need to lock on packages, so simultaneous access to different packages will be possible as long as you are not doing an "Approve" or a "Delete".
The DB cache:
This work will be carried out in phases:
The text was updated successfully, but these errors were encountered: