This comparison is between NCache 4.1 SP2 and Memcached v1.4.15. It describes major feature differences between both products. For a detailed comparison, please read the PDF.
Performance & Scalability
|Optimizations require programming. Only Bulk Get provided. No help with serialization optimization. And, Async operations not provided.||Optimizations provided as options. All Bulk operations provided. Custom compact serialization provided. Async operations provided. And much more.|
|No support for it.
This is weakest area for Memcached. Everything is static and if one server goes down, the entire cache is down.
|Highly elastic with 100% uptime. Peer to peer cache cluster architecture. Connection failover support and dynamic configuration.|
|No replication provided.
Only Partitioned (static). Cannot add or remove partitions at runtime. Cannot add/remove app servers at runtime.
|Rich options. Mirrored, Replicated, Partitioned, Partition-Replica, and Client Caches. Highly dynamic. And intelligent replication provided.|
|No support for it.||Supports WAN replication between following sites. Active-passive, active-active, one-active & multiple passive, and 3 or more active sites. No performance drop.|
|Limited third-party GUI tools with basic features. Monitoring is also very simple. No PerfMon counters provided for Windows. And, basic command line tools.||Very feature-rich GUI tools. NCache Manager, NCache Monitor, PerfMon counters, and command line tools provided.|
Security & Encryption
|No support for it.||Active Directory/LDAP authentication, authorization, and 3DES/256AES encryption. No programming needed.|
Object Caching Features
|Very basic operations like Get, Add, Update, Remove, Exists, & Clear Cache. No sliding expirations provided. No lock/unlock or item versioning, and no streaming API.||Very rich operations. Get, Add, Update, Remove, Exists, & Clear Cache with many options. Both absolute & sliding expirations. Lock/unlock, item versioning, and streaming API provided.|
Managing Data Relationships
|No support for it.||Key based Cache Dependency allows you to handle one-to-one, one-to-many, and many-to-many relationships in the cache automatically.|
|No support for it.||SqlDependency, OracleDependency, DbDependency, & CLR Stored Procedures for database synchronization. File based and Custom dependency for non-relational data sources.|
Runtime Data Sharing
|No support for it.||Events, Continuous Query, .NET/Java portable binary data, and more. Use NCache for publisher/consumer data sharing between .NET/.NET or .NET/Java apps.|
Search Cache (SQL-Like)
|No support for it.||Object Query Language (OQL) and LINQ. Search cache on object attributes, Tags, and Named Tags with SQL-like query.|
|No support for it.||Group/sub-group, Tags, and Named Tags. Group, fetch, update, and manipulate data intelligently.|
Read-thru & Write-thru
|No support for it.||Multiple Read-thru, Write-thru, Write-behind. Use cache to fetch data from your database and simplify your apps. Also auto-reload cached items when expired or when database synchronization needed.|
Cache Size Mgmt
|Yes (but at slab level)
|Yes (and at cache level)
LRU, LFU, and Priority evictions.
You can designate cached items to not be evicted with priority eviction.
|ASP.NET Session State
(no session replication)
ASP.NET View State
(no replication or session association)
|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
|NHibernate Second Level Cache,
Entity Framework Cache,
EntLib Caching Block.
Extra features provided for all of these. Use all of these without any programming.