Batched writes to the log

We opted to keep it at 1ms, but let appending threads unpark this force thread when appending.