--
You received this message because you are subscribed to the Google Groups "FusionAnalytics" group.
To post to this group, send email to fusiona...@googlegroups.com.
To unsubscribe from this group, send email to fusionanalyti...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fusionanalytics?hl=en.
Brook, that may make it easier, but it may not make it as accurate as testing against multiple load balanced servers, if that’s indeed what will run in prod.
2 other things about load testing in general:
a) creating accurate load tests is hard work, and even if you do guess at traffic patterns and setup sophisticated ratios of calling one URL or another, you may miss out on load you’d never consider: spiders and bots. I’ve seen sites where 80% of traffic each day was from spiders and bots. If you don’t account for simulating them in your load testing, you may either fail to adequately mimic your current prod load (if the site is in prod already), or you may underestimate your likely load when you put a new server into production.
b) related to the above, and yet separate: be sure you tell the load testing tool to honor and return cookies that are sent back and forth from CF (especially cfid/cftoken if you enable sessionmanagement or clientmanagement, and/or jsessionid if using j2ee sessions in CF). If you don’t do that, then each page request from the load testing tool will seem to CF to be a new session and client, which could seriously negatively affect your testing. It would make your load testing tool work like a spider or a bot (because they, too, do not typically bother to present client/session cookies to CF).
/charlie
--
My sincere opinion would be that there’s no reason to worry about garbage collections at all. All that really matters generally (with respect to them) is whether you get any outofmemory errors (typically shown in the [cf]\runtime\logs or [jrun]\logs on multiple instances).
I know mine is a minority opinion in the community, but this comes from my focus on troubleshooting CF server problems daily for hundreds of customers. I just wonder if some people over-estimate the significance of watching GCs because they otherwise lacked much better metrics. Now you have FA and FR—use the force, Luke. :-)
/charlie
From: fusiona...@googlegroups.com [mailto:fusiona...@googlegroups.com] On Behalf Of Brook Davies
Sent: Wednesday, February 15, 2012 8:00 PM
To: fusiona...@googlegroups.com
Subject: Re: [fusionanalytics] Re: Best way to track/monitor durring load testing
Thanks Charlie, I will keep that in mind.
--
Brook, I would say you’re engaging in premature optimization, and perhaps have been reading too many blogs and java technotes. :-) Is your head swimming after doing so? Sure, there are lots of opinions out there, and lots of “suggested settings”.
But surely many of them will have also said that the best answers come from load testing, and the whole point of doing them is so that you can make a run, review the results, tweak a setting (if need be), and run the test again. It needs to be an iterative process.
No one can tell you the “right numbers” to use. It’s SO entirely dependent on your app, its design, other integration points it may have (and how they may affect performance), as well as the configuration of CF, the JVM, the web server, the DB server, the network, and so on. (And I would say that any guessing at use of memory within the generations, as well as what heap sizes you need, is also not something you can guess from the outside. Run the tests, watch for errors, use FR and FA to help with understanding what’s going on, and use all that info to help drive tweaks by meaningful diagnostics.)
And you don’t have to go it alone. There are several folks who offer their services to help do troubleshooting (whether of live servers or of load testing results). See a list of them I keep in a category of my cf411.com site: www.cf411.com/cfconsult
Hope that’s helpful.
/charlie
From: fusiona...@googlegroups.com [mailto:fusiona...@googlegroups.com] On Behalf Of Brook Davies
Sent: Wednesday, February 15, 2012 10:33 PM
To: fusiona...@googlegroups.com
Subject: Re: [fusionanalytics] Re: Best way to track/monitor durring load testing
lol, thank you Obie. I will try. I'm excited and nervous about my load testing and watching FA. Maybe this is not the right forum, but whats swirling through my head right now is: