Quantcast
Channel: User Sinatr - Stack Overflow
Viewing all articles
Browse latest Browse all 613

Comment by Sinatr on Parallel logging without mixing up the log

$
0
0
The logging is IO bound, you can organize consumer/producer queue instead of calling logger methods directly and depending on log format multiple requests can be combined (bulk-written). I did something similar in past and at cost of higher memory consumption it worked pretty well to write thousands of log entries at once every 2 seconds or so.

Viewing all articles
Browse latest Browse all 613

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>