Re: CreateUUID and JRun/ColdFusion Performance Issue
"Emanuel Costa" <[email protected]>
| Newsgroups | gmane.comp.cms.farcry.user |
|---|---|
| Message-ID | <[email protected]> |
Well, I am gonna write something about CMS and performance. I have professional experience with Mambo, DotNetNuke and Farcry. And from my previous experience, I can tell, all these CMS are resource intensive. There are a lot of code, features and database transactions that makes all of them, and not only Farcry, to have performance issues. Specially in high volume traffic sites. Before you pick one, it is a good idea to understand them all very well. Perhaps, by only doing some tables and forms your "own" CMS fits perfect for your purpose. And also, knowing the system from a big picture and in details, plus doing a lot outside the programming side (for instance fine tunning your sql server installation, your coldfusion server settings, updating drivers, increasing ram memory, hard disk speed, etc). Sometimes, people (not pointing to anyone here) download an open source program, install it and expects for the site do and be everything he needs and wants... this may be the case for some scenarios, but, perhaps because I do live building custom websites, creating new functionaliy, making new site look and feel, that fits exactly what my clients needs, many times there is a lot more to do after browsing the site after initial installation. So, only because, you dont have to pay licenses, that doesn't mean you won't need to spend money to make exactly what you or you client needs. On 6/13/06, Geoff Bowers <[email protected]> wrote: > > > Yang, > > What you describe is certainly not something that we have encountered. > FarCry doesn't make a huge use of the createUUID() function with the > exception of creating new content. > > Daemon offers code reviews and advice on best practice for the FarCry > platform (and ColdFusion too for that matter). If you'd like to discuss > these options with respect to your application, please feel free to > contact me off list. > > Best regards, > > -- geoff > http://www.daemon.com.au/ > > PS. you may get a better response from the community via the developoer > focused list farcry-dev > > > Yang wrote: > > Does anyone have performance issues with their FarCry running on > > JRun/ColdFusion? > > Responses on our website can be painstaking slow sometimes but great at > > other times. > > > > Is this a known problem with FarCry CMS? Is there a fix for this > > problem? > > > > We have so far tried various solution to addres the problem and have > > also sought technical support from Adobe (Macromedia). As part of the > > troubleshooting process several thread dumps were taken for analysis by > > the Adobe technical support personnel. > > > > This is what they have to say after their analysis: > > > > Description of problem: > > --------------------------------- > > When the ColdFusion server's system time changes the CFMX server will > > become unresponsive. At best the server will hang for as long as the > > time adjustment. If the adjustment is large (for example 2 minutes), > > then every thread will hang for 2 minutes thereafter, and then > > everything will resume. During these 2 minutes connections to the site > > will accumulate in IIS and eventually time out, and new connections to > > CFMX are queued until the queue fills and the new connections are then > > refused. > > > > If you are using the CreateUUID() function within your code this can > > cause the system clock to accelerate. Normally this wouldn't be a > > problem but the CreateUUID() function is dependent on time in order to > > not create a duplicate value. It waits in a while loop for a number of > > milliseconds and then returns a value. If the time jumps ahead it will > > sit in this loop until it catches up with the system time. This can be > > ugly if you have a lot of code calling CreateUUID(). > > > > Suggested solution: > > ----------------------------- > > To work around this please see the following TechNote > > http://www.adobe.com/go/tn_19007. > > > > Outcome: > > -------------- > > We have already applied the first suggested work around, i.e. > > > > Added: " -XX:+ForceTimeHighResolution" to the JVM arguments in > > jvm.confg. > > > > But it seems this work around doesn't fix the problem. They have now > > suggested applying the following fix: > > > > Since this is a problem with the underlying JVM and a system call in > > the createUUID function, developers can either create their own UUID > > generation code or download similar code from the ColdFusion Exchange. > > -- > Message protected by MailGuard: e-mail anti-virus, anti-spam and content > filtering. > http://www.mailguard.com.au/mg > > > > > > -- =+=+=+=+=+=+=+=+=+=+=+=+ Emanuel Costa http://www.emanuelcosta.com =+=+=+=+=+=+=+=+=+=+=+=+ "Programming is fascinating because it's like working a puzzle all day long. You get to write instructions, make a computer do what you want it to do, and create results that help other people do theirs jobs better. It's extremely rewarding." - Jim Goodnight, the founder of SAS --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-user" group. To post to this group, send email to farcry-user-/[email protected] To unsubscribe from this group, send email to farcry-user-unsubscribe-/[email protected] For more options, visit this group at http://groups.google.com/group/farcry-user -~----------~----~----~----~------~----~------~--~---