Corporate · onsite · online training worldwide
contact@DevOpsSchool.com· +91 99057 40781·
> Distributed Systems · DevOpsSchool Trainer

TiKV Trainer

Private corporate batches, live online cohorts and 1-on-1 mentoring in distributed transactional key-value storage — multi-Raft regions, Percolator transactions and PD scheduling — taught by a practitioner who runs it in production.

20 years across DevOps, SRE and Security · 10,000+ engineers trained · Trained teams at JPMorgan Chase, Verizon, Nokia and the World Bank

DeliveryOnline · Onsite · Hybrid
FormatsCorporate · 1-on-1 · Cohort
AgendaCustomisable
Batch size8–30 engineers
Engineers we've trained work at
JPMorgan ChaseBank of AmericaWells FargoVerizonNokiaWorld BankGE HealthcareVMwareOracleQualcommMercedes-BenzAirbusDatadogSplunkDeloitteInfosysWiproCapgemini
# who teaches it

Your TiKV trainer

Rajesh Kumar

Principal DevOps Engineer & Architect

20 years in productionPrincipal / architect roles10,000+ engineers trainedM.Tech BITS Pilani25+ certifications

Rajesh teaches TiKV from the data path rather than the feature list — how a write travels from client to region leader through Raft to RocksDB, how region split, merge and leader transfer actually behave, and what an application observes while any of that is happening. Sessions go into the parts that decide whether a cluster is operable: MVCC and Percolator two-phase commit with lock resolution and GC safepoints, optimistic against pessimistic transactions, LSM compaction and write stalls read from real metrics, and PD scheduling driven live with pd-ctl — balance schedulers, store limits, hot region handling and location-aware placement rules. Failure work is hands-on, including replica loss, leaderless regions and unsafe recovery on a cluster deliberately broken in the lab.

Twenty years across DevOps, SRE and Security, in principal and architect roles at PayPay, SoftwareAG, ServiceNow, JDA Software, Intuit, Adobe and others. He has trained engineers at JPMorgan Chase, Verizon, Nokia, the World Bank, VMware, Oracle, Mercedes-Benz and Airbus — more than 10,000 people personally. He teaches what he runs, not what he reads.

One practitioner, not a bench

You are booked with a named engineer, and that is who turns up. Marketplaces and larger providers rotate whoever is free, so the person who sold you the agenda is rarely the person teaching it.

The same trainer is available for the next engagement, which matters when a team builds on what it learned last time.

18,000+certified learners
500+corporate batches delivered
50+countries served
100+certification programmes
# faculty

Who delivers TiKV engagements

Your batch is assigned a named trainer before it starts, and that is who teaches it. See the full faculty.

How your TiKV trainer is chosen

Engagements are matched on the tool, not the calendar. For TiKV that means a trainer who has run it in production — distributed transactional key-value storage — multi-Raft regions, Percolator transactions and PD scheduling — rather than whoever is free that week. You are told who is teaching before you commit, and that person is on the discovery call that shapes the agenda.

Where a batch is large enough to need a second trainer, the pairing is declared up front. The lead trainer stays accountable for the syllabus and the assessment either way.

Rajesh Kumar

Principal DevOps Engineer & Architect

India20 yrsLead trainer

Twenty years across DevOps, SRE and Security in principal and architect roles at PayPay, SoftwareAG, ServiceNow, JDA Software, Intuit, Adobe, IBM/Emptoris, Ness, MindTree and Accenture. He has trained more than 10,000 engineers personally, at organisations including JPMorgan Chase, Verizon, Nokia, the World Bank, VMware, Oracle, Mercedes-Benz and Airbus. He teaches what he runs, not what he reads.

Anil Kumar

IndiaInstructorCoach

Balachandran Anbalagan

IndiaInstructorCoach

Durga Prasad

IndiaInstructorCoach

Gaurav Aggarwal

IndiaInstructorCoach

Harsh Mehta

IndiaInstructorCoach

Kapil Gupta

IndiaInstructorCoach

Kunal Jain

IndiaInstructorCoach

Nikhil Gupta

IndiaInstructorCoach

Pranab Kumar

IndiaInstructorCoach

Rohit Ghatol

IndiaInstructorCoach

Amit Agarwal

IndiaInstructorCoach

