## 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
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 theoretical 0 码力 |
9 页 |
141.29 KB
| 1 年前 3 Quick links 3
2 Hello, world 5
3 Threads and WSGI 7
4 Installation 9
5 Documentation 11
5.1 User's guide 11
5.2 Web framework 37
5.3 HTTP servers and clients 77
5.4 Asynchronous networking frameworks like AsyncIO or Twisted.
This documentation is also available in PDF and Epub formats.
### 5.1 User's guide
#### 5.1.1 Introduction
Tornado is a Python web framework and asynchronous networking
Changed in version 4.0: Now returns a Future if no callback is given.
Deprecated since version 5.1: The callback argument is deprecated and will be removed in Tornado 6.0.
RequestHandler.finish(chunk=None) 0 码力 |
243 页 |
895.80 KB
| 2 年前 3 Frequently Asked Questions
## • Release notes
What's new in Tornado 5.1.1
What's new in Tornado 5.1
What's new in Tornado 5.0.2
What's new in Tornado 5.0.1
What's new in Tornado 5.0
What's
Changed in version 4.0: Now returns a Future if no callback is given.
Deprecated since version 5.1: The callback argument is deprecated and will be removed in Tornado 6.0.
RequestHandler.finish(chunk=None) and raises an error if the connection is closed before all data can be sent.
Changed in version 5.1: Now returns a Future instead of None.
RequestHandler.render(template_name, **kwargs)
Renders the 0 码力 |
359 页 |
347.32 KB
| 2 年前 3 0 码力 |
48 页 |
44.28 KB
| 2 年前 3 0 码力 |
36 页 |
204.70 KB
| 2 年前 3 0 码力 |
56 页 |
49.46 KB
| 2 年前 3 0 码力 |
45 页 |
612.98 KB
| 2 年前 3
|