educative.io

About two log writing threads of BigTable

There is a say:
To further improve the performance, each Tablet server maintains two log writing threads — each writing to its own and separate log file. Only one of the threads is active at a time. If one of the threads is performing poorly (say, due to network congestion), the writing switches to the other thread. Log entries have sequence numbers to allow the recovery process.

My question is:
If two threads are from the same machine, how’s that possible to make the performance better by switching to the other thread?


Course: Grokking the Advanced System Design Interview - Learn Interactively
Lesson: BigTable Refinements - Grokking the Advanced System Design Interview