JWS-121: Service status and usage statistics show cached results for faster...

Activity

CR-2 1

Keyboard shortcuts  
  • Summarize the review outcomes (optional)
     
    #permalink

    Details

    Warning: no files are visible, they have all been filtered.
    Participant Role Time Spent Comments Latest Comment
    Author      
    Moderator 10m 1 this looks like the same pattern of scheduler settings as...
    Total   10m 1  
    #permalink

    Objectives

    Generated from changeset comments:
    282992abedcfb49e633f8f5b21e6a1c0577f5851: JWS-121 Added new jsp enpoints that try loading chached service status and usage statistics pages. If not available there is a redirect to the main endpoints. Also fixed the header and footer links to match the new endpoints.
    fb6a00ee7a389ae0eb5feae7bc242a5cbc16d636: JWS-121 Added new jsp enpoints that try loading chached service status and usage statistics pages. If not available there is a redirect to the main endpoints. Also fixed the header and footer links to match the new endpoints.
    fdb9a57d5a72732fbe7cd9c94d607d7c12080ca7: JWS-121 Added new jsp enpoints that try loading chached service status and usage statistics pages. If not available there is a redirect to the main endpoints. Also fixed the header and footer links to match the new endpoints.
    c204e33cf21d3d3899ef54cc741003a14f23b4b1: JWS-121 & JWS-111 Adding ‘timestamp’ (string formatted date + time) to the HttpServletRequest to be used in the jsp and setting ‘timexec’ as seconds instead of millisecs.
    020e228800ba31dbc38374717de4c280c5c2504b: JWS-121 & JWS-109 Improved the way the service_status.jsp and usage_statistics.jsp work to load cached htmls or to redirect on error (i.e. missing cached htmls). This is a very hacky temporary solution. The provided script can be used to refresh the cached htmls every x minutes.
    1b5239f1a2d0b5a0ad254c22fc0fe1929e06d425: JWS-121 Added new scheduler utility classes so that usage statistics and service status can be monitored in a cronjob-like manner. RefreshIterator implements a ScheduleIterator that runs a new task every X minutes.
    1d231ce2b4de665ef21d4d5bca681e08ad2d210b: JWS-121 Improved the AnnualStat and ServiceStatus classes so they start the scheduler in the init() method and refresh the in memory cache every X minutes. The number of minutes is defined in the Engine.local.properties config. In memory values are cached in the ServletContext.
    c78d4a9557708741098608f313d2a12a81856c9c: JWS-121 & JWS-109 Service Status now gives an indication of the health of service. Fixed the links to the Service Status and Usage Statistics pages. Also removed now unecessary files.
    e3be7cadbc2fa3756bd9807ef8db6e4151ebe729: JWS-121 Added new refresher methods and the respective servlets and mappings entries in web.xml. These are used to update the ServletContext values as an input from the user (clickable links) that point to the new endpoints.

    Branches in review

    #permalink

    Issues Raised From Comments

    Key Summary State Assignee
    #permalink

    General Comments

    There are no general comments on this review.
    /WEB-INF/web.xml Changed
    Open in IDE #permalink
    /conf/Engine.local.properties Changed
    Open in IDE #permalink
    /webservices/.../util/RefreshIterator.java Added
    Open in IDE #permalink
    /webservices/.../util/ScheduleIterator.java Added
    Open in IDE #permalink
    /webservices/compbio/.../util/Scheduler.java Added
    Open in IDE #permalink
    /webservices/.../util/SchedulerTask.java Added
    Open in IDE #permalink
    /webservices/.../servlet/AnnualStat.java Changed 1
    /webservices/.../servlet/AnnualStatRefresher.java Added
    Open in IDE #permalink
    /webservices/.../servlet/ServiceStatus.java Changed
    /webservices/.../servlet/ServiceStatusRefresher.java Added
    Open in IDE #permalink
    /website/statpages/MonthlySummary.jsp Changed
    Open in IDE #permalink
    /website/statpages/ServicesStatus.jsp Changed
    /website/refresh_service_status.sh Deleted
    Open in IDE #permalink
    /website/service_status.jsp Deleted
    Open in IDE #permalink
    /website/template_footer.jsp Changed
    Open in IDE #permalink
    /website/template_footer.jsp Changed
    /website/template_footer.jsp Changed
    Open in IDE #permalink
    /website/template_header.jsp Changed
    Open in IDE #permalink
    /website/template_header.jsp Changed
    /website/template_header.jsp Changed
    Open in IDE #permalink
    /website/usage_statistics.jsp Deleted
    Open in IDE #permalink

    Review updated: Reload | Ignore | Collapse

    You cannot reload the review while writing a comment.

    Log time against