Built something? We create video reels & spotlights for GitHub projects.Promote your project →
microsoft
Home / C# / garnet

microsoft/garnet

Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.

C# ◇ cache MIT
★12KSTARS
⑂709FORKS
!58ISSUES
🏆#613GLOBAL RANK
🔥4DAYS TRENDING
🚀
Maintainer Growth Kit for garnet

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for microsoft/garnet
CSV

Momentum

+301

STARS · LAST 30 DAYS

10

PER DAY

#22

MOST-STARRED C#

Window7 days30 days90 days
Stars gained+70+301+900
Per day101010
Forks gained+4+14+35

garnet gained 301 stars in the last 30 days, about 10 a day, and now has 12K. It is about 3 years old and has averaged roughly 4K stars a year. It ranks #22 among C# repositories and #613 across all languages on GitHubRepo.

Trending Record

garnet has maintained a continuous presence across global trending indexes, peaking at #802. Below is the 30-day activity profile:

💡 Overview

garnet is an open-source project written in C#: Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.

Engineered for speed, consistency, and developer ease, it solves common hurdles in cache, cache-storage, cluster. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in C# for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ git clone https://github.com/microsoft/garnet.git
cd garnet

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

C# environment and standard tooling

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

garnet coordinates its core functionality through a modular C# pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

🎯 Production Use Cases

High-Throughput Storage

Persist and retrieve structured data records with minimal latency and high concurrency.

In-Memory Caching

Accelerate application response times by caching frequently queried database entities.

Analytical Queries

Run aggregate metrics and point lookups across large sets of records.

Distributed Replication

Synchronize state across multiple cluster nodes with strong consistency guarantees.

🚀 Getting Started

1

Install garnet using your package manager: `git clone https://github.com/microsoft/garnet.git`

2

Initialize your project workspace or configuration file for garnet.

3

Import garnet into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `garnet --help` to verify successful setup.

👍 Strengths

Active community backing with 12,025 GitHub stars and verified adoption.
Permissive open-source distribution under the MIT license.
Built in C# for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with C# and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

V
2dust/v2rayN ★ 117.2K C#

A GUI client for Windows, Linux and macOS, support Xray and sing-box and others

Compare ↗
J
jellyfin/jellyfin ★ 57.5K C#

The Free Software Media System - Server Backend & API

Compare ↗
P
PowerShell/PowerShell ★ 55.5K C#

PowerShell for every system!

Compare ↗
F
files-community/Files ★ 45.7K C#

A modern file manager that helps users organize their files and folders.

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with C#, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

microsoft/garnet is currently ranked #613 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#608 privatenumber/tsx TypeScript ★ 12.2K Compare ↗
#609 StarRocks/starrocks Java ★ 12.1K Compare ↗
#610 ostris/ai-toolkit Python ★ 12.1K Compare ↗
#611 o2sh/onefetch Rust ★ 12.1K Compare ↗
#612 manticoresoftware/manticoresearch C++ ★ 12K Compare ↗
#613 microsoft/garnet This Project C# ★ 12K
#614 aspnetboilerplate/aspnetboilerplate C# ★ 12K Compare ↗
#615 dbcli/mycli Python ★ 12K Compare ↗
#616 jason5ng32/MyIP JavaScript ★ 12K Compare ↗
#617 leachim6/hello-world Assembly ★ 12K Compare ↗
#618 faker-ruby/faker Ruby ★ 11.9K Compare ↗

Frequently Asked Questions

What does garnet do? +

Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.

What language is garnet written in? +

The primary language is C#. Topics include: cache, cache-storage, cluster, concurrent, hash-table.

Is garnet actively maintained? +

Yes, the last recorded push was on Sep 28, 2026 with 58 open issues being tracked.

How many stars does garnet have? +

garnet has 12,031 stars and 709 forks on GitHub.

How does garnet rank among GitHub repositories? +

With 12,031 stars, microsoft/garnet is ranked #613 globally across all repositories tracked on GitHubRepo and #22 among C# projects.

What license is garnet distributed under? +

The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.