I wrote this after profiling real logging systems.
The main takeaway:
formatting and IO dominate much more than async vs sync.
Curious what others saw as bottlenecks in production.
emishkurov•19m ago
With asynchronous logging, the total time spent across the calling thread and the thread that actually performs the write will, of course, be higher. However, the latency of the calling thread can be reduced.
efmsoft•1h ago
The main takeaway: formatting and IO dominate much more than async vs sync.
Curious what others saw as bottlenecks in production.