Re: Migrating Sites from CF6.1 to CF8
Joshua, I don't have time to address all these concerns, unfortunately, but I can speak a bit to the performance issue, at least based on what little you've shared. Client vars are an excellent storage facility, with some great benefits over session, but also some downsides vs session. In and of themselves, client variables are best in the Database, so glad to hear that's where they are. Since the KTPA is caching such huge structs in Client scope, using Cookie is out of the question and using the Registry will literally fill your server's registry space over the course of a few dozen users. Sadly, this same issue will hit even when using the Database when you're talking about 428+ elements in each user's struct. Understand that those client structs are instantiated into server memory for each user that logs on to each instance of the KTPA. That memory usage alone, which is on top of JRun and CF and JDBC and your OS, could easily explain performance issues under load. Since you can't re-architect the KTPA, it seems like the memory usage is going to have to be addressed with either a new platform or an increase in RAM on the CF servers. my 2c ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314270 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Migrating Sites from CF6.1 to CF8
I've been tasked with managing an upgrade of over 60 different client sites form CF6.1 to CF8 environment. Our current environment is a plague of not so great code, written by not so great developers. Heavy lifting of the code just can't happen as this upgrade is seen as an non-utilized effort. So I suppose I'm looking for a bit of advice. What has been the bane of my career (at least in CF) here has been primarily two things: 1. Settings.cfm: Application Pages on the site all use a settings.cfm page instead of clean architecture of application scope variables including unscoped variables common to the entire site. 2. Kludged Third Party App: (KTPA) A terribly written third party application (which is encrypted) lives under the root of a majority of the sites and relies heavily on client scope variables. Despite continual recommendations against it Managers continue to recommend implementing this application to our clients and the application get's propagated. What makes implementation of a managed architecture difficult are the following: - KTPA has an application file in every directory isolating that application from the entire site. - The last issue may seem an advantage but site security and administration created by past developer embeds KTPA in any site that uses it so the existence of a huge client structure (428 Client variables before being logged in) and a huge application structure (774 application variables) exists at the root application level. - Currently Client Variables are managed via database storage (I believe its because both cookie based and registry base management caused a number of issues when the site get a large number of hits) and I believe that this also affects the overall performance of our production servers but unfortunately I haven't yet been in a position to review production performance. I'm posting to see if anyone else has similar experiences and can point me to pitfalls and dangers of doing such an upgrade. As well as recommendations of simple things I can do to improve the environment. Would Isolated Server instances be good or bad? Would creating a application structure around the settings.cfm help move us toward a better architecture (so that old code could still run but new code would only use application scope for the same variables)? Thanks in advance for any advice, links, articles on making this migration possible. -- Joshua O'Connor-Rose -All is Good ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314252 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4