Class Project
$30-250 USD
Πληρώθηκε κατά την παράδοση
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..
Ταυτότητα Εργασίας: #16182385
Σχετικά με την εργασία
8 freelancers κάνουν προσφορές κατά μέσο όρο $163 για αυτή τη δουλειά
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
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 Περισσότερα
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
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 Περισσότερα
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 Περισσότερα