Using Bluebox for load testing

Submit all your BlueBox related questions or report a bug here!

Moderators: Lapo, Bax

ers
Posts: 2
Joined: 09 Sep 2009, 13:55

Using Bluebox for load testing

Postby ers » 09 Sep 2009, 14:06

Hi folks,

As Bluebox wraps the SmartFox protocol in HTTP packets, do you think it would be possible to use an HTTP load testing tool (like JMeter) to test Smartfox and some custom extensions performance in high load conditions? All communication between client and server could be recorded and recreated at the HTTP level.

Does it make any sense?

Thanks!

Esteban
User avatar
Lapo
Site Admin
Posts: 21590
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 11 Sep 2009, 17:45

Hello,
As Bluebox wraps the SmartFox protocol in HTTP packets, do you think it would be possible to use an HTTP load testing tool (like JMeter) to test Smartfox and some custom extensions performance in high load conditions? All communication between client and server could be recorded and recreated at the HTTP level.

I wouldn't recommend this unless you want to test the BlueBox performance :)
And even in this case you would have problems with a "regular" HTTP client. The BlueBox uses a special HTTP technique called "continuations" to optimize the polling loop and provide super-fast response times. You would need a specific Http client in order to talk to the BlueBox correctly.

For load testing SmartFox we usually recommend to use the Actionscript3 or Java API and build a client application that represent the stress test. Then you can instantiate many of them to hit the server.
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “BlueBox”

Who is online

Users browsing this forum: No registered users and 1 guest