Re:How Dark Deploys Code in 50ms
by somehnguy on Thursday July 11, 2019 @09:12AM
(#20411224)
Feel free to explain why
[ Parent
| on HN ]
Auditing what was changed and which version is currently in production is a bit harder than it has to be.
Copying of multiple files is not atomic. You need to ensure a file with func1 exists before another file calling func1 gets copied. You can do it atomically by having 2 directories and swapping a symlink, but... that's a scriptable pipeline at that point.
Yet another reason is FTP turned out to be inherently unsafe.
Re:How Dark Deploys Code in 50ms
by jszymborski on Thursday July 11, 2019 @12:30PM
(#20412912)
SFTP, however, has FTP feature parity and is secure as SSH (since it is ostensibly SSH).