Just a small +1 to Brians comments. It is often extremely hard to budget for formal functional testing and even harder to budget for load testing when dealing with small clients, but while Reactor is a great tool, I¹m not convinced that I¹d use it for a project where the word URGENT could come up. Reactor is pre-beta (very stable for pre-beta, but this is not a 2.0 version running thousands of high load websites yet). As such, you¹ve got to assume that there could be a roadblock where you find you need to remove the framework and re-code the functionality by hand or using another platform unless you¹ve already built and deployed a system with a very similar configuration.
You can use new frameworks like Reactor, but you¹ve got to understand the trade off that theoretically you could get to load testing and find you need to refactor your entire app to use hand tweaked SQL to meet your non-functional requirements. I am not saying that would ever happen with Reactor, but it is not impossible with any newish framework. If you don¹t want to take on that technology risk, hand code your ORM layer. It is a LOT more work, but at least you know exactly how much work it is (assuming you¹re written an ORM before). One other proviso. ORM¹s are wonderful, but dangerous. Unless you understand exactly how they work under the hood you can end up getting into n+1 query issues or problems with the loading of composed objects (too many queries or too few depending on your use case and the exact decisions you make regarding lazy loading and your object model). Most non-trivial apps can benefit from an ORM, but unless you really comprehend all of the underlying design decisions there is a real chance you¹re going to get a nasty shock when you start load testing. Also, while Reactor is an amazing framework, it does not have the sophistication of Hibernate in terms of performance tuning. It is also based on an extremely elegant ³query object² metaphor which is very powerful but (especially in ColdFusion) makes it a little easier to run into performance problems that a less elegant metaphor might have avoided. Performance with any ORM is always something you have to be careful of and as you look at the archives of the Reactor list I think it is fair to say that it has not been immune to such problems historically. All that said, very best luck with getting everything working. Best Wishes, Peter On 12/16/06 4:01 PM, "Brian Kotek" <[EMAIL PROTECTED]> wrote: > It was kind of a rhetorical question, meant to enunciate the mandatory nature > of load testing prior to deployment. With free tools like the Microsoft Web > Stress Tool ( > http://www.microsoft.com/downloads/details.aspx?FamilyID=E2C0585A-062A-439E-A6 > 7D-75A89AA36495&displaylang=en > <http://www.microsoft.com/downloads/details.aspx?FamilyID=E2C0585A-062A-439E-A > 67D-75A89AA36495&displaylang=en> ) there's really no reason to have to go > through this particular kind of pain. > > I'm not trying to sound abrasive, and I do mean this criticism in a > constructive way: This is the second post you've sent to the list in the last > four days with the words "URGENT" in the subject that describe some problem > with the deployment of your site. I am indeed trying to help (see my other > post with some suggestions) as are others, but I think one thing that is clear > is that you need a bit more discipline in the way you test and deploy your > applications. I hope that your problems get solved, but I also hope that this > experience helps you realize the problems in your current process and what > needs to be improved. One needs to perform diligent testing before deploying > any public web application, but when using pre-beta code like Reactor or when > your testing and production servers are running differing versions of CF > server, then thorough testing is simply mandatory. > > Regards, > > Brian > > > On 12/16/06, Marc < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > wrote: >> I already explained that, please reread my original post. >> >>> >>> >>> >>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On >>> Behalf Of Brian Kotek >>> Sent: Saturday, December 16, 2006 1:55 PM >>> To: [email protected] >>> Subject: Re: [Reactor for CF] URGENT... Survey app barfing under load >>> >>> >>> Did you load test it prior to release? >>> > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > -- > Reactor for ColdFusion Mailing List > [email protected] > Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
