by nkozyra · 12y ago · 0 comments
If you're not all that concerned about consistency, each web server can keep their logs in a segregated memory space and then another process can combine/commit and send a flush command, leaving the primary machines relatively unencumbered.
The trouble outlined in my blog post is that the logging framework was calling fsync() -- that is, specifically asking to flush the page cache all the way to disk.
In a few cases in the past when dealing with unimportant data I have downgraded to ext2 for a nice performance bump.
The first has a write-ahead log, the latter is basically just a log. So immediately writing to disk is relatively simple.