---
title: "Discussion on \"Two Processes Appending to One File Will Splice Each Other's Lines\" | Hashnode"
description: "Discussion on \"Two Processes Appending to One File Will Splice Each Other's Lines\". I held a belief for longer than I should have: opening a file in append mode makes writes safe. The operating system guarantees the offset, so two processes can append without stepping on each other."
url: "https://hashnode.com/posts/two-processes-appending-to-one-file-will-splice-each-other-s-lines/6af40cc5a156d84503da8bf1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Two Processes Appending to One File Will Splice Each Other's Lines](https://aheadkit.hashnode.dev/two-processes-appending-to-one-file-will-splice-each-other-s-lines?utm_source=hashnode&utm_medium=feed)

I held a belief for longer than I should have: opening a file in append mode makes writes safe. The operating system guarantees the offset, so two processes can append without stepping on each other.

22h ago · 5 min read · aheadkit.hashnode.dev  
Read the article

-   [#concurrency](https://hashnode.com/tag/concurrency)
-   [#filesystems](https://hashnode.com/tag/filesystems)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Abdus Salam](https://hashnode.com/@aheadkit)

@aheadkit

  
[View profile](https://hashnode.com/@aheadkit)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
