Tuesday, December 1, 2009

Story of IHG GWT - Performance issues continue - fixing long time to load

No surprise, we had the similar issue as some other folks got. The performance was bad in test environment, even though we already paid attention during the development such as using DTO, loading contents with single RPC call, lazy loading of view, using multiple modules etc.



Few refectories were done to enhance the performance:

  • Reduce object size further and only load necessary objects.
  • Apply gzip to compress the download file traveling through the network.
  • Group third party Javascripts and loaded them at the bottom of the page.
  • Remove the Javascript of downloading Google map key from home page. And load Google map key on demand when user selects to view map function.
  • Fix the out of memory issue.
  • In server side, make backend call for content with multi-thread.
With those changes, the home page is loaded pretty quickly now. At same time, Yslow socpe is up too.



Change History:

Author:
Michael Wang, initial draft





No comments:

Post a Comment