# NCache

NCache is a fast, scalable, open-source distributed cache for .NET applications that keeps frequently used data in a shared in-memory pool to speed up database access and ASP.NET session or view state storage, keeping. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5696/ncache

## Description

NCache is a fast, scalable, open-source distributed cache for .NET applications that keeps frequently used data in a shared in-memory pool to speed up database access and ASP.NET session or view state storage, keeping apps responsive under heavy traffic.

## Platform availability

Available on 0 of 10 platforms.

## Health score

58/100 (Fair), based on 5 of 5 factors.
- Maintained: 82 (last commit 18 days ago)
- Popular: 56 (665 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Light to run: 20 (8 GB minimum RAM, runs on ARM)
- Security check: 75 (no serious findings)

## Links

- Docker Hub: https://hub.docker.com/r/alachisoft/ncache
- Official website: http://www.alachisoft.com
- Documentation: https://www.alachisoft.com/resources/docs/ncache/install-guide/
- GitHub: https://github.com/Alachisoft/NCache

## Common questions

### Where can NCache administrators get community help?

There is a subreddit for admins running NCache to discuss operating the cache in their environments.

### How does NCache handle multiple cache servers?

It can form a self-healing dynamic cache cluster that pools CPU and memory from all cache servers. NCache also offers topologies with different data distribution and replication strategies.

### Which ASP.NET caching workloads can NCache be used for?

NCache can be used for database caching, ASP.NET Session State storage, and ASP.NET View State caching.

### What documentation is available for NCache?

Online documentation is provided for NCache Open Source, NCache Professional, and NCache Enterprise.

### Why might View State content not be optimized in NCache?

Make sure the cache name in the web.config <ncContentOptimization> section is running and accessible from the application server. View State is not optimized if the cache is not accessible from the web application.

## Alternatives

- KeyDB: KeyDB is a distributed, Redis-compatible key-value database that adds true multi-master replication, letting any number of servers accept w…
- MongoDB: MongoDB is an open-source, document-oriented NoSQL database that stores flexible, JSON-like documents, helping developers and self-hosters…
- Redis: Redis is a fast, in-memory data structure store that can be used as a database, cache, and message broker.
- Valkey: Valkey is an open-source, high-performance in-memory key-value datastore forked from Redis.

---
Source: Our Local Host (https://ourlocalhost.com/app/5696/ncache), the self-hosted and open-source app directory.
