Interview Question
Country: United States
Create a multimap of <time_t(in secs),logcnt> in one of the machine say X.
Every time a log is generated a message is sent to the machine X (using sockets).
The multimap will have a method that will return the count of messages in last five minutes.
Once we get the count the map can be freed.
What are your ideas Rajesh
- S O U N D W A V E October 05, 2013