ICEfaces
  1. ICEfaces
  2. ICE-5703

Push updates in auction causing high CPU usage and preventing user interaction

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 2.0-Alpha3, 2.0.0
    • Component/s: Bridge, Framework, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces 2 ICEpush JSF 2

      Description

      Currently, when running the auction application, updates based on push (which occur every second) are causing very high CPU usage and preventing the user from bidding, chatting, etc. Looking at the updates, each one is a ViewBody update rather than just the changed clock values. It looks like it may be related to the script used for setting up ICEpush:

      <script type="text/javascript">ice.setupPush('vvm2tk61', 'bkg92z89rg:se');</script>

      where the window id may be changing on every push. If the clock interval is reduced significantly (e.g. 30 seconds), it reduce the impact on the app and the auction app is then usable again - although I didn't see any successful push updates after that.

        Activity

        Deryk Sinotte created issue -
        Hide
        Deryk Sinotte added a comment -

        This is preventing QA from doing any useful testing on glimmer thus the higher priority.

        Show
        Deryk Sinotte added a comment - This is preventing QA from doing any useful testing on glimmer thus the higher priority.
        Deryk Sinotte made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 2.0-Alpha3 [ 10032 ]
        Assignee Priority P1
        Assignee Mircea Toma [ mircea.toma ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21397 Tue May 11 14:40:26 MDT 2010 mircea.toma ICE-5703 Send ice.window parameter to preserve window scope properly and also avoid generating 'body' level updates.
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/glimmer/core/src/main/javascript/application.js
        Hide
        Mircea Toma added a comment -

        The request sent for retrieving updates didn't send the ice.window parameter because of the recent changes. This eventually made the server generate window IDs for each request and in turn generate 'body' level updates because the input element holding the window ID would change every time.
        The solution was to just send the window ID along.

        Show
        Mircea Toma added a comment - The request sent for retrieving updates didn't send the ice.window parameter because of the recent changes. This eventually made the server generate window IDs for each request and in turn generate 'body' level updates because the input element holding the window ID would change every time. The solution was to just send the window ID along.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: