简体   繁体   English

使用s3fs更新日志文件

[英]Updating a log file using s3fs

If I use s3fs to mount a "folder", I can access to my log file. 如果使用s3fs挂载“文件夹”,则可以访问我的日志文件。

Will the whole file be uploaded each time I add a new line through a Python script ? 每次通过Python脚本添加新行时,是否会上传整个文件?

This is from the official git repo of s3fs located here ! 这是从这里的s3fs的官方git回购中获得的!

When you are using s3fs to mount a "folder", random writes or appends to files require rewriting the entire file. 当您使用s3fs挂载“文件夹”时,对文件的随机写入或追加操作需要重写整个文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM