TiDB DevCon 2020
TiDB 4.0
- Serverless
- Real-Time HTAP
- Cloud-Native (We ❤ K8S)
Serverless
- Cost-effective
- Fit your workload, scale in/out automatically
VS
Serverless ≈ Cost-Effective
Serverless
scaling may
save your day
Real-Time HTAP (TiDB + TiFlash)
- Simplicity
- Blazing Fast (10x faster)
- Consistent, real-time, scale in/out
Offline Layer
Data Integration / OLTP
Real-Time Layer
Archive
Business Layer
Data Export
Online
Data
App
Server
Real Time / Data Serving APIStream
Third
Party
Data
In the old days...
Redundant data copies
Experts on different
systems
Huge operation and
maintenance team
≈ $$$$
Real-Time HTAP Architecture
Offline Layer
Data Integration / OLTP Data Serving
Real-Time Layer
Archive
Business Layer
Data Export
Online
Data
App
Server
Real-Time / Data Serving APIStream
Third
Party
Data
TiSpark
TiDB Cloud: TiDB as a Service
- Fully managed by PingCAP
- Serverless
- AWS / GCP / Azure (Coming soon)
Out-of-the-box
70+ new features and improvements
in TiDB 4.0
Faster, and even faster
- TiDB performance (50% faster)
- Open Source Community
● The easiest way for monitoring/diagnosis
● Troubleshoot read/write hot spots
● List slow queries in a few seconds
● Get/compare cluster profile reports
Dashboard
TiUP: A component manager for the TiDB eco-system
● Try TiDB (playground) within 1 minute with 1 command
$ curl https://tiup-mirrors.pingcap.com/install.sh | sh && tiup playground nightly --monitor
● Deploy a production cluster in 45 seconds
Security matters!
- TLS support for all components (including tools)
- All components support online certificate updates
- Encryption at Rest!
- aka Transparent Data Encryption, TDE
TiDB 4.0 is Ready
Thanks to Zhihu.com
(TiDB 4.0 GA)
VS
Let's go deeper...
P999 latency reduces ~40% in peak time.
VS
Let's go deeper...
P999 latency reduces ~40% in peak time.
($$$)
Why is TiDB so popular?
Kudos to the Global Open Source Community 🍻
Thanks to the open source community and hundreds of comitters from all over
the world!
● Commits:
○ Square, Zoom, Paypay, DailyMotion, ...
● Issues:
● Zoom:
○ #963
● Square:
○ #2385
● Paypay:
○ #659
○ #905
● ...
Contributors from:
Thank you!
Community is creative!
TiDB is for Everyone
AskTUG!
Share your experience with the community
https://asktug.com/
More than 2700 members
PingCAP University 4.0 is coming!
- 30+ Video courses for Developers and DBAs
- focus on TiDB 4.0
- PCTA & PCTP
TiDB 4.0 In Action
- Communtiy driven
- Handbook
- 48 hours
- 100+ authors
- https://book.tidb.io
Want to build your own database?
Check out PingCAP Talent Plan!
- Learn Go and Rust by building a database step by step!
- Distributed SQL Layer: TinySQL
- Distributed Key-Value Layer: TinyKV
TiDB is more than just a database
It is also...
- Solution for industries
- Internet / Payment / E-commerce / Banking / Gaming / Online video
/ Shipping / Healthcare……
- Answer to problems
- Real-Time Analytics / Datahub / Datamart / Metadata Storage /
Audit logging / IM ......
Biggest Challenge: Complexity
source
Chaos Engineering: let’s face the complexity!
pingcap/chaos-mesh: a chaos engineering tool for your service and business
- Designed for cloud-native systems
- Rich chaos types in CRD
- K8s as the first-class citizen
- Let failures happen every minute without writing a single line of code
Why not go and test your database/service/infrastructure now :)
Thanks!

TiDB DevCon 2020 Opening Keynote