RUVIDEO
Поделитесь видео 🙏

How does the database guarantee reliability using write-ahead logging?

System Design for Beginners: https://arpitbhayani.me/sys-design
System Design for Experienced Engineers: https://arpitbhayani.me/masterclass
Become a member for exclusive in-depth videos: https://www.youtube.com/c/ArpitBhayani/join
Redis Internals: https://arpitbhayani.me/redis

Any persistent database needs to guarantee reliability. No matter how big or small the changes are, they should survive any reboots, OS, or hardware crashes once they are committed. All the persistent databases use a write-ahead logging technique to guarantee such reliability while not affecting the performance.

In this video, we talk about write-ahead logging, how it ensures reliability, a few solid advantages of using it, one of them being a massive database performance boost, and how the log files are structured on the disk.

Outline:
00:00 What happens on Commit
05:57 Write-ahead Logging
08:44 Advantages of having a Write-ahead Logging
14:29 Data Integrity in WAL files
16:40 Write-ahead Logging Internals

Related Videos:
How indexes make a database read faster: https://www.youtube.com/watch?v=3G293is403I

# Arpit's System Design Masterclass

I teach an 8-week cohort-based course on System Design - a masterclass that helps you become great at designing scalable, fault-tolerant, and highly available systems.

The program will have a blend of Live Classes happening on weekends, 1:1 Mentorship sessions happening on weekdays. The program is designed to be intense and crisp to accelerate overall learning.

You can find more details about the program at https://arpitbhayani.me/masterclass.

### Subscribe to my free newsletter

? Once a week, in your inbox, an essay about programming languages internals, a deep dive on some super-clever algorithm, or just a few tips on building highly scalable distributed systems.

https://arpitbhayani.me/newsletter

### Follow me on other social platforms

Github: https://github.com/arpitbbhayani
LinkedIn: https://linkedin.com/in/arpitbhayani
Twitter: https://twitter.com/arpit_bhayani

### Things I use to make these videos

Apple iPad Pro 12.9 Inch: https://amzn.to/3jb4keI
Apple Pencil 2nd Generation: https://amzn.to/3DJ1Gq8
Boat Airdopes 621: https://amzn.to/3DIqGO6
GoodNotes Notetaking App: https://www.goodnotes.com/

Stay Awesome,
Arpit
#AsliEngineering

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «How does the database guarantee reliability using write-ahead logging?», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.