版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、SCYLLA:NoSQL at Ludicrous SpeedScyllaDB NoSQL数据库的应用加速实践Today we will cover:+ Intro: Who we are, what we do, who uses it+ Why we started ScyllaDB+ Why should you care+ How we made design decisions to achieve no-compromise performance and availability+Founded by KVM hypervisor creators+Q2 2014 - Pivot
2、 to the database world+Q3 2015 - Decloak during Cassandra Summit 2015, Beta+Q1 2016 - General Availability+Q3 2016 - First Scylla Summit: 100+ Attendees+Q1 2017 - Completed B round+$25MM in funding+HQs: Palo Alto, CA; Herzelia, Israel+42+ employees, hiring!IntroductionWhy ?#$%$%?Scylla benchmark by
3、Samsungop/sWhat we do: Scylla, towards the best NoSQL+ 1 million OPS per node+ C* gets full volumeRead MicroserviceWrite ProcessScylla/Cassandra side by side deploymentWrites are written in parallel to C* and ScyllaReads are done in parallel:Memcached + Cassandra 2) Scylla (no cache at all)Read Micr
4、oserviceWrite ProcessScylla (w/o cache) vs Cassandra + MemcachedScyllaCassandraDiff%Requests/ Minute12,000,000500,000(memcache handles 11,500,000)24XAVGLatency4 ms8 ms2XMax Latency8 ms35 ms3.5XHardware9 machines30+9machines4.3XCassandras latencyScyllas latencyWhat does it mean for a non Cassandra us
5、er?+Throughput, latency and scale benefits+Wide range of big data integration: Kariosdb, Spark, JanusGraph, Presto, Kafka, Elastic+Best HA/DR in the industry.+Stop using caches in front of the database+Consolidate HBase, Redis, MySQL, Mongo and othersAssorted QuotesToday we will cover:+ Intro: Who w
6、e are, what we do, who uses it+ Why we started ScyllaDB+ Why should you care+ How we made design decisions to achieve no-compromise performance and availabilityDesign decisions: #1 The trivialsSSTable file formatConfiguration file formatCQL languageCQL native protocolJMX management protocolManagemen
7、tDesign decisions: #2 CompatibilityDouble cluster - Migration w/o downtimeAppCassandraScyllaCQLproxyDesign decisions: #3 All things asyncDesign decisions: #4 Shard per coreThreadsShardsSCYLLA DB: Network ComparisonKernelCassandraTCP/IPSchedulerqueuequeuequeuequeuequeuethreadsKernelTraditional stackS
8、cylla sharded stackMemoryApplicationCP/ITask SchedulerqueuequeuequeuequeuequeueNIQuDPDKKernel(isnt nvolved)UserspaceApplicationCP/ITask Schedulerqueuequeuequeuequeuequeuesmp queueNICQu eueeDPDKKernel(isnt nvolved)UserspaceP/IPApplicationTCT T P PTask Schedulerqueuequeuequeuequeuequeuesmp queuesNI CQ
9、euueiueDPDKKernel(isntUserspaceCore DatabaseTask Schedulerqueuequeuequeuequeuequeuemp queuesmp queueNICCQueiue involved)UserspaceScylla has its own task schedulerCPUCPUPromiseTask TaskTaskPromiseTask TaskTaskPromiseTask TaskTaskPromiseTask TaskTaskCPUPromiseTaskPromisePromiseTaskPromiseTaskPromiseTa
10、skCPUPromise PromisePromiseTaskPromisePromiseTaskPromise PromisePromiseTaskPromise PromisePromiseTaskCPUPromise is a pointer to eventually computed valueTask is a pointer to a lambda functionScheduleSrcheduleSrcheduleSrcheduleSrchedulerCPU CPU CPU CPU CPUThreadStackThreadThreadStackStackThreadStackT
11、hreadStackThreadStackThreadThreadStackStackThread is a function pointerStack is a byte array from 64k to megabytesSCYLLA IS DIFFERENTDMALog structured merge treeDBaware cacheUserspace I/O schedulerNUMA friendlyLog structured allocatorZero copyThread per coreLock-freeTask schedulerReactor programingC
12、+14Multi queuePoll modeUserspace TCP/IPScylla vs C* latency by KenshooDesign Decision: #5 Unified cacheCassandraScyllaKey cacheRow cacheOn-heap / Off-heapLinux page cacheSSTablesUnified cacheSSTablesComplex TuningCassandra Streaming configurationDesign decisions: #6 I/O schedulerScylla I/O Schedulin
13、gQueryCommitlogCompactionQueueQueueQueueUserspace I/O SchedulerDiskMax useful disk concurrencyI/O queued in FS/deviceNo queuesI/O scheduler result by KenshooMemtableSeastar SchedulerCompactionQueryRepairCommitlogSSDCompaction Backlog MonitorMemory MonitorAdjust priorityAdjust priorityWANCPUDesign Decision: #7 Workload conditioningWorkload Conditioning in practiceDisk cant keep up:workload conditioning will figure out the right request rateUpcoming releases+Enterprise release, based on 1.6+1.7 - May 2017CountersNew intra-node sharding algorithmSStableloader from 2.2/3.xDebian+2.0 S
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 车辆维修试车安全员规程
- PG工艺工程师面试题及详细答案(真实职场版)
- 2026年危废容器清洗试卷及解析
- 景区漂流运维员安全操作规程
- (完整版)传染病防治试题及答案
- 2027届日照市七年级数学第一学期期末学业质量监测试题含解析
- Oracle优化高频面试题及详细答案(实战向)
- 硅片搬运存储安全操作规程
- 膜系统停机保养操作规程
- 地铁车辆架修工安全操作规程
- 2025年10月自考13886经济学原理初级试题及答案
- 2025-2026学年湖南师大附中七年级(上)期中数学试卷
- (2025)义务教育英语课程标准【2025年版】测试题(含参考答案)
- 2025春季江苏省粮食集团有限责任公司招聘2人(第二批)笔试历年备考题库附带答案详解试卷2套
- 急性重症有机磷农药中毒护理疑难病例讨论
- 水下测绘培训课件下载
- 人工智能通识 课件 第七章 智能之躯-具身智能
- 中国茶与饮茶课件
- 痰液窒息抢救流程
- 房颤治疗流程图
- 堆取料机电气介绍
评论
0/150
提交评论