Alachisoft.com

Tips


NCache

 
  • How to Use the DumpCacheData Tool

    NCache now provides a tool through which a dump of the cache data can be written to a location specified by the user. Read a step by step guide about how to use the DumpCacheData tool.

  • 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.

  • Configure NCache Alerts

    Alerts are very important in cache monitoring activities which notifies about major cache events. NCache provides a feature to create alerts for specific events. Read more about 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 how to use Memcached Plug-in.

  • Deactivating NCache License

    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 use CacheInitParams

    CacheInitParams is a class which holds the customized parameters that can be passed to the NCache.InitializeCache API in order to initialize a specific cache. Read a tip 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.

  • Enable NCache Encryption

    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.

  • Dynamic 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.

  • Cache Startup Loader

    NCache provides feature to automatically load desired data whenever cache starts. Read more about how and what data can be loaded on cache startup.

  • 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.

  • 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.

  • Cache Auto Start

    You can automatically start cache(s) at windows startup. By default Auto-start cache option is off. Read more about how to enable automatic start of 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.