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

        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: