How to handle thousands of db updates per second (sinatra) | Hacker News Reader