From: Fernan Bolando <fernanbolando@mailc.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] looking for opinions on Interprocess communication
Date: Mon, 23 Mar 2009 06:17:01 +0800 [thread overview]
Message-ID: <1d5d51400903221517y72bf9b9bp1a4715d63894efde@mail.gmail.com> (raw)
Hi all
I was wondering if you guys have an opinion on the following data
communication methods.
The data are mostly a bunch of binary where program1 is asking program2 to do
something with the data and send the results back to program1. The
data is currently very
small less than 1Kbyte, but I am not sure if it will grow later. I am
also not sure how much time
program2 needs to send a response.
method 1 - This simply uses plumber and it greatly simplifies both
program1 and program2
program1 --> file IO -> plumber -> program2 -> file IO -> plumber -> program1
method 2 - In this scheme program2 is a server, mounted on the file
system. The client
does not need to know 9p
program1 -> file IO -> server/progam2 -> fileIO -> program1
method 3 - program2 is still a server but, the client uses 9p to
communicate with program2
program1 -> 9p -> server/program2 -> 9p -> program1
I hope that made some sense to somebody.
regards
fernan
--
http://www.fernski.com
next reply other threads:[~2009-03-22 22:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-22 22:17 Fernan Bolando [this message]
2009-03-22 23:16 ` James Tomaschke
2009-03-23 20:21 ` Skip Tavakkolian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1d5d51400903221517y72bf9b9bp1a4715d63894efde@mail.gmail.com \
--to=fernanbolando@mailc.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).