# how to engage

Four ways to work with this trainer

Private corporate batch

Teams of 8–30

Custom agenda, your timezone, onsite or online, NDA-friendly.

Request a quote

1-on-1 mentoring

Individual engineers

A private instructor and a curriculum built around your goal.

₹99,999

Live & Interactive cohort

Individuals who want peers

Scheduled batch, max 8 to 10 hours of live instruction.

₹34,999

Self-paced video

Self-starters

Full LMS access — 20+ courses and 50+ tools included.

₹833/mo
# private batches

Private TiKV training for your team

A private batch starts with a discovery call. We look at the stack you actually run — the CI system, the cloud, the constraints — and map the agenda onto it, so examples use your topology rather than a generic one.

Delivery is onsite at your premises, live online, or hybrid, scheduled around your release calendar rather than ours. Batches run 8 to 30 engineers.

Every attendee leaves with recordings, slides, lab repositories and a completion certificate. You receive an attendance and assessment report. Invoicing supports PO and GST.

Talk to us about a private TiKV batch

What you provide vs what we bring

  • You: the room or the call, and the engineers
  • Us: trainer, agenda, labs, assessment, certificates
  • Labs: we guide your team through provisioning their own free-tier cloud environment — the skill goes with them
# the technology

What is TiKV?

TiKV is a distributed transactional key-value database written in Rust and graduated from the CNCF. It stores an ordered key space, splits that space into ranges called regions — roughly 96 MiB each by default — and replicates every region as its own Raft group, typically three replicas spread across separate stores. Because each region is an independent Raft group, the cluster scales by adding stores and splitting regions rather than by resharding, and the loss of a node costs a leader election per affected region rather than an outage.

Above replication sits a full transaction layer. TiKV implements the Percolator model: a two-phase commit coordinated through a lock column family, with timestamps issued by the Placement Driver acting as a global clock, MVCC versions keyed by commit timestamp, and background garbage collection behind a safepoint. Both optimistic and pessimistic transactions are supported, along with async commit and one-phase commit paths that cut latency for the common case. Applications reach the cluster through two APIs — RawKV for simple point and range operations with TTL and compare-and-swap, and TxnKV for full snapshot-isolation transactions — with clients in Rust, Go, Java and Python.

The Placement Driver is the other half of the system. PD holds cluster metadata, issues timestamps, and continuously schedules the cluster: balancing leaders and regions across stores, moving hot regions away from saturated nodes, honouring store limits, and applying placement rules and location labels so replicas respect rack and zone boundaries. Underneath everything, data lands in RocksDB with separate column families for data, write, lock and raft, which is why LSM behaviour — compaction, write stalls, block cache — shows up directly in TiKV performance work. Most TiKV in production sits beneath TiDB as its storage layer; standalone use through RawKV and TxnKV is a smaller but real niche.

Why this skill matters now

The workloads that outgrow a single relational instance keep arriving, and the options are all expensive in different ways: shard the application by hand, buy a proprietary distributed database, or run an open-source one. TiKV is one of the few genuinely open, CNCF-graduated options that offers distributed ACID transactions rather than eventual consistency, which puts it in scope wherever correctness rules out a Dynamo-style store.

The more common route into TiKV is TiDB. Teams adopt TiDB for MySQL-compatible horizontal scale, then discover that every serious operational question — why writes stalled, why one store is hot, why a region has no leader, how to recover after losing two replicas — is a TiKV and PD question. Being able to read region state, interpret RocksDB metrics and drive pd-ctl is the difference between operating that cluster and hoping.

It is also one of the best available systems for learning distributed storage properly. Multi-Raft, MVCC over an LSM engine, Percolator two-phase commit and a live scheduler are all present, documented and observable in one codebase — so the knowledge transfers to etcd, CockroachDB, Spanner-style systems and beyond, not just to TiKV itself.

TiKV training
# outcomes

What your team can do afterwards

