jojochuang commented on code in PR #8740: URL: https://github.com/apache/ozone/pull/8740#discussion_r2205542504
########## hadoop-hdds/docs/content/concept/RocksDB.md: ########## @@ -0,0 +1,95 @@ +--- +title: "RocksDB in Apache Ozone" +menu: + main: + parent: Architecture +--- + +<!--- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +RocksDB is a critical component of Apache Ozone, providing a high-performance embedded key-value store. It is used by various Ozone services to persist metadata and state. + +## 1. Introduction to RocksDB + +RocksDB is a log-structured merge-tree (LSM-tree) based key-value store developed by Facebook. It is optimized for fast storage environments like SSDs and offers high write throughput and efficient point lookups. For more details, refer to the [RocksDB GitHub project](https://github.com/facebook/rocksdb) and the [RocksDB Wiki](https://github.com/facebook/rocksdb/wiki). + +## 2. How Ozone uses RocksDB + +RocksDB is utilized in the following Ozone components: + +* **Ozone Manager (OM):** Stores metadata related to volumes, buckets, keys, and directory structures. +* **Storage Container Manager (SCM):** Persists information about containers, datanodes, and pipelines. Review Comment: Thanks for the review! I realized this section was too vague and so rewrote this section based on *DBDefinition classes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org