NHibernate WinForms Multiple (SessionScope) Sleeping Sessions performance

I've implemented NHibernate Session per Form aproach with Castle AR (SessionScope), if i open a form, i open a (SessionScope) session and Disposes it at form close. If i open N single forms i have N db opened sleepy sessions as long as the form is opened, the question is: Sleepy sessions implies performance issues? is it wrong to have N opened sleepy sessions on db?.


lightweight see


I dont think that this will imply performance problem, maybe the servers maximum acctepted connections will be reached, but only if all sleeping sessions will perform something from time to time, otherwise thay will surely timeout.

Need Your Help

do you need the ref or out parameter?

c# oop

I am passing a instance of a class to a method, and that method will modify the instance.

Safe templates (Ruby on Rails)

ruby-on-rails-3 rubygems

Is there any plugin allowing user to create there own templates? So I use smth like

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.