Hi do you think you would be able to complete this order The application should include the following features: 1: The program takes a list of text files to be processed. The file list should be...

Hi do you think you would be able to complete this order The application should include the following features: 1: The program takes a list of text files to be processed. The file list should be passed to the program via the command line. Use a number, at least five, of big text or log files for testing your program. 2: Using Approach 3 (multithreaded) in the attached source code modify the given Map Reduce algorithm to build an output data structure that shows how many words in each file begin with each letter of the alphabet e.g. A => (file1.txt, = 2067, file2.txt = 180, ...), B => (file1.txt = 1234, file2.txt = 235, ...) etc then print out the results. The results can also be written out to a file for later analysis etc. Implement some accurate mechanism that outputs how long it takes in total to run the various parts of the program with a given set of text files, this provides a measure of the program performance. 3: Modify the main part of the program to assign the Map or Reduce functions to a Thread Pool with a configurable number of threads. Lookup the Java concurrency utilities for examples of using Thread Pools. The actual number of threads can be passed to the program as a command line parameter. 4: Compare the two versions of the program you have implemented in Part 2 and Part 3 above. Which version provides the better performance? How does changing the size of the thread pool affect the performance? I have part 1 done would need help with parts 2-4 if you can. thanks
Mar 19, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here