Explain TiKV's architecture precisely — stores, regions, multi-Raft, PD and the path of a read and a write
Reason about Raft in a real system: leader election, log replication, snapshots, membership change, region split and merge
Read RocksDB behaviour from metrics — compaction, write stalls, block cache hit rate — and tune the engine deliberately
Describe MVCC and Percolator two-phase commit exactly, including lock resolution, GC safepoints and async commit
Choose between optimistic and pessimistic transactions and design key layouts that avoid hotspots and conflicts
Build against RawKV and TxnKV from Go, Java or Rust, including CAS, TTL, batching and scan patterns
Drive PD scheduling with pd-ctl — balance schedulers, store limits, hot regions, labels and placement rules
Operate a cluster in production: deployment with TiUP or the operator, monitoring, BR backups, upgrades and unsafe recovery
# curriculum

8 modules. Live demos in a real lab, not slides.

01Where TiKV fits in the distributed storage landscapeLive & Interactive5 hrs · 2 assignments · 1 capstone

What problem TiKV solves and which problems it does not. Distributed key-value stores compared honestly — TiKV against etcd, Cassandra, DynamoDB and CockroachDB — the difference between standalone TiKV and TiKV as TiDB's storage layer, and the consistency guarantees that follow from the design.

Topics: Distributed key-value stores and their design trade-offs · TiKV compared with etcd, Cassandra, DynamoDB and CockroachDB · Standalone TiKV versus TiKV beneath TiDB · Consistency model, snapshot isolation and what is guaranteed · The component map: stores, PD, clients, and optionally TiDB · Deploying a first cluster with TiUP · When TiKV is the wrong choice

  • Assignments: (1) Deploy a three-store cluster with PD and confirm region distribution; (2) Write a comparison note placing TiKV against two alternatives for a stated workload
  • Capstone: Produce an architecture assessment recommending for or against TiKV for a specific workload, with the deciding criteria stated
02Architecture and the data pathLive & Interactive5 hrs · 2 assignments · 1 capstone

Following a single operation all the way down. Key space to region, region to Raft group, Raft group to leader, leader to RocksDB — and back. Region metadata, the store view, PD's role as metadata holder and timestamp oracle, and how a client locates the right leader.

Topics: The ordered key space and region ranges · Region metadata, epochs and version · How a client resolves a key to a region leader · Region cache in the client and stale-region handling · The write path: propose, replicate, apply, respond · The read path, leader reads and follower read options · PD as metadata store and timestamp oracle · Store heartbeats and region heartbeats

  • Assignments: (1) Trace one write end to end using logs and metrics and name every stage; (2) Force a stale region cache in a client and observe the retry
  • Capstone: Document the complete lifecycle of a read and a write in a running cluster, evidenced by metrics rather than diagrams
03Raft, regions, split and mergeLive & Interactive5 hrs · 2 assignments · 1 capstone

Consensus as it actually behaves under operations. Leader election and its timing, log replication and apply lag, snapshots when a follower falls too far behind, configuration change for adding and removing replicas, and the region split and merge machinery that keeps range sizes sane.

Topics: Raft roles, terms and leader election timing · Log replication, commit index and apply lag · Snapshots: generation, transfer and their cost · Joint consensus and safe membership change · Region split: triggers, thresholds and the split process · Region merge and empty-region cleanup · Leader transfer and evict-leader · Observing Raft health: down peers, pending peers, extra peers · What a client experiences during an election

  • Assignments: (1) Kill a region leader under write load and measure the unavailability window; (2) Force splits by loading a narrow key range and watch region count grow
  • Capstone: Demonstrate and explain a full replica failure and recovery cycle, with metrics for each phase
04RocksDB, the storage engine and its tuningLive & Interactive5 hrs · 2 assignments · 1 capstone

Where most TiKV performance problems really live. LSM structure and why writes are cheap until compaction is not, the column families TiKV uses and what each holds, write stalls and their causes, block cache sizing, and the newer engine options that change the picture.

Topics: LSM trees: memtable, SST files, levels and compaction · TiKV column families: default, write, lock and raft · Compaction types, read and write amplification · Write stalls and flow control · Block cache, bloom filters and read performance · Raft Engine as a separate log store · Titan blob storage for large values · Partitioned Raft KV and where it helps · Reading RocksDB metrics from the TiKV Grafana dashboards

  • Assignments: (1) Induce a write stall with a sustained write workload and identify the cause from metrics; (2) Change block cache sizing and quantify the effect on read latency
  • Capstone: Tune a store for a stated read-heavy or write-heavy profile, with before-and-after evidence from the dashboards
