Add multiple writer threads to improve throughput

Refer https://jira.corp.inmobi.com/browse/SCRIBE-37
As we discussed, please re-organize the code. Also since min_queue_size is -1 initially, we will never enter this if condition.