Added a limit to the number of logs saved on redis

- Added a fixed interval to save the data on redis
- Removed the IP from the dictionary key
- Changed the database number to 1
- Record the average bandwidth during the interval used