back to home

Tencent / Tendis

Tendis is a high-performance distributed storage system fully compatible with the Redis protocol.

View on GitHub
3,139 stars
340 forks
179 issues
C++TclGo

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing Tencent/Tendis in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/Tencent/Tendis)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Tendis is a high-performance distributed storage system which is fully compatible with the Redis protocol. 中文文档 Table of Contents • Introduction • Features • Get Started • Requirements • Build • Run and Play • Test • Performance • Hardware Spec • Bechmarks and QPS numbers • QPS on different payload • Contributing • Support • License Introduction Tendis is a high-performance distributed storage system which is fully compatible with the Redis protocol. It uses RocksDB as the storage engine, and all data is stored to disks through RocksDB. Users can access Tendis using a Redis client, and the application hardly needs to be changed. In addition, Tendis supports storage capacity far exceeding memory, which can greatly reduce user storage costs. Similar to Redis clusters, Tendis uses a decentralized distributed solution. The gossip protocol is used for communication between nodes, and all nodes in a cluster can be routed to the correct node when a user accesses. Cluster nodes support automatic discovery of other nodes, detect faulty nodes, and ensure the application is almost not affected when the master node failed. Features • Redis compatibility Redis protocol and commands supported in Tendis are compatible with Redis. • Persistent storage Using RocksDB as storage engine. All data is stored in RocksDB in a specific format, supporting PB-level storage capacity. • Decentralized distributed cluster Distributed implementation like Redis clusters, using a gossip protocol to intercommunicate between nodes. • Horizontal scalability Data migration online between nodes. High performance and linear scalability up to 1,000 nodes. • Failover Auto-detect non-working nodes, and promote replica nodes to master when a failure occurs. • Key component for Tendis Hybrid Storage Edition Thanks to the design and internal optimization, Redis and Tendis can work together to be Hybrid Storage Edition. It is suitable for KV storage scenarios, as it balances performance and cost, and greatly reduces your business operating costs by 80% in the scenarios where cold data takes up a lot of storage space. Get Started Requirements • g++ (required by c++17, version >= 5.5) • cmake (version >= 3.13.0) Build Run and Play Connect to the server via redis-cli TEST You can make some change to the code and make sure the following test script pass. Performance Hardware spec Benchmarks and QPS numbers tendisplus: workers = 56 latency: QPS on different payload tendisplus: workers = 56 we test set for half an hour, and then test get key half an hour. because the data is not big enough, most of the data is in memory, so the get qps for different payload is nearly the same. Contributing For more information regarding contributing issues or pull requests, checkout CONTRIBUTING Support Checkout support for FAQs or join our discussion groups. License Tendis is licensed under the GNU General Public License Version 3.0. Copyright and license information can be found in the file LICENSE.txt.