473,385 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Re: Interprocess communication.

Mufasa wrote:
You talk about webservices and I've used them extensively but I don't see
how they could work here for most of the stuff. Aren't web services passive?
They can't instigate some kind of action. I would need to do things like
every 15 minutes check with our home server to see if there are any changes
it needs to be aware. And also every 5 minutes tell the 'software watchdog'
that it's still alive.
Message Oriented Middleware might be an option too:

http://en.wikipedia.org/wiki/Message...ted_middleware

There are many very good (including Open Source implementations) and
most of them support .NET, so you can have active and passive components
on the client. The message broker can notify the client about new
information, and the client can send its status back to the server any time.

I wrote Delphi client libraries for some message brokers. MOM solutions
are easy to implement and very useful in medium and large scale systems.
They are not well known in the developer community yet but with service
oriented architecture they will be more common soon.

Hope this helps(tm)
--
Michael Justin
SCJP, SCJA
betasoft - Software for Delphiâ„¢ and for the Javaâ„¢ platform
http://www.mikejustin.com - http://www.betabeans.de
Jul 1 '08 #1
3 1477
It looks like I'm going to do named pipes. Can anybody point me to code
samples (or a class ) that does the pipes for me?

The examples I've seen are .Net 2.0 and are making WinAPI calls.

I'll be using .Net 2.0.

TIA - Jeff.

"Michael Justin" <mi************@gmx.netwrote in message
news:48***********************@news.freenet.de...
Mufasa wrote:
>You talk about webservices and I've used them extensively but I don't see
how they could work here for most of the stuff. Aren't web services
passive? They can't instigate some kind of action. I would need to do
things like every 15 minutes check with our home server to see if there
are any changes it needs to be aware. And also every 5 minutes tell the
'software watchdog' that it's still alive.

Message Oriented Middleware might be an option too:

http://en.wikipedia.org/wiki/Message...ted_middleware

There are many very good (including Open Source implementations) and most
of them support .NET, so you can have active and passive components on the
client. The message broker can notify the client about new information,
and the client can send its status back to the server any time.

I wrote Delphi client libraries for some message brokers. MOM solutions
are easy to implement and very useful in medium and large scale systems.
They are not well known in the developer community yet but with service
oriented architecture they will be more common soon.

Hope this helps(tm)
--
Michael Justin
SCJP, SCJA
betasoft - Software for DelphiT and for the JavaT platform
http://www.mikejustin.com - http://www.betabeans.de

Jul 23 '08 #2
Dan
Hi, I also have the same problem.
Have you finalize your work in Named Pipes?
i came across with this two..it may help..
http://msdn.microsoft.com/en-us/library/bb546102.aspx

http://www.eggheadcafe.com/articles/20060404.asp

For me my problem is to know which IPC will be the fastest?
(Pipes, .Net Remoting, WM_COPYDATA, Sockets)
What made you decide to use Pipes?

TIA - Dan
Nov 4 '08 #3
Dan,

It's impossible to say which one is fastest, unless you give the details
of the messaging pattern, the payload, etc, etc.

Also, you might not have the need for something that is the fastest,
depending on what your goals are. You might find that using named pipes in
WCF is fast enough, while making development easier, which is better than
something that you have to maintain yourself.

In the end, the trade off is something that you will have to decide on.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<Danwrote in message news:20**********************@gmail.com...
Hi, I also have the same problem.
Have you finalize your work in Named Pipes?
i came across with this two..it may help..
http://msdn.microsoft.com/en-us/library/bb546102.aspx

http://www.eggheadcafe.com/articles/20060404.asp

For me my problem is to know which IPC will be the fastest?
(Pipes, .Net Remoting, WM_COPYDATA, Sockets)
What made you decide to use Pipes?

TIA - Dan


Nov 4 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jeroen | last post by:
Question, We are in the process of creating a windows service in C#. Another GUI application, also written in C# has to communicate from another machine to this service. What is the best...
7
by: Daniel | last post by:
I search for a good way to communicate between processes. I have a main application(might be more instances) and an tool that should exchange information such as which user is logged in into the...
4
by: Charles Packer | last post by:
I need to do the following simple interprocess communication (IPC) among these processes that are all on the same box: -- A daemon waits for "I'm here" announcements from multiple clients -- One...
3
by: James Aguilar | last post by:
Oh wise readers of comp.lang.python, Lend a newbie your ears. I have read several old articles from this group about memory mapping and interprocess communication and have Googled the sh** out...
7
by: Michael Butscher | last post by:
Hi, this is not really Python-specific but I need it for Python. I'm wanting a method for interprocess communication which is OS- independent (sockets would be the normal way to go), but which...
4
by: batista | last post by:
Hello all, I need suggestions and possibly solutions to the problem stated below: I have an application written purely in .NET ( Windows Form Application) and another application that is...
0
by: Murali | last post by:
Hi Python Gurus, I am writing a GUI app (on linux) using pygtk which would launch some external applications and display their stdout and stderr inside the output window of my application...
2
by: Murali | last post by:
Hi Python Gurus, I am writing a GUI app (on linux) using pygtk which would launch some external applications and display their stdout and stderr inside the output window of my application...
3
by: madankarmukta | last post by:
Hi all, I am very new to Implementation of the Interprocess communication.I am trying to implement the concept in c++.I created the pipe using Createnamedpipe() function ,connecting to that pipe...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.