LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-22-2006, 03:10 PM   #1
aw_wolfe
Member
 
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.

Thanks,

Tony
 
Old 01-23-2006, 11:42 AM   #2
FLLinux
Member
 
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, 02:50 PM   #3
Agrouf
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 03:11 PM.
 
Old 01-24-2006, 10:19 AM   #4
aw_wolfe
Member
 
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?

Thanks,

Tony
 
  


Reply


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 07:40 AM
Install SuSE 9 parallel to WindowsXP on a A7N8X-RAID system N<rk Linux - Newbie 1 12-28-2003 10:08 AM
And I thought Linux was suppose to be a simpler more efficient operating system? studpenguin Linux - Newbie 21 11-17-2003 01:42 AM
And I thought Linux was suppose to be a simpler more efficient operating system? studpenguin Mandriva 1 11-16-2003 05:16 PM
What file system is best for this application: bluceree Linux - Software 4 02-20-2003 10:13 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:25 AM.

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