c - Data sending between master process and slaves -


i need send pretty large amount (logs) amount of data multiple processes 1 master processes. running independent on system.

what best way this? interprocess communication way or should use shared memory? maybe there different way don't know yet.

the language used c on linux, because have implement in existing program.

how accomplish it?

apart inter process communication using pipes/named pipe see question , shared memory see question , so question fastest , large size data discussion .(it directs on using shared memory(fast , large) , pipes(easy).

you can try using sockets. master listens on port , slaves connect port , master accepts connection.but may lead packeting , resource overhead.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -