NCache Enterprise provides two Installer Packages (.msi) for Windows and tar.gz for Linux that can be downloaded from the Alachisoft Website and used to install NCache. However, before you install NCache, you need to keep the following in mind.
NCache Server Hardware: NCache is a highly multi-threaded software and takes full advantage of multiple cores. Also, NCache puts a minimum of 15% overhead on top of your data which can be even as high as 100% or greater in case of intensive use of indexing. You can choose from among the following hardware profiles for an NCache server that meets your needs.
- SO-4 (4GB, 2 vCPUs)
- SO-8 (8GB, 4 vCPUs)
- SO-16 (16GB, 8 vCPUs)
- SO-32 (32GB, 12 vCPUs)
- SO-64 (64GB, 16 vCPUs)
- SO-128 (128+GB, 32+ vCPUs)
Please note that for production, disaster recovery (DR), and staging environments or any other environments that are high transaction in nature, you should use SO-16 or higher configuration.
NCache Client Hardware: NCache Clients are actually your application servers and their hardware profile should be very similar to the NCache servers or stronger because in most cases they handle your application load.
1G-bit or Faster Network Card (NICs): This improves your throughput greatly.
Disk/SSD: NCache does not heavily employ disk space for data, so you don’t need much of it. An SSD is recommended as you'll get much better performance than with an HDD - particularly for caching with Persistence or a Distributed Lucene.
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 consider these conditions when 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 the cache and how much of it is indexed.
- Windows Server 2016, 2019, or, 2022
- .NET 6 or .NET 4.8
- Ubuntu, Debian, or, Red Hat Enterprise Linux (RHEL)
- .NET 6
.NET Framework 4.8 or .NET 6.0: These are full-stack frameworks used for speed available on Microsoft Website.
Configure PowerShell (Windows)
NCache provides with a PowerShell to easily automate its administrative processes. Moreover, various remote NCache tasks can also be managed over the network through a single machine using PowerShell cmdlets.
NCache PowerShell Provider is compatible with PowerShell version 7.3.9.
Enable Script Execution
If you wish to create and execute PowerShell scripts using NCache cmdlets:
Search for PowerShell on the Windows Start menu. Right-click on the Windows PowerShell search result, and select Run as Administrator.
Set script execution policy to
RemoteSignedto allow remote execution:
Configure WinRM Listener
To remotely execute PowerShell commands, you must configure the Windows Remote Management (WinRM). This process is necessary because using PowerShell this way requires the Windows Services Management (WS-Management) protocol implemented by WinRM. To learn how to install and configure WinRM, head over to Microsoft documentation.