I made mistakes with file IO in the null DB

Опубликовано: 05 Ноябрь 2024
на канале: Null Labs
134
10

Lets talk about the mistakes I have made in our log based database when dealing with file IO! Lots will change in the future as we add more features! I was trying to keep it simple and there is WAY more to do, it's just a start.

Join my live stream!
  / klavenx  
   / @engineeringwithmarek5012  

Want to talk about tech with other super nerds?
Discord:   / discord  
Twitter:   / thenullchannel  

source code can be found at:
https://github.com/null-channel/null-...

Want to learn rust?
   • Learn the Rust language TODAY! Episod...  

========================
= timeline =
========================
0:00 - Intro
2:00 - Mistake 1
3:11 - Mistake 2
4:20 - Mistake 3
5:25 - Mistake 3.5
6:42 - memory vs disk
10:00 - main log fix
13:16 - cost to copy
14:45 - fixing the extra copy
17:28 - best part.


19:15 - BEST