当前位置:网站首页>30、 Modern storage system (management database and distributed storage system)
30、 Modern storage system (management database and distributed storage system)
2022-07-26 23:24:00 【[T]】
One 、 Database transactions
Large scale data , Efficient atomic operation
1、 Index and query optimization
Two 、 The realization of database
Virtual disk ( file ) Data structure on
1、 hold SQL The query is translated into read,write,lseek,fsync Call to
2、 concurrency control ( Transaction processing )
3、 ... and 、 The foundation of Distributed Systems
Distributed consensus protocol
1、 Copy state machine
2、RaftScope Visualization Tool
3、 ... and 、 Distributed data model :Key-Valie
LevelDB Key-Value Storage
1、 Single process ( Multithreading ), Press Key Sort
2、 Support transactions
3、 Support for snapshots ( Instant read-only snapshot of a state )
A way of implementation : journal
1、snapshot() Returns the length of the current file
2、put(k,v) All directly k,v Append to the end of the file
(1) Very efficient
3、get(k,v) Traverse the entire file
(1) Extremely inefficient ( Reading amplification )
Four 、Log-structured Merge(LSM)Tree
A simulated memory hierarchy
1、 Write direct append to log file
2、Crash safe; Not too fast
Solve read amplification
1、 Now maintain in memory log Real time data structure
边栏推荐
- The nature and proof of the center of gravity of [mathematics] tree
- Arduino experiment I: two color lamp experiment
- Practical project: boost search engine
- Pyqt5 how to set pushbutton click event to obtain file address
- 【flask高级】结合源码分析flask中的线程隔离机制
- Differences between PHP round and sprintf functions
- HCIA-R&S自用笔记(21)STP技术背景、STP基础和数据包结构、STP选举规则及案例
- New thrust of Moore's law, detailed explanation of Intel Advanced Packaging Technology!
- Eureka基本使用
- [shaders realize distorted outline effect _shader effect Chapter 2]
猜你喜欢

Kalibr calibration realsensed435i -- multi camera calibration

Hcia-r & s self use notes (18) campus network architecture foundation, switch working principle, VLAN principle

基本的SELECT语句

kalibr标定realsenseD435i --多相机标定

Ribbon负载均衡

Vit:vision transformer super detailed with code

SQL 基础知识

HCIA-R&S自用笔记(20)VLAN综合实验、GVRP

Is test development development development?

SQL Basics
随机推荐
Customer case | student education relies on observation cloud to create a new ecosystem of observable Smart Education
[MySQL] CentOS 7.9 installation and use mysql-5.7.39 binary version
蔚来杯2022牛客暑期多校训练营2
HCIA-R&S自用笔记(20)VLAN综合实验、GVRP
Concept of functional interface & definition and use of functional interface
MySQL 数据的导入
[shaders realize distorted outline effect _shader effect Chapter 2]
TypeScript阶段学习
KT6368A蓝牙芯片开发注意事项以及问题集锦--长期更新
How to recover the original data when the U disk is damaged, and how to recover the damaged data when the U disk is damaged
关于 StatefulWidget,你不得不知道的原理和要点!
基本的SELECT语句
2019 biometric forum successfully ended: these ten highlights should not be missed!
Interview: your most impressive bug, for example
json格式化小工具--pyqt5实例
MySQL syntax uses detailed code version
科研太忙无法顾家?陈婷:人生不能只有一个支点
How can enterprises mitigate the security risks of Internet of things and industrial Internet of things
Security team: Recently, there is an rce vulnerability in the COREMAIL email client of windows, which may lead to the disclosure of the private key of the wallet
Silicon Valley class lesson 6 - Tencent cloud on demand management module (I)