02 TiDB Operator 架构与实现 付业成## Go 夜读 & 云原生社区 TiDB Operator 架构与实现 扫描下方二维码 填写你的问题  ## TiDB Operator: Design & Implementation Presented by Yecheng jpg) ## Agenda • TiDB Operator 简介 ● 扩展 Kubernetes 的几种方式 • TiDB Operator 实现 ## TiDB Operator 是什么 ## Cloud Native Era: Portable, Scalable, Automated ## Full lifecycle management of TiDB cluster - Deployment Scaling - Handle network, hardware failures, etc. TiDB  TiDB Operator  刘林 ## 搜狗商业平台研发部资深开发工程师 - 主要从事商业平台研发工作,在构建高性能、高可用大规模系统方面有丰富的实践经验 践经验 - 目前专注于云计算、DevOps 等相关领域,负责搜狗商业云平台的设计研发工作 ## TABLE OF CONTENTS 大纲 1. 背景介绍 2. Operator 的基本原理 3. MySQL Operator 设计实践 4. 小结 ## 搜狗商业平台  elasticsearch ## 有状态服务容器化 ## TABLE OF CONTENTS 大纲 1. 背景介绍 2. Operator 的基本原理 3. MySQL Operator 设计实践 4. 小结 ## 带来的新挑战 无状态服务 有状态服务 服务调度 ↓ 服务调度 状态保存 有状态服务集群 服务调度 状态保存 集群管理0 码力 | 42 页 | 4.77 MB | 1 年前3
Node Operator: Kubernetes Node Management Made Simple## Node Operator: Kubernetes Node Management Made Simple 陈俊(Joe),Ant Financial ## Agenda • Background and Motivation • Introduction of Operators • Node-Operator • Advanced Topic: Kube-on-Kube-Operator architecture Work order deployment system can not meet the requirements of resource management. ## Operator  Action Analyze Analyze: difference from desired and actual config • Action: manage resource to desired config ## Operator: Advantages ## • Declarative system • Manage resource to final state continually • kube-apiserver0 码力 | 18 页 | 11.70 MB | 1 年前3
Go in TiDB## Go in TiDB Yao Wei | PingCAP ## About me • Yao Wei (姚维) • TiDB Kernel Expert, General Manager of South Region, China • 360 Infra team / Alibaba-UC / PingCAP • Atlas/MySQL-Sniffer • Infrastructure complex than KV  ## Why TiDB choose Golang? • Easy-learning Productivity • Concurrency • Easy to trace bugs and profile • Standard libraries and tools • Tolerant GC latency • Good performance • Quick improvement ## Go in TiDB - More than 160K lines of Go code and 138 contributors.github 0 码力 | 22 页 | 1.01 MB | 2 年前3
TiDB 2.1.7# TiDB 2.1.7 Kyle Kingsbury 2019-06-12 TiDB is a distributed, auto-sharded SQL database based on Google's Percolator model. Despite promising snapshot isolation, TiDB 2.1.7 through 3.0.0-beta.1-40 thanks to two auto-retry mechanisms which blindly re-applied updates when a transaction conflicted. TiDB also supports a select ... for update statement which mostly, but not entirely, prevents write skew disabled, TiDB 2.1.8 through 3.0.0-beta.1-40 passed our tests for snapshot isolation and single-key linearizability. 3.0.0-rc.2, which disables auto-retry by default, also passes. Finally, TiDB has a theoretical0 码力 | 9 页 | 141.29 KB | 1 年前3
Operator Pattern 用 Go 扩展 Kubernetes 的最佳实践## GCN ## Operator Pattern: 用 Go 扩展 K8s 的最佳实践 ## 👨👩👧👦 吴学强 ApeCloud KubeBlocks Maintainer & 研发总监  认识我们 00 00 什么是 Operator 01 Operator 基础模型 02 Operator 最佳实践 03 ## 我们是谁 云猿生(ApeCloud)是一家提供数据库内核与管理平台的基础软件开发商. 云猿生于2022年5月份成立,总部坐落于杭州,并同期设立北京分公司。公司是云原生计算基金会(CNCF)会员企业,信通院数据库应用创新实验室成员,并入选杭州市2023准独角兽企业榜单。 第一部分 ## 什么是 Operator ## Operator 前世今生 2015.11 2016.12 2017.12 Now ## TPR K8s 1.1 版本中正式推出 TPR (ThirdPartyResource),首次尝试解决 K8s API 的扩展性问题,但存在诸多问题,Alpha 阶段既夭折 ## Operator CoreOS 提出 Operator 概念,用于管理和0 码力 | 21 页 | 3.06 MB | 1 年前3
TiDB and Amazon Aurora## TiDB and Amazon Aurora Compare / Contrast / Combine Ed Huang, CTO @ PingCAP h@pingcap.com PingCAP TiDB TiDB Community Slack Channel https://pingcap.com/tidbslack/  ## TiDB is not a database middleware ||Sharding middleware|TiDB| |---|---|---| |ACID Transaction Capacity (Good performance)|Few TBs|200 TB+| ## TiDB architecture  TiDB Server ## Storage Physical Stack Highly layered0 码力 | 57 页 | 2.52 MB | 1 年前3
1.2 Go in TiDB1_1.jpg) ## Go in TiDB ## 申砾@PingCAP ## GopherChina 2017 ## Agenda • About Me • What is TiDB • TiDB Architecture • SQL Layer Internal • Golang in TiDB • Next Step of TiDB ## GopherChina 2017 About Me • Shen Li (申砾) • Tech Lead of TiDB, VP of Engineering • Netease / 360 / PingCAP • Infrastructure software engineer GopherChina 2017 ## What is TiDB A Distributed, Consistent, Scalable, SQL idx1: $(10, +\infty)$ GopherChina 2017 ## Example - Distributed Physical Plan Physical Plan on TiDB Final Aggregate sum(count(c1)) DistSQL Scan Physical Plan on TiKV Node-OperatorMachine CRDGo语言TiDB性能调试代码量分布式事务一致性自动重试机制复制区域Operator PatternCRDController-RTKubebuilderAmazon Aurora性能对比成本对比TiDB-DMGoGopherChina分布式数据库性能优化Pipeline architecturesOverloaded pipe operatorFunctional programmingstd::expectedMonadic operations













