Q1. There is a company called XYZ that processes various log files from the operating system and provides analysis and recommendation on the basis of the data collected from the files.
A. Write a program that can take directory path is input and read all the files and provide the following info:
Number of total errors, warning info
Average errors per file
B. Write a software program using the Akka actor model that can read from the directory with embarrassingly parallel and asynchronous fashion and provide analysis ASAP. (N number of Akka actors are allowed)
C. Analyze the performance using visual VM and provide performance and memory comparison between the above approaches.