Class Project

Κλειστό Αναρτήθηκε Πριν 6 χρόνια Πληρώθηκε κατά την παράδοση
Κλειστό Πληρώθηκε κατά την παράδοση

1. Create a shell script that displays program name , process id and machine number. (Script should be written in mpich using c or c++)

2. Launch multiple copies of the program.

3. Establish TCP/IP communication between the processes by using peer to peer communication with servers

Explanation:

For example if we have multiple processes and a single server that is providing information to all processes, the server will be overwhelmed..

Ultimately we need to add more servers to eliminate this problem

If we add more servers, we get an issue that which process should be using which server.. because there is no communication.

So the servers should start communicating

Once they start communicating we are going to end up with the same problem because of some scalability issues

This is why the processes should start communicating to overcome this problem..

For this we need to tie communications to the code..

For example.. lets say in code "at line 100 we need to exchange data and every other process should know that at line 100 we need to synchronize the data

So there should be a common piece of code that allows the process to start communicating

In order for these to work.. the program should have some initial data in them and that is process id

And the process id should start from '0' and we can get process id from system calls

So finally

We need a shell script that launches multiple processes and have processes communicating each other..and there should be any communication between the processes that works like peer to peer..

Γλώσσα Προγραμματισμού C Προγραμματισμός C++ Linux Δέσμες Εντολών Γλώσσας Υπολογιστή

Ταυτότητα Εργασίας: #16182385

Σχετικά με την εργασία

8 προτάσεις Απομακρυσμένη εργασία Ενεργό Πριν 6 χρόνια

8 freelancers κάνουν προσφορές κατά μέσο όρο $163 για αυτή τη δουλειά

NovaSofts

Hello Sir/ Ma’am We are a group of Software Engineers having 10+ years of experience. Expert in java, C, C++ , C#. Please check our profile for reference. Thank you

$150 USD σε 3 μέρες
(296 Αξιολογήσεις)
7.4
hbxfnzwpf

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows envir Περισσότερα

$100 USD σε 2 μέρες
(145 Αξιολογήσεις)
7.0
kcbStar

Hello, I am interested in this project and so wanted to discuss more it in details. I have a lot of experience in C programming. Thanks

$155 USD σε 3 μέρες
(119 Αξιολογήσεις)
6.3
anjupathania

I am an experienced mobile app developer with 2+ year experience. I have made a lot of excellent apps and published on Apple Store and Play Store. I specialize in: -Musical apps -Educational apps - Voice/Video/Text ch Περισσότερα

$200 USD σε 12 μέρες
(0 Αξιολογήσεις)
0.0
mhortis

Hello, I am a senior C/C++ developer and I have coped with several projects, both small and more complex ones. I have a very strong academic background in algorithms and complexity, information systems and in soft Περισσότερα

$150 USD σε 7 μέρες
(0 Αξιολογήσεις)
1.0