Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NCache: Highly Scalable Distributed Cache for .NET

NCache is an extremely fast and scalable Open Source distributed cache for .NET applications. Use NCache for database caching, ASP.NET Session State storage, ASP.NET View State Caching, and much more.

NCache is used by hundreds of companies all over the world in mission critical applications. See more details about NCache at Alachisoft.

Features

  • Publish/Subscribe (Pub/Sub) with Topic
  • Cache CRUD operations
  • Bulk CRUD operations
  • Lock/Unlock cached items
  • Item level event notifications
  • Eviction
  • Absolute and sliding expirations
  • ASP.NET Session State Provider
  • ASP.NET View State Cache
  • NHibernate Second Level Cache provider
  • NuGet Packages
  • Runs in Microsoft Azure, Amazon, and any other Cloud platform
  • SQL Searching
  • Distributed Data Structures
  • Live Cluster Configuration
  • WAN Replication

Getting Started

You can set up NCache either by installing it directly as a cache server (default), remote client, Dev/QA or by running it inside a Docker container.

Option 1: Windows Server Installation

  1. Download and run the MSI Installer: Download the installer from Alachisoft and execute the following in command prompt.
msiexec.exe /I "C:\NCacheSetupPath\ncache.oss.x64.msi"
  1. Run the Setup Wizard: Launch the installer and follow the on-screen instructions. Select Cache Server when prompted for the installation type. Please see Windows Server Installation docs for step-by-step information on these steps.

  2. Start the NCache Service: Ensure the NCache service is running.

For more details on Getting started with NCache Open Source, please see Getting Started docs.

Option 2: Docker Installation

NCache provides official images on Docker Hub.

  1. Pull the NCache Docker Image
docker pull alachisoft/ncache:latest-oss
  1. Create NCache Container (using host network mode)
docker create --name ncache --network host alachisoft/ncache:latest-oss
  1. Register Cache Server (Register from the host terminal)
docker exec -it ncache /opt/ncache/bin/tools/register-ncacheevaluation -key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -registeras CacheServer 

For more details on NCache Docker, please see Docker docs.

Step-by-step guide about how to install NCache for Open Source edition, and to configure your environment accordingly.

Perform administrative tasks on caches using configuration files for NCache Open Source edition.

Use various features of NCache in .NET to develop high performance and scalable applications.

Docker image and Dockerfile with NCache environment to allow seamless building of NCache applications and managing cache clusters.

Compare various editions available. Enterprise Edition vs Open Source Edition.

Demonstration of NCache features using sample applications.

A collection of official integrations that enable the use of NCache with popular libraries and frameworks.

License

NCache Open Source is released under the Apache License, Version 2.0 See more details at https://www.alachisoft.com/download-ncache.html

About

NCache: Highly Scalable Distributed Cache for .NET

Resources

Stars

664 stars

Watchers

57 watching

Forks

Releases

Packages

Used by

Contributors

Languages