Sep 8 2008

How Can We Effectively Emulate Load on Web 2.0 - RIA Applications?

Posted by Mike Brunt at 3:22 AM
- Categories: ColdFusion | JRun-J2EE

I started this blog post yesterday whilst en-route to Atlanta GA from the BFusion-BFlex conference in Bloomington, IN and noted where I was as I wrote... 

I am currently sitting in Indianapolis airport after a really great conference, well conferences; BFusion and BFlex in Bloomington Indiana.  Bloomington is a beautiful town and Indiana University has an very impressive campus and even nicer set of people headed up by Bob Flynn.  As Dan Wilson said, as we headed back to the airport, this was a top-class community event and the fact that it was free is marvelous for all of us.

So I wanted to get to the main point of my post, I wonder if with true Web 2.0 and RIAs, that we are moving into a distributed and wild client server paradigm?  If that is so, I wonder how we will be able to effectively load test such applications before they are launched? My point of view is that no application should be launched without effective load-testing.  For the past 8-9 years I have been involved in load-testing web applications, ideally before they were launched but often after they were launched and were experiencing performance or stability problems or both.

Load testing web applications mostly involves applying load to the server tier (web, database, LDAP etc) by creating scripts, often by recording browser sessions and then randomizing those by importing external data from files such as .txt or .csv files.  In this paradigm just having, let's say, 1-5 client machines running the load tests was adequate.  In my opinion, things are changing fairly rapidly; here are some reasons.  Before going in to detail I just wanted to relocate myself to where I now am flying through 20,000 feet en-route to Atlanta GA and I am listening to "The Wall" by Pink Floyd.  Since aircraft were invented they have typically had one through four engines and hopefully they are tested somehow before they fly.  I wonder how the aerospace sector would react if almost overnight aircraft could have a thousand engines or more?  Please read on if you wish.

In typical web applications there two TCP/IP ports that are used, port 80 for standard web browser-server applications and port 443 for SSL communications.  These parts are at the web server end and are largely if not wholly controlled by the web server.  Another important point to consider, the recycling of threads quickly and efficiently is key to efficiency in web applications.  In all of my hundreds of on-site and remote projects, threads that do not release properly are almost always very bad news.  In many Web 2.0 applications threads need to be kept open and often on ports other than 80 or 443. In client-server applications this constant connection need was not so much of a bad idea because client-server applications would typically run over controlled and known local area networks  (LANs) or wide area networks (WANs).  The only company that I know of who somewhat successfully enabled client-server operation across the Internet is Citrix and that can still and often does levy performance degradation.

So back to Web 2.0 and RIA's I feel we have to change the way we think and prepare for web applications before we get hit so hard that it will be difficult to recover. Michael Labriola and I were discussing this overall subject at BFusion-BFlex.  The reality is as a community we really do not know what the ramifications are but we absolutely need a ways to predict them; we need to be able to create load tests that can simulate what we are about to receive.

The track I just listened to from "The Wall" was "Comfortably Numb" and that is the currently state we are largely in, in my opinion. I would really welcome feedback and opinions on all of this, in the meantime I will continue to push forward with efforts to find ways to effectively create tests to predict what could happen.  There will be more on this subject soon.

Comments wrote on 06/30/13 11:15 PM

It sit back and watch is all about an actual industrial wave on today's watchmaking that all several other product will likely need to in the end home address.
replica watches outlet

replica watches outlet wrote on 11/22/13 8:21 PM

In no way quit and become decided to attain what you need. He or she had been a good Episcopal through faith.

ictkar851 wrote on 01/04/14 6:10 PM

??????????????????????????????????????????????????????????????????, <a href=></a>;, <a href=></a>;, <a href=><b>;??? PRADA ??????BL0715 ??????????????? ???? ????VELA COLOUR(????x??????)ALLORO(?????)????????????</b></a>, ?????????????????????????????????????????????????????????????????????????????? ??????????????????????????????????????????? ??????????????????????????????????????????????????????????????????????????????????, <a href=><b>??????2014????????? ????? ????????????? ????? ???</b></a>, <a href=></a>;, <a href=><b>???????MONCLER? CEZANNE???? ??? ???????? ???</b></a>, ??????????????????????????????????????? ????????????????????????????????????????????????????STAR TV????????????????????????????????????miscrosite????????????? ??????????????????????????????, <a href=></a>;, <a href=></a>;, <a href=><b>MONCLER????????????????????? ??????</b></a>, ???????????????·?????????????????????????????????????, <a href=><b>??????????????</b></a>;, <a href=><b>;?????? ??? ??? ????? Hubert ????????</b></a>, ??????????????????????????Luczo????? ?????????????????????????????????????????????????????????·??????????????????, <a href=><b>??????????????</b></a>;, <a href=><b>;?????? ????????????????????????????????</b></a>, ?????????????????8???????????????????????????????????????????????????????, <a href=><b>???????????????????????????</b></a>;, <a href=><b>;???? ???????????????????????????</b></a>, ???????????????????????????????, ????????????????????????????????????????????????????????????????????????30??????????????????

Abrahamcaps wrote on 02/17/14 5:55 AM

All UK residents <a href=>szybkie pozyczki na dowod pies uszatek</a> set up had at least one state of affairs that required a small fragment of liquidate to resolve. A motor vehicle that decides to terminate working in the mesial of a trip is certainly an precedent that requires cash. A pal sitting in imprison in need of bail is another discerning mazuma change situation. Every so often a UK district determination have the taste for to only undergo away on a courteous vacation. Not varied vacations do not desire spondulix, so this would be another things in regard to a boodle fairy to succeed along. We provide wild loans for the benefit of UK residents who need it. We can stand you up with a Payday allow, regardless of your acknowledgement score.
The best apparatus nearby payday loans is that you do not have to from immaculate credit to glean them. Payday lenders not quite refer themselves with whether you have had trouble in the past. Rather than, they sharply defined unclear on your up to date economic situation. If you have a long-lasting grind that pays you pounds, you may be fitting suited for a special advance. To suitable for an ahead of, you should draw about £1,000 per month. With £1,000 a month earnings, you should be capable to prepared inasmuch as a uncomfortable advance.

click wrote on 12/26/14 10:18 PM

Just like commenting for the sake of it It makes whoever posted the article be aware that someone cares and we do
Dumitru Acela

Dumitru Acela wrote on 06/29/15 9:53 AM

I fail using the web emulator. Don't know exactly why, but it gives me an error. Something about internal errors, like 307. wrote on 08/29/15 4:19 AM

Load testing web applications mostly involves applying load to the server tier (web, database, LDAP etc) by creating scripts, often by recording browser sessions and then randomizing those by importing external data from files such as wrote on 10/09/15 11:52 PM

We used it too, and we were excited about the restults we obtained.

Write your comment

(it will not be displayed)

Leave this field empty: