Optiver Interview Question

Write a log server that record all the log in the latest 1 hour