I'm working on a project where I just upgraded NH 2.1 to 5.1. I wonder if 
folks here feel that is 'too much' of an upgrade to bite off in one piece? 
You gut reactions and first impressions very much appreciated. 

In the '*cons*' column its a large(ish) ten-year-old system I'm not all 
that familiar with. On the *pros *side, you always want to be at the most 
recent version and (thankfully due to some good architecture decisions ten 
years ago) most of our NH persistence code is fairly well 'encapsulated' -  
so I only need to look in a handful of projects to find the bits we need to 
change. Also, I've successfully upgraded the code from an 'it builds' 
perspective already it passed a super basic smoke test. I have been 
carefully looking through the release notes. 


However there are some more subtle regressions on further testing. The 
biggest concerns I have found so far are:

 - We're doing this work for performance reasons and, so far, the shift to 
5.1 seems to drastically decrease performance rather than improve it. More 
specifically, we made things more async at WCF level last week and this has 
had a huge payoff - when done against 2.1 of the NH library. However when 
we couple those async service changes with the upgrade to NH 5.1 all the 
performance improvements disappear. Perhaps this is related to transaction 
persistence as mentioned in this other thread 
<https://groups.google.com/d/msg/nhusers/7C6z352w7ro/B4yqKvNfAAAJ> (I can't 
wait to try) 

- After the upgrade, we are getting the old "Cannot simultaneously fetch 
multiple bags" problems in a couple of places which looks kinda gnarly
 
Basically, I'd really appreciate the opinions of anyone who has been 
through this before? Is it worth pushing through with finding and fixing 
any regressions or are we biting off months of work to finish a 2.1 -> 5.1 
upgrade and maybe better to just upgrade within 2.x? Or just to 3.x?  

Thanks in advance for any thoughts or opinions !

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nhusers/bdfdc73e-6b92-4c31-ac7e-00da1e7be95d%40googlegroups.com.

Reply via email to