Simulate a scenario when a number of requests (represented by numbers) arrive at the server sequentially. You can use multithreads to process multiple requests: one thread for one request. A request arrives at the server, and waits in the queue for processing. An available thread will take the first request in the queue to process. You can use a timer to simulate the processing time. Also you can use a timer to count the time a request waiting in the queue. After processed, the request is saved into a file. Please compare the arrived requests and those saved, and make sure they are the same (on one missed).
NOTE: MAKE SURE THAT THE SERVER AND CLIENTS RUNS ON DIFFERENT SYSTEMS DYNAMICALLY.
Hello,
I will leave my information here in my profile. I have time to support you
Let's talk about your needs in detail
I hope, I will hear from you soon,
Best regards