Questions tagged [ncache]

NCache is an extremely fast and scalable in-memory distributed cache that caches application data and reduces expensive database trips. NCache also provides out of the box in-memory ASP.NET Session State storage for web farms.

NCache

NCache is an extremely fast and scalable in-memory distributed cache that caches application data and reduces expensive database trips. NCache also provides out of the box in-memory ASP.NET Session State storage for web farms.

Features

  • Object Caching Features: Very rich operations. Get, Add, Update, Remove, Exists, & Clear Cache with many options, Absolute & sliding expirations, Lock/unlock, item versioning, and streaming API provided.
  • Cache Topologies: Mirrored, Replicated, Partitioned, Partitioned-Replica, and Client Caches. Highly dynamic and intelligent replication provided.
  • Cache Elasticity (High availability): Highly elastic with 100% uptime. Peer to peer cache cluster architecture. Connection failover support and dynamic configuration. Wan Replication: Supports WAN replication between following sites. Active-passive, active-active. No performance drop.
  • Security & encryption: Active Directory/LDAP authentication, authorization, and 3DES/AES-256 encryption. No programming needed.
  • Cache Administration: Very feature-rich GUI tools. NCache Manager, NCache Monitor, PerfMon counters, and command line tools provided.
  • Synchronization with Data Sources: SqlDependency, OracleDependency, DbDependency, & CLR Stored Procedures for database synchronization. File based and Custom dependency for non-relational data sources.
  • Managing Data Relationships: Key based Cache Dependency allows you to handle one-to-one, one-to-many, and many-to-many relationships in the cache automatically.
  • Search Cache (SQL-like): Object Query Language (OQL) and LINQ. Search cache on object attributes, Tags, and Named Tags with SQL-like query.
  • Read-through & Write-through: Multiple Read-through, Write-through. Use cache to fetch data from your database and simplify your apps. Also auto-reload cached items when expired or when database synchronization needed.
  • Data Grouping: Group/sub-group, Tags, and Named Tags. Group, fetch, update, and manipulate data intelligently.
  • Runtime Data Sharing: Events, Continuous Query, .NET/Java portable binary data, and more. Use NCache for publisher/consumer data sharing between .NET/.NET or .NET/Java apps.
  • Cache Size Management: Cache level management. LRU, LFU, and Priority evictions. You can designate cached items to not be evicted with priority eviction.
  • ASP .Net Support: ASP.NET Session State, ASP.NET View State, ASP.NET Output Cache. Replication for sessions, View State, and page output. Link view state with sessions for auto expiry and much more.
  • Third Party Integrations: NHibernate Second Level Cache, Entity Framework Cache, Memcached Wrapper; extra features provided for all of these. Use all of these without any programming.

To get started, read the getting started with NCache guide or watch five steps to getting started.

Learn more

More information about NCache available through the following:

Support

Various support options are available for NCache. Inquiries and questions are answered by experienced and helpful support engineers. Following communication methods are available:

Self Service Support

Search extensive online documentation, FAQ's, articles and online demos 24 hours a day. NCache online resources provide a wealth of information on many topics and provide quick answers to common questions.

Email-based Support

Contact support personnel, using support@alachisoft.com

24x7 Phone Support

24x7 support is also available for NCache customers.

73 questions
1
vote
0 answers

What cache server for .NET is th best?(CSql, Memcached, NCache, Shared Cache, AppFabric)?

Possible Duplicate: Cache server for .NET(Example Memcached) I am trying to choose cache server for my project that will be written on .NET. I found a list of servers:CSql, Memcached, NCache, Shared Cache, AppFabric. What is the best on your…
F0rc0sigan
  • 676
  • 2
  • 11
  • 22
1
vote
1 answer

Apply NCache to existing project (with CacheDependency)

Help/Answers in C# or VB.net are fine I have a large project that currently uses system.web.Caching.CacheDependency, example Dim myCacheDep as new CacheDependency(FilePath) HttpRuntime.Cache.Insert(key, value, myCacheDep) Now, i am trying to setup…
treendy
  • 443
  • 3
  • 16
1
vote
1 answer

Shared Session between 2 hosting servers

How can I share session like LoginUser value between 2 hosting servers? I host 2 application one in 10.10.10.120 (IIS 8) and the other on 10.10.10.121 (IIS 8). I tried use Sql server or NCache server but not worked. I used same machine Key in 2 apps…
shady youssery
  • 430
  • 2
  • 17
1
vote
1 answer

Fetching operations from Ncache server is taking time than previously

In my office, we have a server that has Ncache installed for storing and retrieving data and our applications are also hosted there. There was an issue where application was getting timed out. In depth, i found that getting cache method from Ncache…
rohit singh
  • 1,239
  • 3
  • 15
  • 26
1
vote
2 answers

Implementing Awaitable Async method for NCache Get

We're in the process of refactoring all, or a large portion of our .NET 4.6 MVC WebAPI controller methods to async methods. This seems like it will work well for methods that have a lower level invocation of a method that is awaitable such as SQL…
Sivart
  • 315
  • 1
  • 3
  • 12
1
vote
1 answer

Using distributed cache for locking

I'm currently looking to move the caching of my website over to NCache to allow availability, however in my code there are cases which need locking to guarantee data correctness. I've read that one way of solving this is to use locking on the…
Tom Gullen
  • 61,249
  • 84
  • 283
  • 456
1
vote
0 answers

CreateCache.exe stuck in NCache caching software (open source edition)

Every time I am trying to create new cache through createcache.exe (using commands like createcache.exe ClusteredCache or createcache.exe ClusteredCache /s /t local), program starts and does not output any result (about success or failure of…
Siocki
  • 53
  • 2
  • 9
1
vote
1 answer

NCache as Entity Framework second level cache not syncing with database

Using NCache 4.6 as EF 6.1.3 second level cache, SqlDependency is not working. (It cant detect changes that I make directly in SQL server. Also does not update cache or invalidate it when using EF to add or delete entities to database. Albeit it…
R Pasha
  • 700
  • 5
  • 21
1
vote
1 answer

How to increase NCache memory allocation

From what I know the memory allocation is set when the cache is created: createcache demoCache /s 127.0.0.1 /S 1024 Do you know if the memory allocation for NCache can be increased without reinstalling the cache? I need to increase the NCache…
iusmar
  • 339
  • 1
  • 6
  • 15
1
vote
0 answers

NCache Serializes object and then throws OutOfMemoryException after only 67MB

The object should ultimately serialize to about 350MB which is well under the limit for 32 bit apps. I am setting up my own Compact Serializer so I can control serialization and I am finding that the MemoryStream consumption is reaching a Capacity…
n8CodeGuru
  • 413
  • 1
  • 6
  • 13
1
vote
1 answer

Does NCache Open-Source 4.4SP1 support item-level notifications?

I am trying to use NCache as a shared key-value store with data-change notifications. Here is what I tried: var cache = NCache.InitializeCache("mycache"); cache.RegisterCacheNotification("123", CacheDataModified, EventType.ItemAdded |…
Laurent LA RIZZA
  • 2,905
  • 1
  • 23
  • 41
1
vote
1 answer

Is there any caching framework available for .NET?

I've searched and researched whole stackexchange stuffs but couldn't find anything properly that could help me in my situation. Summary goes like this, I want to implement a caching store mechanism in C# which will help me in accessing the data…
1
vote
1 answer

NCache Enterprise Edition Installation Issue

I have the following problem while trying to setup the Enterprise NCache evaluation server on one of my test servers: Error 1001.Exception occurred while initializing the installation: System.ArgumentException: String cannot have a zero…
Un4g1v3n
  • 316
  • 3
  • 16
1
vote
1 answer

Alachisoft Ncache configuration issues

I'm new to NCache from Alachisoft. I`m trying to fix the Viewstate very large variable content issue. I have installed and configured NCache Enterprise Edition 4.4.0 (x64) on my server. Changes to web.config and app.browser were done as per…
Dorian
  • 13
  • 5
1
vote
1 answer

configuring ncache asp.net sessionstate provider

I'm trying to configure my visual studio 2013 asp.net mvc application to use the ncache provider for session state. So far I have added a project reference to Alachisoft.NCache.SessionStoreProvider and Alachisoft.NCache.Web I have also followed the…
Stewart Evans
  • 1,416
  • 1
  • 12
  • 17