Getting Started with NCache (.NET Core)
NCache Enterprise .NET Core edition is zipped in a Tar.gz (For Linux) provided at the Alachisoft website and Windows Installer Package (.msi) (For Windows). Before you install NCache, the following things are needed to be considered.
Installation Options
NCache Enterprise edition provides the following installation options:
Cache Server
This installs both server and client portion of NCache software. You must install this on 2 or more servers for reliability. These can be dedicated servers or your web/app servers. For 3 or more web/app server environments, we recommend a dedicated caching tier. In this case, we recommend a 4:1 or 5:1 ratio between web/app servers and cache servers.
If you’re installing NCache server on your web/app servers, then make sure you have sufficient memory and CPU power available for both your application and NCache.
Remote Client
This installs the remote client libraries. Install this on all your web/app servers from where you want to remotely access the cache servers. Do not install it on cache servers.
Where to Install NCache?
You need to install NCache in the following environments:
- Production
- Staging
- QA
- DEV
Production environment is where your LIVE application runs. Staging is usually identical or very similar to production and contains the "next" version of your application and is used for final stress testing and client/manager approvals before going LIVE.
QA environment is often separate from DEV and is used by QA team to test your application. DEV environment is where your application is initially developed, unit tested, and integration tested. Many times, DEV environment is also used as QA environment and there is no separate QA environment.
System Requirements
8 or More Cores
NCache is a highly multi-threaded software and takes full advantage of extra cores. The most common configuration for NCache is 8 cores or higher. You may need stronger processing power if you have higher transaction loads and/or larger amount of data being stored in NCache.1G-bit or Faster Network Card (NICs)
This improves your throughput greatly.Disk
NCache does not make heavy use of disk space for data so you don’t need a lot of it.8GB or Higher RAM (16+ GB Recommended)
NCache puts a minimum of 15% overhead on top of your data which can be even as high as 100% if you have extensively used indexing. Please keep this in mind while deciding how much memory to have in your cache servers. The total memory you need depends on how much data you plan to store in cache and how much of it is indexed..NET Core 3.0 or higher
Configure PowerShell Core
NCache provides integration with Windows PowerShell Core to easily automate its administrative processes. Moreover, NCache remote tasks can also be managed over the network through a single machine using PowerShell cmdlets.
Compatible Version
NCache PowerShell Core Provider is compatible with PowerShell Core version 6.2 or above.