Hacker News new | ask | show | jobs
by jiggawatts 478 days ago
A common one for server apps is logging, especially to the console.

It’s far more expensive than people assume and in many cases is single-threaded. This can make logging the scalability bottleneck!

1 comments

Logging to a 'serial' console can stall the whole kernel, wrecking latency, and this can easily show up in VMs since a lot of them emulate a lowest-common-denominator UART inerface as the kernel console.
I remember setting a server’s console baudrate in EFI to its higher setting improved boot times, hehe.