InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

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

Posted by Jonathan Allen on Jun 11, 2008

Sections
Development,
Enterprise Architecture
Topics
Enterprise Architecture ,
.NET
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
Re: Would NOT recommend this product by A D Posted
Re: Would NOT recommend this product by Jonathan Allen Posted
Looks like free advertisement by Fabrice Marguerie Posted
Re: Looks like free advertisement by Jonathan Allen Posted
Re: Looks like free advertisement by Marc Adler Posted
Re: Looks like free advertisement by Cameron Purdy Posted
  1. Back to top

    Would NOT recommend this product

    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

    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

    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

    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

    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

    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

    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

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.