Skip to content

Installation of Cache tier

DeclanBuckley edited this page May 28, 2024 · 25 revisions

Home / Installation / Cache Tier

The PxStat Application Cache Tier Installation and set up.

Please read the Requirements first.

Download stable Windows Binaries for MemCacheD (https://github.com/nono303/memcached).

Click on Clone or download and select the Download ZIP option.

download

Extract the Zipped files to C:

memcache

Open the Command Prompt as Administrator and run the following command to install MemCacheD as a service.

Change eventually the version number to the one you downloaded. C:\memcached-master\nssm\x64/nssm-2.25.0 install MemCacheD-<version>. - where is the version number of MemcacheD

Configure the MemCacheD service

  • Set the **Path **to the memcached.exe file that you downloaded.
  • Set the Startup directory to the parent folder of the above executable.
  • Set the Arguments (i.e. -m 20480 -I 128m) to configure the MemCacheD environment:

-m is the amount of RAM in MB, usually as much close as the total size of your disseminate Database (i.e. -m 20480 for 20 GB). Remember not to set a value higher than your physical RAM and to leave enough RAM available for your OS and IIS to run. This setting is not capped.

-I (uppercase i) the max size of a single record to be cached with the post-fix M for MB, usually as much closer to the largest data-set in your disseminate Database (i.e. -I 128m for 128 MB). This setting is capped at 128 MB.

runnssm2

Start the MemCacheD-<version>(where is the version of MemCacheD) that should be available under your Local Services.

runnssm3

Memcache Installation Settings: Memcache Installation.

Clone this wiki locally