increase performance

use deque instead of array. and use redis instead of file storage.
performance increase to thousands of request/second.