NCache Tips

  • Use Backup and Restore on Cached Data

    NCache enables the user to create a backup of the cache data that can be written on a location specified by the user. Read more on how to create backup for disaster recovery.

  • Build NCache Project from GitHub

    NCache is available as Open Source Project on GitHub. Read a step by step guide about building the project from it's source code.

  • Calculate Cache Max Size

    Calculation of cache size is very important for creating a cache cluster. Read a tip about calculating the estimated size of memory needed collectively and for each cache server.

  • Email Alerts for Event Notifications

    Alerts are very important in cache monitoring activities which notify about major cache events. NCache provides a feature to create email alerts for specific events. Read more on how to enable them.

  • NCache Memcached Plug-in

    You can switch from Memcached to NCache without any code change in your application. This way you can benefit from the scalability option provided by NCache. Read more about use Memcached Plug-in.

  • How to Deactivate NCache Using PowerShell?

    Activated machines using the NCache license can be deactivated. In this way, existing licenses can be freed up and used to activate other machines. Read more about deactivating licenses.

  • NCache for Azure Install Scripts

    Web Roles are designed for the fast provisioning and de-provisioning of your cloud applications. Read more about how NCache can be automatically installed in Microsoft Azure with the deployment of a Web Role.

  • NCache IP Binding

    NCache cluster binds to a single IP Address which can be used for both within the Cluster communications and communications between the Remote Clients and the NCache servers. Read a tip for correctly implement and troubleshooting IP binding problems.

  • Enable API Call Logging

    NCache provides the facility to record API calls on client side of the application in the form of log files. Read more about how to log NCache API calls.

  • Azure Web Roles and Cache Servers

    Read a tip about deploying your cache servers and web roles on the same virtual network and getting the best performance out of NCache cluster in Microsoft Azure.

  • How to Programmatically Connect to a Cache?

    CacheConnectionOptions is a class which holds the customized parameters that can be passed to the CacheManager.GetCache API call in order to initialize a specific cache. Read more about initializing a cache programmatically.

  • Auto Load Balancing

    The Auto Load Balancing feature of NCache distributes data symmetrically over the cluster nodes. Read how this feature can be enabled.

  • Encrypt and Secure Cached Data

    Encryption helps users to protect sensitive information that is being stored within the NCache cache cluster. Read more about how NCache ensures cache data security.

  • Enable NCache Compression

    Compression helps to achieve higher throughput rates by decreasing latency over the network. Read the tip about how to enable NCache compression.

  • Monitor NCache Cluster

    Monitoring system performance while it is in operation mode is essential part of making system improvement decisions. Read about the monitoring tools and techniques available in NCache.

  • NCache Performance Counters

    NCache performance counters are very helpful to analyze application's performance. These counters can also help identify any problem within NCache cluster or the network where NCache is operating.

  • Planned Downing of a Cache Node

    NCache allow individual cache servers to be taken down for maintenance without having to stop the cache. Read the tip to take single cache server down from the running cluster.

  • Recover from Partially Connected Cache Cluster

    Partial connectivity means two or more cache servers are connected with each other but not fully connected. Read more about eradicating this problem.

  • Compact Serialization

    Compact serialized file is compact in form of data and process. Read more about NCache performance enhancement thorough compact serialization.

  • How to Activate NCache

    It is required to activate NCache after the evaluation period is expired using a purchased license key. Read more about different ways to activate NCache.

  • NCache Security feature

    NCache provides security with authentication and authorization built into the product. Read more about how NCache provides admin and user level security.

  • Preload Data on Cache Startup and Keep it Fresh

    NCache provides a feature to automatically load desired data into the cache on cache startup and keep this data fresh. Read more about how and what data can be loaded into the cache on its startup and how this data is kept fresh.

  • CLR Stored Procs with NCache

    Read a tip about how NCache can register for change notification through SqlCacheDependency and receive notifications from SQL Server when underlying data changes in the database.

  • Hardware Recommendations

    You can run NCache cache servers and NCache Remote Clients on physical servers as well as on Virtual machines. Read more about the best practices for choosing hardware for NCache cluster.

  • Use NCache with NHibernate

    NHibernate is a famous ORM tool. NCahe can be used as NHibernate second level cache. Read a tip about step by step process for configuring NCache with NHibernate.

  • Configuring NCache Behind Firewall

    In a firewalled environment, it is required that NCache ports are open to allow communications. Read a tip about NCache port configuration in this scenario.

  • Configure Entity Framework Cache

    Entity Framework is very popular for data-oriented software application development. NCache introduces the cache provider which acts between Entity Framework and the data source. Read more about using NCache as EF Cache provider.

  • NCache Evictions

    Eviction is necessary to keep cache from reaching its maximum storage limit. Read more about how NCache evicts items to make room for new ones as cache storage limit approaches.

  • How to Auto Start Cache?

    You can automatically start cache(s) at NCache service startup. By default, the Auto-start cache option is disabled. Read more about how to auto-start your cache.

  • Synchronize Distributed Cache With Database

    Keeping data source and cache synchronized in case of multiple applications using and updating data in the database is important. Read a tip about synchronizing database and cache store synchronized using polling technique.

  • 64-bit NCache Service

    Sometimes NCache service fails to start if the .NET CLR is not able to verify the certificates on a particular server. Read more about how to get the certificates verified and start NCache service.

  • Configure ReadThru/WriteThru

    NCache has various features to help you synchronize your cache and data stores. Read more about synchronizing data store with NCache using Read-through and Write-through algorithms.

  • Optimization by Dual NICs

    If you have two NICs available on a cache server then NCache can utilize both Network Interface Cards (NICs) on your Cache Servers through Dual NIC Interface. Read more about enabling this feature.

  • Create a Cache

    This tip states simple steps to automate NCache cache creation process through a batch script.

Signup for monthly email newsletter to get latest updates.

© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.