• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Push newchallenges

on

  • 849 views

 

Statistics

Views

Total Views
849
Views on SlideShare
840
Embed Views
9

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 9

http://www.techgig.com 6
http://10.150.200.57 3

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Push newchallenges Push newchallenges Presentation Transcript

    • Neotys Copyright © All rights reserved - 2010
      New challenges with push application performance tests
    • Software provider (ISV) specializing in web application performance tools
      Founded in 2005
      R&D, technical support located in France
      Operations in the US and Germany
      Publishes and markets NeoLoad software
      Strong market acceptance
      Over 900 clients in more than 60 countries
      60% of turnover in export sales
      Large number of customer references in all verticals
      2
      Neotys Copyright © All rights reserved - 2010
      Neotys Profile
    • Push applications (polling/streaming)
      Concepts
      New architectures involvenew challenges
      Server resources
      Network usage
      Performance needs
      Load Testing push application
      Scenario creation
      Results analysis
      Neotys Copyright © All rights reserved - 2010
      Summary
    • Delivering a rich experience to the user
      More connected
      More interactive
      More intuitive
      Delivering “real time” information
      Very reactive application
      New kind of web applications: news headlines, stock tickers, auction updates, gaming
      4
      Neotys Copyright © All rights reserved - 2010
      Push applications
    • Standard HTTP protocol
      Asynchronous
      Bi-directional communication
      Client can send information to the server
      Server can send information to the client
      5
      Neotys Copyright © All rights reserved - 2010
      Push applications
    • Push applications
      Neotys Copyright © All rights reserved - 2010
      6
      Polling (pull)
      Client
      Server
      Event
      Polling interval
      Event
      Polling interval
      Event
    • Push applications
      Neotys Copyright © All rights reserved - 2010
      7
      Streaming
      Long Polling
      Client
      Client
      Server
      Server
      Event
      Event
      Event
      Event
      Event
      Event
    • Network usage
      More concurrent sockets open
      More updates, more bandwidth
      Server resources
      More updates, more threads
      More memory (for threads and clients states)
      More CPU usage (“6” times)
      Response time
      Users expect “real time” updates
      (300 ms / 5 000 ms)
      8
      Neotys Copyright © All rights reserved - 2010
      New architectures involvenew challenges
    • Scenario challenge
      Record streaming applications
      Detect streaming requests
      Handle several responses in a single HTTP server response
      Must create long polling scenario as well
      Record polling / long polling applications
      Lots of polling requests in the scenario
      Other most significant requests lost in the scenario
      9
      Neotys Copyright © All rights reserved - 2010
      Load Testing push application
    • Scenario challenge
      Handle push channel
      Create second execution thread with push request
      Be able to communicate between push and main thread
      Framework knowledge
      Create the scenario automatically
      Add framework dynamic parameter correlation rules
      10
      Neotys Copyright © All rights reserved - 2010
      Load Testing push application
    • 11
      Neotys Copyright © All rights reserved - 2010
      Load Testing push application
      Long Polling scenario
    • Scenario challenge
      Handle server responses from push channel
      Several kinds of responses arrive from the push channel
      Each server response may contain several messages
      Perform some actions when a specific message arrives
      Extract data only on known messages
      12
      Neotys Copyright © All rights reserved - 2010
      Load Testing push application
    • 13
      Neotys Copyright © All rights reserved - 2010
      Load Testing push application
      “Push message” object
      Automatic split server response in messages
      Data extraction on specific message
      Specific action triggered on message
    • HTTP response times are fairly meaningless
      Long polling represents update frequency
      Streaming represents the streaming time
      Number of responses on the push channel
      May have several messages in one response
      May have lots of framework messages or not important messages
      14
      Neotys Copyright © All rights reserved - 2010
      Results analysis (Challenges)
    • Compute message response times
      Time delay between the moment the server decides to update the client and the moment the client receives the update
      Client and server clocks need to be synchronized
      Server update timestamp must be returned within the messages
      Statistics per specific messages
      Number of messages received
      Time when messages arrive
      Time delay between first client and the last client receive the update
      15
      Neotys Copyright © All rights reserved - 2010
      Results analysis
    • 16
      Neotys Copyright © All rights reserved - 2010
      Questions / Answers