{
  "repo": "tikv/tikv",
  "binary": "tikv-server",
  "binary_path": "cmd/tikv-server/src/main.rs",
  "dependencies": {
    "Runtime TiKVServer.serve": {
      "description": "Runs the main TiKV runtime with gRPC service registration and a companion status server.",
      "infrastructure": {
        "grpc_runtime": {
          "operations": [
            {
              "operation": "Register the TiKV and Health gRPC services through grpcio ServerBuilder",
              "implementation": "src/server/server.rs and components/server/src/server2.rs"
            }
          ]
        },
        "status_http_server": {
          "operations": [
            {
              "operation": "Start the status server for metrics and diagnostics",
              "implementation": "components/server/src/server2.rs"
            }
          ]
        },
        "raftkv_storage": {
          "operations": [
            {
              "operation": "Open configured engines and run the RaftKV server loop",
              "implementation": "cmd/tikv-server/src/main.rs"
            }
          ]
        }
      },
      "services": []
    }
  }
}
