RicardoScofileld
V2EX  ›  Node.js

关于文件操作的一个问题

  •  
  •   RicardoScofileld · Jul 17, 2018 · 3440 views
    This topic created in 2935 days ago, the information mentioned may be changed or developed.

    在 node 中,如果我同时启动两个程序对一个文件进行 appendFIle 操作,是否会造成数据的缺失?

    Supplement 1  ·  Jul 17, 2018
    就是两个进程对一个文件进行 appendFile 操作,是否存在文件锁。
    RicardoScofileld
        1
    RicardoScofileld  
    OP
       Jul 17, 2018
    v 社没有 node 大佬指导一下嘛
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2987 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 13:34 · PVG 21:34 · LAX 06:34 · JFK 09:34
    ♥ Do have faith in what you're doing.