Pergunta de entrevista da empresa BigR.io

Common / best practices for storing state file(s)?

Resposta da entrevista

Sigiloso

25 de mar. de 2024

● Don’t store the state file(s) locally. Doing so can lead to catastrophic failure if the state file is deleted or your local machine goes down. ● Encrypt your state file(s) and store it in a secure place. Leaving them unencrypted is a security liability. ● Don’t allow users to manually edit the state file. Doing so can lead to corruption of the state file. ● Employ state file locking so that race conditions are handled gracefully for when two different users are trying to write to the state file at the same time. ● Highly restrict access to the state file and the processes used to write to it.