🔗 Buffering SQL Writes with Redis

"To solve our locking issue we take a buffered writes approach. This means that we aggregate writes over a period of time, and flush them after an interval. Our constraints primarily revolve around one question: how much data are we willing to lose? That question controls the flush interval of the buffers. In our case it’s 10 seconds."

🌎 http://blog.getsentry.com/2016/02/23/buffering-sql-writes-with-redis.html