05Transactions, MVCC and garbage collectionLive & Interactive5 hrs · 2 assignments · 1 capstone

The layer that makes TiKV a database rather than a replicated map. Timestamp allocation, the Percolator two-phase commit protocol, primary and secondary locks, how a crashed coordinator's locks get resolved, snapshot isolation semantics, and the GC that stops MVCC versions accumulating forever.

Topics: Timestamp oracle, start_ts and commit_ts · Percolator two-phase commit: prewrite, commit, primary lock · The lock and write column families in practice · Optimistic transactions and conflict detection at commit · Pessimistic transactions and lock waiting · Lock resolution after a coordinator failure · Async commit and one-phase commit paths · Snapshot isolation and the anomalies it still permits · GC safepoint, resolve locks and the GC worker · Large transactions and their cost

  • Assignments: (1) Create a write conflict and observe optimistic and pessimistic behaviour side by side; (2) Leave stale locks behind by killing a client mid-commit and watch resolution
  • Capstone: Explain, with live evidence, exactly what happens to data and locks when a transaction coordinator dies mid-commit
06Clients, APIs and key designLive & Interactive5 hrs · 2 assignments · 1 capstone

Building against TiKV directly. RawKV versus TxnKV and the guarantees each gives up, the client libraries and their connection and retry behaviour, batching and scanning efficiently, and the key design work that determines whether load spreads or lands on one region.

Topics: RawKV: point operations, scans, TTL and compare-and-swap · TxnKV: snapshots, transactions and isolation · Go, Java, Rust and Python clients · Connection management, region cache and retry semantics · Batch operations and pipelining · Scan patterns and reverse scans · Key encoding and prefix design · Hotspot avoidance: sequential keys, shard prefixes, scattering · Coprocessor pushdown and what it can do

  • Assignments: (1) Build a small application against RawKV and then port it to TxnKV, noting every behavioural change; (2) Create a write hotspot with sequential keys and fix it by redesigning the key
  • Capstone: Implement a data model and access layer for a real use case with a key design proven not to hotspot under load
07PD scheduling and replica placementLive & Interactive5 hrs · 2 assignments · 1 capstone

The cluster's brain. How PD decides what to move and when, the schedulers that balance leaders and regions, hot region handling, store limits that keep rebalancing from harming latency, and the labels and placement rules that keep replicas in different racks, zones or regions.

Topics: PD architecture, leader election and etcd-backed metadata · Balance-leader and balance-region schedulers · Hot region detection and hot-region scheduling · Store limits, scheduling speed and their effect on latency · Store labels and location awareness · Placement rules and rule groups · Evict-leader, transfer-peer and manual operators · Scheduling during rolling upgrades and node drains · Driving and inspecting all of it with pd-ctl

  • Assignments: (1) Add a store and control the rebalance rate with store limits while measuring client latency; (2) Write placement rules that keep three replicas in three distinct zones and verify compliance
  • Capstone: Design and enforce a placement policy that survives the loss of an entire zone, demonstrated by draining one
08Operating TiKV in productionLive & Interactive5 hrs · 2 assignments · 1 capstone

Everything required to run it after day one. Deployment with TiUP and with the operator on Kubernetes, the monitoring stack and the metrics that matter, backup and restore with BR, upgrades, capacity planning, and the recovery procedures for the failures that go past normal redundancy.

Topics: TiUP cluster deployment, scaling and rolling upgrade · TiDB Operator and TiKV on Kubernetes: StatefulSets, storage classes, PVs · Monitoring with Prometheus and the standard Grafana dashboards · The metrics that predict trouble: apply lag, pending peers, store size skew · Backup and restore with BR, and snapshot backups · Point-in-time recovery and change data capture · tikv-ctl and pd-ctl for inspection and repair · Losing majority replicas: unsafe recover and pd recover · Capacity planning: region count, store size, memory and disk · Security: TLS between components and client authentication

  • Assignments: (1) Take a BR backup and restore it into a clean cluster, verifying data completeness; (2) Destroy two of three replicas for a set of regions and bring the cluster back with unsafe recovery
  • Capstone: Deliver a production runbook covering deployment, monitoring thresholds, backup schedule, upgrade procedure and disaster recovery

Need this mapped to your stack?

We rebuild the agenda around the tools you actually run.

