Let me find the best of acheiving the performance with file I/O of storing XML files
posted 3 years ago
We are working Enterprise application that involves the storing of XML logs to Secondary Storage as part each request processing. But it consuming more CPU time when writing logs to Secondary Storage. Thus effecting the entire application performance.
I tried to improve this with following know methods.
1. Using ZIPInputStream to write bytes to ZIP file , It is good in accordance to less file Size but it consumes more time than writing bytes to plain text file.
2.Using GZIPInputStream to write compressed bytes of data to GZIP file relatively this is also as far as performance is concerned.
So any body please suggest me the best way for achieving best performance with I/O and less in file size ?