Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to test DWR AJAX performance ?

 
Edward Chen
Ranch Hand
Posts: 798
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to test AJAX performance ?

I coded a DWR ajax application, how could I test its performance ? How could I simulate 1000 users using this application at same time ?

Thanks
[ November 15, 2007: Message edited by: Bear Bibeault ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would you normal test it with 1000 users at the same time?

Eric
 
Edward Chen
Ranch Hand
Posts: 798
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How could I find 1000 users ?

Thanks
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume you want to test the server at 1,000 users since the browser only supports 1. The server can't tell an AJAX call from any other; as Billy Joel says, It's all HTTP to me. Can't you simulate the AJAX calls with any HTTP load tool?
 
Edward Chen
Ranch Hand
Posts: 798
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I should specify that I am using DWR reverse ajax., different from the servlet.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah, that I don't know about. I did have a design with a server calling Applets but that was all sockets which probably doesn't apply atoll.

How does DWR do that ... send an XHR request that doesn't get answered until the server has a message to send?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic