Grokking the Advanced System Design Interview
Ask Author
Back to course home

0% completed

6. Segmented Log
Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Let's learn about segmented log and its usage.

Background

A single log can become difficult to manage. As the file grows, it can also become a performance bottleneck, especially when it is read at the startup. Older logs need to be cleaned up periodically or, in some cases, merged. Doing these operations on a single large file is difficult to implement.

Definition

Break down the log into smaller segments for easier management.

Solution

A single log file is split into multiple parts, such that the log data is divided into equal-sized log segments.

.....

.....

.....

Like the course? Get enrolled and start learning!

Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible