《系统软件与软件安全》课程教学课件(PPT讲稿,英文)Lecture-7-big-volume-data-accesses

Fast Accesses to Big Data in Memoryand Storage Systems
1 Fast Accesses to Big Data in Memory and Storage Systems

FastData Accesses in ln-Memory Key-Value Stores2
Fast Data Accesses in In-Memory Key-Value Stores 2

Informationprocessingwithouttables:KeyValueStoresAsimplebuteffectivemethodindataprocessingwhereadatarecord(or a value) is stored and retrieved with its associated keyvariabletypesandlengthsofrecord(value).simpleornoschemaeasysoftwaredevelopmentformanyapplicationsKey-valuestoreshavebeenwidelyused inproductionsystems:GooglefacebookTamazon风LEVELDBTDynamoDBRocksDBLinkedinMProjectVoldemortAdistributeddatabase.redisMEMCACHED
Information processing without tables: Key Value Stores ๏ A simple but effective method in data processing where a data record (or a value) is stored and retrieved with its associated key • variable types and lengths of record (value) • simple or no schema • easy software development for many applications ๏ Key-value stores have been widely used in production systems:

Simple andEasyInterfaces of Key-Value Stores: value = get (key)put (key,value)Variable-lengthkeys&values38John_ageIndexget(key)Client
Simple and Easy Interfaces of Key-Value Stores • value = get (key) • put (key, value) Index John_age 38 . Variable-length keys & values Client get (key)

Key-Value Store:A Data Model Supporting Scale-outCommandOperationGET(key)Read valueSET(key, value)WriteaKVitemDEL(key)DeleteaKVitemHash (Key)>ServerIDItishorizontallyscalableItcanbepotentiallyof(very)highperformance
Key-Value Store: A Data Model Supporting Scale-out Data Servers Command Operation GET(key) Read value SET(key, value) Write a KV item DEL(key) Delete a KV item ▪ It is horizontally scalable, ▪ It can be potentially of (very) high performance. Hash (Key) → Server ID

Workflowof an in-memory Key-Value StoreNetworkProcessingMemoryManagementIndexOperationsAccessValue
Workflow of an in-memory Key-Value Store Network Processing Memory Management Index Operations Access Value

Workflowofa Typical Key-Value StoreTcP/IPProcessingRequestParsingNetwork ProcessingSETGETDELETEExtractKeysExtractKeysExtractKey&ValueMemoryMemoryNotFullFullMemoryManagementEvictAllocateInsert intoSearchinDeletefromIndexOperationsIndexIndexIndexRead&SendValueAccessValue
Workflow of a Typical Key-Value Store DELETE SET GET Extract Keys TCP/IP Processing Request Parsing Extract Keys Extract Key&Value Network Processing Memory Full Memory Not Full Evict Allocate Memory Management Delete from Index Insert into Index Search in Index Index Operations Read & Send Value Access Value

Where does time go in KV-Store MICA [NSDI'14]Networkprocessing&MemoryManagement0.75IndexOperations0.50.2501)128BKey2)32BKey4) 8B Key3)16BKey1024BValue512BValue8BValue64BValueAccessValueFourDataSetsIndexoperation becomesoneofthemajorbottlenecks
Where does time go in KV-Store MICA [NSDI’14] 0 0.25 0.5 0.75 1 1) 128B Key 1024B Value 2) 32B Key 512B Value 3) 16B Key 64B Value 4) 8B Key 8B Value Execution Time Percentage Four Data Sets Index operation becomes one of the major bottlenecks 9 Network processing & Memory Management Index Operations Access Value

Data Workflow of Key-Value StoresQueryNetworkProcessing&MemoryManagementHashTableRandom80MemoryAccesses口IndexOperationAccessValue
Data Workflow of Key-Value Stores Query Network Processing & Memory Management Index Operation Access Value Random Memory Accesses Hash Table

Random MemoryAccesses ofIndexing areExpensiveSequentialmemoryaccessRandommemoryaccessasoe300240180120CPU:IntelXeonE5-2650v260Memory:1600MHzDDR3036812574910.11.1213141516Number ofMemoryAccesses
Random Memory Accesses of Indexing are Expensive 0 60 120 180 240 300 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Time (nanosecond) Number of Memory Accesses Sequential memory access Random memory access 2 7 3 16 CPU: Intel Xeon E5-2650v2 Memory: 1600 MHz DDR3
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《系统软件与软件安全》课程教学课件(PPT讲稿,英文)Lecture-4-LSbM-tree.pptx
- 《系统软件与软件安全》课程教学课件(PPT讲稿,英文)Lecture-3-MR-model-and-systems.pptx
- 《系统软件与软件安全》课程教学课件(PPT讲稿,英文)Lecture-2-access-patterns-in-big-data.pptx
- 《系统软件与软件安全》课程教学课件(PPT讲稿,英文)Lecture-1-balanced-systems-updated.pptx
- 《系统软件与软件安全》课程教学资源(文献资料)系统软件与软件安全文献合集.pdf
- 济南大学:研究生院《人工智能》专业课程教学大纲汇编.pdf
- 济南大学:研究生院《计算机技术》专业课程教学大纲汇编.pdf
- 济南大学:研究生院《计算机科学与技术》专业课程教学大纲汇编.pdf
- 北京信息科技大学:研究生院计算机学院课程教学大纲汇编.pdf
- 湖南工业大学:计算机与人工智能学院人工智能专业课程教学大纲汇编(2023版人才培养方案).pdf
- 湖南工业大学:计算机与人工智能学院智能科学与技术专业课程教学大纲汇编(2023版人才培养方案).pdf
- 湖南工业大学:计算机与人工智能学院物联网工程专业课程教学大纲汇编(2023版人才培养方案).pdf
- 湖南工业大学:计算机与人工智能学院网络工程专业课程教学大纲汇编(2023版人才培养方案).pdf
- 湖南工业大学:计算机与人工智能学院通信工程专业课程教学大纲汇编(2023版人才培养方案).pdf
- 湖南工业大学:计算机与人工智能学院软件工程专业课程教学大纲汇编(2023版人才培养方案).pdf
- 华中科技大学:计算机科学与技术学院《机器学习》课程教学大纲(2021版).pdf
- 华中科技大学:计算机科学与技术学院《计算机图形学》课程教学大纲(2021版).pdf
- 华中科技大学:计算机科学与技术学院《计算理论》课程教学大纲(2021版).pdf
- 华中科技大学:计算机科学与技术学院《计算思维》课程教学大纲(2021版).pdf
- 华中科技大学:计算机科学与技术学院《接口技术》课程教学大纲(2021版).pdf
- 《系统软件与软件安全》课程教学课件(PPT讲稿,英文)Lecture-6-locks-and-CC.pptx
- 《系统软件与软件安全》课程教学课件(PPT讲稿,英文)Lecture-7-SSD-sys.pptx
- 《系统软件与软件安全》课程教学课件(PPT讲稿,英文)Lecture-8-SDS-vision.pptx
- 江苏科技大学:《计算机组成原理》课程教学资源(PPT课件,完整讲稿,共十章).pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter1_1计算机基础知识.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter1_2计算机中数的表示和编码.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter2_1 8086-8088微处理器结构.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter2_2 8086-8088的寻址方式.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter2_3 8086-8088的指令系统.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter2_4逻辑指令-控制转移指令.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter2_5处理机控制-串处理指令.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter3_1汇编语言及其程序结构.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter3_2汇编语言程序举例.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter3_3 BIOS和DOS中断功能调用.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter3_4 汇编语言程序设计.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter3_5 汇编语言程序设计小结.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter4_1 PC机的总线结构和时序.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter4_2 总线与时序.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter5_0接口概述.pptx
- 江苏科技大学:《微机原理与接口技术》课程教学资源(PPT课件)Chapter5_1接口技术的基本概念.pptx
