• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Cache Isolation Level (InProc/OutProc)

NCache allows applications to connect to a cache using two primary isolation levels: InProc (In-Process) and OutProc (Out-of-Process). This architectural choice determines whether the cache resides within your application's memory space or as a standalone service. While InProc minimizes latency for ultra-fast data retrieval, OutProc facilitates data sharing across multiple applications and provides a larger, dedicated memory heap. Selecting the correct isolation level is critical for balancing performance benchmarks against memory scalability.

Important

The isolation level can be changed for caches of local topology only.

A diagram demonstrating the NCache InProc and OutProc isolation levels to balance ultra-fast, in-memory local performance against the scalability and sharing benefits of a standalone cache service.

Method 1: Configuring Isolation Levels via NCache Management Center (GUI)

  • Launch the NCache Management Center by browsing to http://localhost:8251 or <server-ip>:8251.

  • In the left navigation bar, click on Local Caches.

Important

Ensure the cache you want to configure is stopped.

  • Against the cache name, click on View Details.

![An image of the Local Caches tab in the NCache Management Center showing a stopped Local Cache called demoLocalCache.

  • This opens up the detailed configuration page for the cache. Go to the Main tab.

  • Select the Isolation Level for the cache.

An image of the Main tabs on the View Details page of the demoLocalCache.

  • Click Save Changes to apply these configurations to the cache.

Method 2: Configuring InProc and OutProc via config.ncconf (XML)

In config.ncconf, you can specify the attribute value of inproc as True (for InProc) or False (for OutProc):

 <cache-config ...>
    <cache-settings inproc="False"...>
</cache-config>

Once the changes are made, start the cache, and restart the NCache Service.

Note

InProc mode is only available for Local cache.

See Also

Cache Size
Cache Data Expiration
Error Logging
Management Operations

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top