Using NCache as IdentityServer4 Cache and Data Store

The multi-tier applications involve communications at different levels. For instance, browser communicating with the web APIs and web APIs communicating with other web APIs on the behalf of the users and so on. To enable secure communication, authentication and authorization protocols might require additional handling. It is hardly maintainable since any change in the API…

Details

Using Dapper Micro-ORM with NCache

Whenever we talk about providing ease of access and manipulation of objects, the subject of Object Relational Mappers (ORMs) is bound to come up. ORMs such as Entity Framework Core and NHibernate help in managing efficient mapping of Plain Old CLR Object (POCO) instances to database information, managing associations, constraints, etc. However, using code-to-SQL functionality…

Details

Split-Brain Recovery in NCache: A Tale of Two Halves

Split-Brain in medicine refers to the state of communication malfunction inside the brain; where half of the brain is unaware of the other half’s behavior. Split-Brain in distributed computing refers to the communication loss between the active servers of a cluster. When this happens, all sub-clusters lose all synchronization and heartbeat connections with one another.…

Details

Scaling Blazor Apps with NCache as SignalR Backplane

Blazor is being adopted rapidly by organizations looking to create interactive Web UIs with .NET. It allows you to create the applications using C# instead of undergoing the hassle of JavaScript and all your server-side and client-side logic is consolidated in the .NET space. Blazor uses the ASP.NET Core SignalR implementation for messaging between client…

Details

NCache Distributed Cluster for High Availability & Scalability

One common nightmare among developers and software architects is your sole web-server/data source crashing while thousands of your connected clients, applications, and your precious data are lost. Introducing a distributed, load-balanced caching layer such as NCache can make your application tier very scalable and highly available since you can add more servers as your transaction…

Details

Scalability in NCache Architecture – An Insight

The sole purpose of NCache is to provide optimum performance for your application. And to hit these performance numbers, you need your caching environment to be able to scale easily and cost-efficiently. As NCache is an in-memory datastore, the first concern is the limited memory that has been allotted to it on one physical box.…

Details