c++ - RAM-disk vs Boost interprocess communication -


to let set of processes communicate, advantages , disadvantages between:

  1. ram-disk
  2. boost interprocess communication

a ram-disk allows communicate programs use files.

how big performance penalty of ram-disk due file system interface replicated?

it's false dichotomy.

if you're sharing via

  • files on ram-disk - you're still using memory-mapped files (implemented boost interprocess)
  • named pipes (fifo's on unix) you're still using ipc (because pipes or socketpairs ipc primitives).

you can't /avoid/ ipc using ram disk.

in fact, sends alarm signals because sounds you're assuming somehow "simpler" using ram disk. in practice, it's simpler if don't proper locking. source of bugs, though.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -