- For graphics Render Engine
- From C++ to Rust, the game ecosystem moving towards
- ECS - Entity Component System
- Simple game engine. Easy to start
- TiKV is an open-source, distributed, and transactional key-value database.
- TiDB was built after Google F1 and TiKV after Google Spanner.
- Each node has RocksDB for Raft
- Uses Multiversion Concurrency Control
Traditional RDBMS, like PostgreSQL, that provide ACID guarantees, favor consistency over availability. BASE (Basic Availability, Soft-state, Eventual consistency) systems, like MongoDB and other NoSQL systems, favor availability over consistency.
- Pessimistic
- Lock and change
- Two-phase lock
- Optimistic
- First, perform change in a protected area, then change the current state.
MVCC
is one of that.- Core idea - Database Version
- Three Phases of Optimistic
- Simulation
- Validation
- Commit
- Multiversion Concurrency Control
- MCC - Description Section Helpful
- CAP Keynote