[Bookmark] First and Second Level caching in NHibernate

Found a very good post about “NHibernate first and second level cache”. I myself find the helpful explanation about the different between Session.Get(id) and Session.Load(id)  because I must admit that I was not aware of this until I read this post🙂

Read it through at: http://blogs.hibernatingrhinos.com/nhibernate/archive/2008/11/09/first-and-second-level-caching-in-nhibernate.aspx

Posted on April 28, 2010, in Bookmarks, Programming and tagged . Bookmark the permalink. 2 Comments.

  1. Nguyen,
    Thanks for sharing this study. The process of development has unfolded many opportunities and it has some challenges as well. If the app response time is slow especially during the peak load times, it is the end-user who will suffer ultimately. In this context, secondary level caching is a wonderful tool to overcome the performance issues of NHibernate As some second level cache providers are mentioned in your given link so here I’d like to share my personal experience with NCache. I’ve been using this and have read a lot about it.

    • NCache is fast and scalable in-memory distributed cache
    • ASP.NET & JSP sessions with no code change
    • Reduces expensive DB trips
    • Provides dynamic clustering
    • Fully supported with .NET and java (Linux & Windows)

  2. Nguyen,
    Thanks for sharing this study. The process of development has unfolded many opportunities and it has some challenges as well. If the app response time is slow especially during the peak load times, it is the end-user who will suffer ultimately. In this context, secondary level caching is a wonderful tool to overcome the performance issues of NHibernate As some second level cache providers are mentioned in your given link so here I’d like to share my personal experience with
    NCache I’ve been using this and have read a lot about it.

    • NCache is fast and scalable in-memory distributed cache
    • ASP.NET & JSP sessions with no code change
    • Reduces expensive DB trips
    • Provides dynamic clustering
    • Fully supported with .NET and java (Linux & Windows)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: