Skip to content

Instantly share code, notes, and snippets.

View anocendi's full-sized avatar

SSW anocendi

View GitHub Profile
@anocendi
anocendi / persistent_pipes_linux.md
Last active September 10, 2015 14:32 — forked from CAFxX/persistent_pipes_linux.md
Persistent pipes/circular buffers for Linux

Persistent "pipes" in Linux

In a project I'm working on I ran into the requirement of having some sort of persistent FIFO buffer or pipe in Linux, i.e. something file-like that could accept writes from a process and persist it to disk until a second process reads (and acknowledges) it. The persistence should be both across process restarts as well as OS restarts.

AFAICT unfortunately in the Linux world such a primitive does not exist (named pipes/FIFOs do not persist

Keybase proof

I hereby claim:

  • I am anocendi on github.
  • I am anocendi (https://keybase.io/anocendi) on keybase.
  • I have a public key ASBfQk4ZNnCFGPcGoKtreBzSiGp_4yjLbTsrur6v81aIBwo

To claim this, I am signing this object: