Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PollDuration time.Duration = time.Second
)
Functions ¶
This section is empty.
Types ¶
type TiWatch ¶
type TiWatch struct {
// contains filtered or unexported fields
}
TiWatch, a PoC implementation of Etcd's important APIs: Watch, Get, Set The core idea is: 1. TiDB is a scalable database with **SQL** semantics. 2. TiDB supports secondary indexes. very fast lookup. 3. TiDB supports transactions, with pessimistic concurrency control 4. TiDB's pessimistic concurrency control is based on MVCC and pessimistic lock is in-memory 5. TiDB's lock is row-level, totally scalable. 6. TiDB uses multi-raft architecture to achieve strong consistency and auto-failover
Click to show internal directories.
Click to hide internal directories.