Maintaing a map of buffered stream and closing in the end
<p>My applications does continuous disk i/o through 10 threads. The cpu profile is coming very high around 100%, i was planning to make it to 1 separate writer thread.</p>

<p>Also I was thinking if i can maintain a Cache of Buffered Writers and so do not have to continuously open the streams. Does anyone see a problem in this </p>

<p>But I am unsure of where to put the close the writer. Secondly if the writer are not closed will there be a problem.</p>

<p>Thanks</p>