Request a custom agenda
# hands-on

Labs and capstones your engineers actually build

LAB · CLUSTER

Three stores, one key space

Deploy TiKV and PD with TiUP, load data until regions split, and observe region distribution, leader balance and store heartbeats as the cluster grows.

tiupregionspd
LAB · RAFT

Kill the leader under load

Drive sustained writes, kill region leaders, and measure election time, apply lag and the exact unavailability window a client experiences.

raftelectionfailover
LAB · ENGINE

Provoke a write stall

Push a write workload until compaction falls behind, identify the stall from RocksDB metrics, then tune the engine and prove the stall is gone.

rocksdbcompactiontuning
LAB · TRANSACTIONS

Kill a client mid-commit

Interrupt a two-phase commit, inspect the stranded primary and secondary locks with tikv-ctl, and watch lock resolution and GC clean up afterwards.

percolatormvccgc
LAB · SCHEDULING

Rebalance without hurting latency

Add a store, watch PD rebalance regions, then use store limits and schedulers via pd-ctl to control the rate while keeping client latency inside a budget.

pd-ctlschedulersstore limits
CAPSTONE · RECOVERY

Lose a majority and come back

Destroy two of three replicas for a set of regions, restore service with unsafe recovery, then rebuild redundancy and verify data integrity against a BR backup.

unsafe recoverbrdisaster recovery
# ecosystem

The tools TiKV sits next to

TiDB
PD
RocksDB
Rust
Kubernetes
Prometheus
Grafana
etcd
Go
Java
gRPC
Docker

Who this is for

  • Database and platform engineers operating or evaluating a TiDB or TiKV cluster
  • SREs on call for a distributed storage layer they need to understand rather than restart
  • Backend engineers building directly against RawKV or TxnKV
  • Infrastructure architects assessing distributed transactional stores
  • Engineers who want distributed systems knowledge grounded in a real, readable implementation
  • Performance engineers diagnosing latency and hotspots in a sharded storage tier

Pre-requisites

  • Comfortable on a Linux command line — services, disks, processes and log inspection
  • Basic understanding of database concepts: transactions, isolation levels, indexes
  • Some familiarity with distributed systems ideas such as replication and consensus, even at a high level
  • Ability to write a small program in Go, Java, Python or Rust for the client labs
  • Access to three or more VMs or free-tier cloud instances with SSD-backed storage
# pricing

Straightforward pricing

Every plan includes 1 year of full LMS access — not just this course, the entire DevOpsSchool LMS: 20+ courses, 50+ tools, videos, quizzes, assignments and projects.

Self-paced video

₹833/mo

Billed yearly at ₹9,996

Enroll now

1-on-1 mentorship

₹99,999

Full program, private instructor

Enroll 1-on-1

Corporate / private batch

8–30 engineers · custom agenda · onsite or online · PO and GST invoicing

Get a custom quote

Refunds. If we cancel or postpone a cohort, you get a full refund within 15 days. There is no money-back guarantee otherwise.

Terms. Course material remains licensed to the attendee. Read the terms.

Your data. We don't share it with third parties. Privacy policy.

Every attendee gets a verifiable certificate

  • Issued per attendee on completion
  • Verifiable at devopsschool.com/certificates
  • Hard copy available on request
  • Corporate batches receive an attendance and assessment report
DevOpsSchool

TiKV Training

Certificate of completion

# feedback

What engineers say

4.4 / 5 from 26 reviews on Trustpilot.

★★★★★
The Rundeck developer session was excellent and highly engaging. I appreciated how well the session was structured, with the theoretical concepts explained clearly and in simple terms. What stood out most to me was the demo — it was both informative and enjoyable. I especially liked how Rajesh walked us through not only the happy path but also the sad path, showcasing common issues and sharing practical troubleshooting tips.
Raimy Roy · Trustpilot
★★★★★
Rajesh's experience and knowledge are exceptional and we learnt invaluable practical knowledge which we can apply in our production environment. Incredibly friendly and gave us a fantastic insight both in-depth and at a high level of the Rundeck product.
Fire Titan · Trustpilot
★★★★★
Great learning experience from a very knowledgeable instructor with well-prepared course notes. The lab exercises on AWS instance work well to learn the hands-on side of the course.
Ando Gg · Trustpilot
★★★★★
Rajesh is a very good trainer I have experienced in DevSecOps training. The number of contents in different topics he has posted on the DevOpsSchool public website are amazing and user friendly for beginners and experienced professionals.
Ashutosh Mishra · Trustpilot
★★★★★
The trainer (Rajesh) provided very good sessions on SRE profession. Not only hands-on learning on the tools but also SRE mindset.
Peter Wang · Trustpilot
★★★★★
Very good training session. Well explained from the basics to the complex concepts. Also tried to cover practicals and demos within the 3 hour sessions. The learning content and videos are of a great deal of help.
Sreekanth Kannoth · Trustpilot
# comparison

