Installation Options
When setting up NCache in your environment, it's important to select the right installation type based on your particular requirements. NCache offers four different installation options, the following sections details these.
Cache Server
This option installs both the server and client portions of the NCache software. We recommend you install it on 2 or more servers for reliability - these can be dedicated servers or your web/app servers with a dedicated caching tier for 3 or more web/app server environments. Usually, we recommend a 4:1 or 5:1 ratio between web/app servers and cache servers. If you’re installing an NCache server on web/app servers, ensure you have sufficient memory and CPU power available for application and NCache.
Developer/QA
This option installs the NCache API, online help/documentation, and a local stand-alone cache. Note the following limitations for the Developer/QA Installation, while connecting to remote caches:
- Only 2 remote clients can connect to the local cache on the Developer/QA machine. However, you can connect with as many local clients as you want.
- Only 3 caches can run on the Developer/QA machine with a maximum combined size of 2GB.
- The total number of requests/second per local cache is 25.
- To add a client, the user must add the relevant configuration manually in the client.ncconf. The Developer/QA installation provides no support for command line or web-based tools.
- All clients licensed under Developer/QA license cannot make more than 100 requests/sec to the remote cache.
- There is a limited number of requests (200,000) a client can send to the remote cache. For instance, in the lifetime of a client application, if it is licensed with a Developer/QA license, the client will stop making requests to the remote cache after it has sent 200,000 previous requests to the same destination. The only workaround is to restart the application for another 200,000 requests. Once the client has made 200,000 requests, a licensing exception will occur saying “Clients running under a Developer/QA license cannot send more than 200,000 requests to the remote cache.”
Remote Client (Optional)
This option installs NCache on all web/app servers from where you want remote access to the cache servers. You are only required to install the Remote client if you want to have the following benefits:
- Install OutProc Client Cache.
- Client Monitoring from within NCache Monitoring.
- Client Management through Management Center.
- Client/Server Licensing.
Client Packages Installation
To start using NCache in different programming environments, ensure that you have the following installed and added:
- For .NET: Install the necessary NuGet packages.
- For Java: Add the required Maven dependencies.
- For Node.js: Install the appropriate NPM packages.
- For Python: Install the necessary Python packages.