Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-22-2006, 02:10 PM   #1
Registered: Apr 2005
Posts: 50

Rep: Reputation: 15
Looking for efficient way to communicate between application on parallel system

I am hoping someone has more experience at this than I do. I need an efficient (since it will occur quite frequently) way for mutliple applications (not threads) to communicate with each other while running C++ on multiple machine, parallel system (openmosix, fedora 3 -- if that would affect things).

Any thoughts? Perferably from someone that has done it before, but willing to listen to any ideas.


Old 01-23-2006, 10:42 AM   #2
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Rep: Reputation: 15
My first thought i this wold be to use sockets and send data through an ethernet port. Since sockets are usually common across system you might be able to make a nice class that can be used on the different systems.
Old 01-23-2006, 01:50 PM   #3
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
You could use sockets, MQseries, gSOAP, CORBA, RPC, SWIFT, mySQL, NFS file transfers, emails, ssh, ftp, xfb and many other kind of tools but is depends on the context.
Which kind of performance do you need/expect?
How much data need to travel, at which rate and to how many machines?
Are the machines running different OSes?
How important is the monitoring of your application's communication?
How far away are your machines (is that the internet or local lan)?
What is the speed of the network?
How many machines are there?
How important is the security/confidentiality of the data that travels accross?
How important is the reliability of the data?
Is the sequence of the data important?
How must your applications synchronize?
Do you need a batch or real time data transfer?
Is the architecture of your application client/server style or peer to peer?
Is it ok to rely on closed souce middleware to transport your data?
Are you ready to pay for a middleware, if yes how much?
It also depends on the nature of the data and the architecture of your application, and if your application need to communicate with other third party applications or not.

Last edited by Agrouf; 01-23-2006 at 02:11 PM.
Old 01-24-2006, 09:19 AM   #4
Registered: Apr 2005
Posts: 50

Original Poster
Rep: Reputation: 15
It will start with 2 computers on a LAN. However, it needs to be able to scale up. All computers will be running the same OS, fedora core 3 with openmosix.

The application communication needs to be real time, so file transfers or communicating through a db seems out.

Middleware purchase is not possible. Needs to be open share/freeware.

Is there a way to do a shared memory access over the multiple computers?




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
is parallel processing possible in distrributed system? sabeen Linux - Distributions 1 03-26-2004 06:40 AM
Install SuSE 9 parallel to WindowsXP on a A7N8X-RAID system N<rk Linux - Newbie 1 12-28-2003 09:08 AM
And I thought Linux was suppose to be a simpler more efficient operating system? studpenguin Linux - Newbie 21 11-17-2003 12:42 AM
And I thought Linux was suppose to be a simpler more efficient operating system? studpenguin Mandriva 1 11-16-2003 04:16 PM
What file system is best for this application: bluceree Linux - Software 4 02-20-2003 09:13 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration