Alachisoft.com

Tips


NCache

 
  • Build NCache Project from GitHub (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

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

  • Enable NCache Encryption (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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 Node (HTML, PDF)

    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 (HTML, PDF)

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

  • Dynamic Compact Serialization (HTML, PDF)

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

  • How to Activate NCache (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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.

  • Data Search and Query in NCache (HTML)

    NCache provides an Object Query Language (OQL) to let you search the cache. Read more about how to search data within NCache cluster using OQL.

  • Use NCache with NHibernate (HTML)

    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 (HTML, PDF)

    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 EF Cache (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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.

  • Database & Cache Syncing (HTML, PDF)

    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 (HTML, PDF)

    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 (HTML, PDF)

    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.

  • Configure NCache Express (HTML, PDF)

    Learn how to configure NCache Express to use a 2-node Replicated Cache for storing sessions or objects in a cache.

  • Optimization by Dual NICs (HTML)

    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.

  • Cache Creation (HTML, PDF)

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