Why a named practitioner beats a marketplace listing

What mattersYouTube + blogsGeneric online courseFreelance marketplaceDevOpsSchool
Named practitionerNoRarelyVaries per bookingYes — same trainer each time
Production experienceUnknownUnknownUnverified20 years, named employers
Custom agendaNoNoSometimesBuilt from your stack
Onsite deliveryNoNoSometimesYes
Lab environmentNoneSandbox that expiresVariesYour own cloud — skill goes with you
AssessmentNoneQuizRarelyAssignments + capstone per module
Per-attendee certificatesNoSometimesRarelyYes
Corporate invoicingNoLimitedVariesPO and GST
Post-training supportNoneForum, time-limitedNoneLifetime forum access
# questions

Frequently asked

Do we need TiDB to use TiKV?
No. TiKV runs standalone and is used directly through the RawKV and TxnKV APIs. That said, most production deployments sit beneath TiDB, so the course covers both and the operational modules apply either way.
Is this a TiDB SQL course?
No. This course is about the storage layer — regions, Raft, RocksDB, transactions, PD scheduling and operations. TiDB appears where it affects TiKV behaviour. If your team needs SQL optimisation and schema design, that is a separate syllabus.
Do we need to know Rust?
No. TiKV is written in Rust but you never need to modify it. Client labs are done in Go or Java by default. Teams intending to contribute upstream can request a Rust-oriented extension for a private batch.
How does TiKV compare with etcd?
Both use Raft, but etcd is a small metadata store for configuration and coordination, while TiKV is a large-scale transactional data store with MVCC, Percolator two-phase commit and a scheduler. Module one works through the distinction properly.
Does the course cover disaster recovery realistically?
Yes — the capstone deliberately destroys a majority of replicas and brings the cluster back with unsafe recovery, then rebuilds redundancy and verifies integrity against a BR backup. Rehearsed recovery is the point.
Can the agenda be customised for our stack?
Yes — that is the normal case for a private batch. We start with a discovery call, look at your cluster topology, whether TiDB sits above it, and your incident history, and rebuild the module list around them. Examples then use your workload profile rather than a generic one.
Do you deliver onsite?
Yes. Private batches run onsite at your premises, live online, or hybrid. You provide the room and the engineers; we bring the trainer, agenda, labs, assessment and certificates.
What lab environment do we need?
Attendees provision their own environment — free-tier AWS, Azure or GCP, or local VMs with SSD-backed storage for at least three stores — and we walk them through it. We deliberately do not hand out temporary sandboxes, because the environment they build is the one they keep.
How long does a private TiKV batch take?
Typically three to four days. Architecture, Raft and the storage engine fill the first two; transactions, client work, PD scheduling and the recovery capstone need the remaining time.
What size are batches?
Private corporate batches run 8 to 30 engineers. Public Live & Interactive cohorts are capped at 10 so everyone gets time with the trainer.
Do attendees get a certificate?
Yes — every attendee receives a completion certificate, verifiable at devopsschool.com/certificates. Corporate batches also receive an attendance and assessment report.
What is your refund position?
If we cancel or postpone a cohort, you receive a full refund within 15 days. There is no general money-back guarantee, and GST and gateway fees are not refunded.

Still deciding?

Tell us the team, the stack and the timeline. You'll get a straight answer, not a sales sequence.

Talk to an advisor
# ready when you are

Book a TiKV trainer — or ask a question first.

  • No spam, no drip sequence
  • Syllabus in 60 seconds
  • A human reply within one business day

Prefer to call or email?

More ways to reach us on the contact page.

Talk to an advisorRequest a quote