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
2
votes
0 answers

java NCache - GeneralFailureException: No server is available to process the request

I use NCache java API for connecting to NCache server but it throws an exception: com.alachisoft.ncache.runtime.exceptions.GeneralFailureException: No server is available to process the request. I also tried some suggestion from this site but…
Nguyen Hoang Giang
  • 123
  • 1
  • 1
  • 7
2
votes
0 answers

NCache with Entity Framework 6.1 not working with NCache API

Using NCache 4.6 with EF 6.1.3, can't make it to work with NCache API. It works when using query policy inside efcaching.ncconf but using only api-level-caching and .Cache() method, have no effect in caching. Steps that I've taken: Added…
R Pasha
  • 700
  • 5
  • 21
2
votes
1 answer

Changing settings in NCache Manager doesn't apply

As an example I apply Query Indexes and then start the cache. The API throws exception that indexes have not yet been applied. Attached is the image
Butt
  • 51
  • 4
2
votes
1 answer

Multiple Active Result Sets in NCache

I have been evaluating NCache since the last few weeks. Mu question is specific to techniques for querying the cache data. I'm looking for something similar to the ADO.NET technique mentioned below. The requirement to to supply multiple queries at a…
The Mitra Boy
  • 764
  • 1
  • 6
  • 13
2
votes
1 answer

Entity Framework with existing database and classes with multiple sources vs manual stored procedures

New to Entity Framework and ORM, however possibly have a unique circumstance where we are thinking of somewhat refactoring how our application works. Right now we are using an in-memory distributed cache architecture, basically as an in-memory…
Sivart
  • 315
  • 1
  • 3
  • 12
2
votes
2 answers

Can I clear an NCache cache without confirmation?

I've got an NCache implementation (configured in replicated format across a pair of servers, if that makes any difference) and I want to script clearing the cache. I've got a powershell script that calls the NCache clearcache.exe tool (in…
cori
  • 8,666
  • 7
  • 45
  • 81
2
votes
1 answer

Distributed cache in .net

I need to implement distributed cache in my asp.net mvc 4 application. My application is hosted in AWS in web farm environment. I can see the following options are available. MemCache RedisCache NCache I am not sure which one i should use. I need…
2
votes
0 answers

Amazon AWS multiple NICs to separate Web, and Cache

We have a VPC setup on Amazon S3 where we have various application delivery web servers that communicate with a cluster of NCache in-memory caching servers, and a database server. Trying to determine the bottleneck and how to properly scale; would…
2
votes
1 answer

Difference between Web.Cache and ObjectCacheProvider of Ncache

I am planning to use Ncache for caching application data in distributed applications. I am able to cache data using ObjectCacheProvider and NCache.Initiaize('cacheName') i.e Web.Cache. What's the difference between them??
Sumit Murari
  • 1,597
  • 3
  • 28
  • 43
2
votes
1 answer

Which library has Alachisoft.NCache.Linq

I'm trying to use LINQ search inside NCache. I don't like to use OQL search, but I could not find the reference to Alachisoft.NCache.Linq which I've seen in couple of samples and tutorial. Can anyone guide me what library need to be included? I'm…
manu97
  • 7,237
  • 2
  • 17
  • 21
2
votes
2 answers

Alternative to distributed caching

There is a technical requirement to scale a new system easily. This new system consists of three tiered applications (as a batch processors). Each tier will contains at least 2 servers with the same application resides on each server. So, when one…
Santo
  • 127
  • 1
  • 8
2
votes
1 answer

NCache Generic Type Handler Implementation

In NCache Manager for every Cache you have to define compact type seperatly in case of generic Is there any way to provide all the classes at once to Cache Compact
Numan Hanif
  • 246
  • 2
  • 17
2
votes
4 answers

ASP .NET Application Caching

Our site developed in ASP .NET is expecting a 1000 concurrent users and its performance is degrading by increasing number of listings in DB. What kind of a caching(like NCache or Appfabric) will be the best to reduce the load of DB and increase the…
G . R
  • 543
  • 1
  • 6
  • 12
1
vote
4 answers

Would Ncache Express solve this scalability issue or would I need to upgrade to premier edition?

I have an asp.net-mvc3 website using nhibernate and SQL server. I have 2 web servers that are loaded balanced. This is a read heavy db (not so concerned with write performance), but as the queries are getting more and more complicated (lots of…
leora
  • 188,729
  • 360
  • 878
  • 1,366
1
vote
1 answer

How does caching work in Entity Framework Core 6.06?

I see tons of posts about people struggling to get EF to NOT send cached data. I am sitting here wondering how they are getting it to send cached data... Here are the details: ASP.NET Core latest version on .NET 6.0 using Entity Framework Core…