Overview
NCache is an in-memory distributed cache designed to deliver linear scalability and extreme performance for high-transaction applications. By caching frequently accessed data in a distributed cluster, NCache minimizes database bottlenecks and reduces network latency.
This page acts as a comprehensive reference manual for developers and architects implementing caching strategies, distributed messaging, and server-side logic using NCache, to understand the supporting lanuguages, features, and more about how the guide is organized.
Supported Languages
NCache delivers native, high-performance client libraries across multiple major ecosystems, allowing cross-platform application architectures to share cached data seamlessly. NCache supports the following languages:
- .NET Client: Full native support for modern cross-platform .NET 10 and legacy .NET Framework applications via NuGet deployment.
- Java Client: High-performance library compatible with standard Java runtime frameworks via Maven.
- Node.js Client: Pure JavaScript engine designed for asynchronous, event-driven applications via npm packages.
- Python Client: Native implementation optimized for data processing pipelines, scripting utilities, and web frameworks via pip installation.
Feature Availability by Language
| Feature / Capability | .NET Client | Java Client | Python Client | Node.js Client |
|---|---|---|---|---|
Atomic CRUD APIs (Add, Insert, Get, Remove) |
Supported | Supported | Supported | Supported |
Asynchronous Execution (*Async variants) |
Supported | Supported | Supported | Supported |
High-Throughput Bulk APIs (AddBulk, InsertBulk, etc.) |
Supported | Supported | Supported | Supported |
| Native JSON Document Support (Indexing & Parsing) | Supported | Supported | Supported | Supported |
Pessimistic Concurrency Controls (LockHandle) |
Supported | Supported | Supported | Supported |
Optimistic Concurrency Controls (CacheItemVersion) |
Supported | Supported | Supported | Supported |
Distributed SQL Search (ExecuteReader, ExecuteScalar) |
Supported | Supported | Supported | Supported |
Metadata Classification Tags (Tag) |
Supported | Supported | Supported | Supported |
Distributed Collections (List, Queue, Set, Counter) |
Supported | Supported | Supported | Supported |
Pub/Sub Messaging Bus (MessagingService, ITopic) |
Supported | Supported | Supported | Supported |
| Durable Subscriptions (Shared and Exclusive) | Supported | Supported | Supported | Supported |
| Non-Durable Subscriptions | Supported | Supported | Supported | Supported |
Message Delivery Callbacks (MessageReceivedCallback) |
Supported | Supported | Supported | Supported |
Real-Time Telemetry Events (CacheDataNotificationCallback) |
Supported | Supported | Supported | Supported |
| Web Session State Middleware | ASP.NET Core / ASP.NET | Spring Session / Jakarta Session | N/A | Express Sessions |
| Redis API Wrapper Compatibility | Supported | Supported | Supported | Supported |
| AppFabric API Wrapper Compatibility | Supported | N/A | N/A | N/A |
| Backing Source Read-Through / Write-Through Providers | Supported | Supported | N/A | N/A |
| Asynchronous Write-Behind Batch Queues | Supported | Supported | N/A | N/A |
| Automated Cache Loader & Refresher Frameworks | Supported | Supported | N/A | N/A |
Native Framework Caching Adaptors (IDistributedCache) |
Supported | N/A | N/A | N/A |
| Real-Time Hub Synchronization (SignalR Core Backplane) | Supported | N/A | N/A | N/A |
LINQ Provider Queries (FromCache extensions) |
Supported | N/A | N/A | N/A |
To learn about other features, please see Edition Comparison.
How This Guide Is Organized
This Developer Guide is progressively structured to lead you from initial connectivity setups to complex distributed operations and ecosystem-specific framework integrations. Each section balances conceptual design with real-world implementation assets, including native API usage, interface implementation blueprints, and the relevant configuration files.
Since many programmatic features depend on specific cluster topologies, backing sources, or server-side settings, code implementations are coupled with a prerequisites section. Where server-side setup is required, direct links to the Administrator's Guide are provided to help you configure your cache environment before deploying your code.
See Also
Installation Guide
Administrator's Guide
PowerShell Reference