InfoQ

News

NCache: A Distributed Cache for the .NET Platform Available Today

Posted by Jonathan Allen on Jun 11, 2008

Community
.NET
Topics
Enterprise Architecture
Tags
Caching

While we wait for Microsoft to finish Velocity, its attempt at building distributed memory cache for the .NET platform, we turn to other more established vendors. One such vendor is Alachisoft's and its NCache product. Currently Alachisoft offers both a free and a paid SKU, the latter supporting NHibernate.

Though ready for production use, NCache Express is rather limited in its capabilities. The maximum cache size is a paltry 500 MB and can be replicated only over two servers. Partitioning, mirroring, and client-side caches are only available in the paid editions.

Unlike the enterprise version, the express edition also does not support key and database based dependencies, event notification, asynchronous operations, bulk operations, queries, ASP.NET session state or WMI monitoring. With such a wide feature gap between the versions, one has to wonder if the Express edition serves any purpose.

The paid edition is not exactly cheap, but it should be within the budgets of companies large enough to need it. It starts at $995/CPU for up to 6 processors. At 7 to 20 processors, the price jumps to $1495/CPU. Developer versions are a rather excessive $495/user and sites needing more than a 20 CPU cluster need to call for pricing.

Despite these objections, one should not overlook what NCache does bring to the table. The full version has an impressive array of features including the ability to act as a level 2 cache for NHibernate. Java clients are supported, offering another way to share information between the two platforms.

The security features in NCache are somewhat questionable. When turned on, client applications must 'login' by sending a username and password in clear text. This is in turn validated against Active Directory. Considering that public/private key encryption is well known, this is a questionable decision on Alachisoft's part.

Would NOT recommend this product by Steve Macdonald Posted Jun 11, 2008 9:45 AM
Re: Would NOT recommend this product by A D Posted Jun 11, 2008 10:01 AM
Re: Would NOT recommend this product by Jonathan Allen Posted Jun 11, 2008 10:51 AM
Looks like free advertisement by Fabrice Marguerie Posted Jun 12, 2008 8:43 AM
Re: Looks like free advertisement by Jonathan Allen Posted Jun 12, 2008 4:18 PM
Re: Looks like free advertisement by Marc Adler Posted Jun 13, 2008 4:53 PM
Re: Looks like free advertisement by Cameron Purdy Posted Jun 16, 2008 10:26 AM
  1. Back to top

    Would NOT recommend this product

    Jun 11, 2008 9:45 AM by Steve Macdonald

    I spent some time evaluating in this space several months ago. I will not go into details, but siffice it to say that you should not deal with this firm. If you need to scale a .Net app today, you should definitely look at www.scaleoutsoftware.com/

    Full disclosure: My name is Steve Macdonald, and I am CTO of GuestLogix Inc. While I was engaged in possible partnership negotiations with ScaleOut Software during my previous role as a consultant, I currently have no link to or stake in this firm. I did however do a lot of research, and until MS is actually ready the scaleout platform works reliably, and is conservatively engineered.

  2. Back to top

    Re: Would NOT recommend this product

    Jun 11, 2008 10:01 AM by A D

    Agreed. This product seems to be a blatant copy of coherence.
    www.theserverside.com/news/thread.tss?thread_id...
    We did a background research ourself and the managment was very concerned with the findings so in the end we decided not to go ahead with this product.

  3. Back to top

    Re: Would NOT recommend this product

    Jun 11, 2008 10:51 AM by Jonathan Allen

    Wow, I've never known a company to be so brazen.

    For those of you who don't want to read through the TSS thread, here is a representative post.

    When "Alachisoft Ncache" was released, it claimed to have an identical list of features to Tangosol Coherence, which is hardly surprising considering how often they had downloaded Coherence.



    Even more coincidentally, "Alachisoft Ncache" had documentation that was identical to Coherence. Identical. As in: They copied our copyrighted materials and presented them as their own, with only the company name (Tangosol) and product name (Coherence) changed.



    You can draw your own conclusions as to what kind of company they are.



    Peace,



    Cameron Purdy
    Tangosol Coherence: The Java Data Grid

  4. Back to top

    Looks like free advertisement

    Jun 12, 2008 8:43 AM by Fabrice Marguerie

    Why promote this specific product why others exist?
    See SharpToolbox for a complete list of the available .NET caching solutions.

  5. Back to top

    Re: Looks like free advertisement

    Jun 12, 2008 4:18 PM by Jonathan Allen

    After covering Microsoft's Velocity, it seemed like a good idea to touch on a cache for .NET that was actually available and this just happened to be the first to catch my eye. Had I known about its sorted past I wouldn't have covered it.

    However, now that it is up I feel it is best to leave the article as-is. Hopefully readers will see the comments and use them to better make an informed decision.

  6. Back to top

    Re: Looks like free advertisement

    Jun 13, 2008 4:53 PM by Marc Adler

    I wonder why Cameron did not take legal action if the copying was so blatant. It would seem like a pretty clear-cut casde of copyright infringement, if what Cameron alledges in true ....

  7. Back to top

    Re: Looks like free advertisement

    Jun 16, 2008 10:26 AM by Cameron Purdy

    Hi Marc -

    Companies (including ours) don't tend to talk about their legal actions, because disclosing those actions can actually affect the outcomes.

    I can explain, in general terms, why one would choose not file suit against a similar product, however:

    1) To file for a preliminary injunction, it will cost roughly US$75k.

    2) If you do not get the injunction, you have to take the suit to court, which could cost anywhere from several hundred thousand dollars up to tens of millions of dollars.

    3) Even if you do get the injunction or win the suit, there is nothing stopping the defendant from shutting down the one shell company and starting up (incorporating) another to sell the same stolen goods.

    Anyway, the long and the short of it is that it becomes a very expensive game of whack-a-mole. The court system is a system for solving disputes between large organizations, not between between a large and a small organization, and certainly not between two small organizations. Our "public" legal system has become too expensive for the public to use.

    Peace,

    Cameron Purdy
    Oracle Coherence: Data Grid for Java, .NET and C++

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.