How to write a Database
Joway Wang
iftech 2019.08
VFS
VFS - Data Struct
VFS - Link
VFS - Page Cache
VFS - Direct I/O
File System
$ cat /var/log/messages
File System
File System | Raw Device Optimize
File System | FUSE
Block Layer | I/O Scheduler
Storage Technology
DAS:Direct attached storage (local storage)
NAS:Offers file-level storage for end users that are connected to a network (AWS EFS).
SAN:Provides block-level storage for servers in a data center (AWS EBS).
SDS:A computer program that manages data storage resources and functionality and has no dependencies on the underlying physical storage hardware (Ceph).
Storage Technology
Storage Technology
文件存储:基于文件的存储
对象存储:基于对象的存储,将文件被拆分成多个部分并散布在多个硬件间。缺点是无法修改对象,必须一次性完整地写入对象。
块存储:将数据拆分成块,并单独存储各个块。缺点是处理元数据的能力有限。
Q&A