Permalink
Switch branches/tags
Nothing to show
Commits on Aug 17, 2011
  1. Fixed the performance issue in the onJobCompleted callback.

    In a bigger installation, as the number of build records grow, the
    "plugin.save()" call starts to take noticable amount of time.
    In one of the sites we help, it's taking in the order of minutes.
    
    Since this code is synchronized, this creates a congestion point
    where all executors that finished building gets blocked in a queue,
    waiting for its turn to add one entry to the list and save the whole
    list.
    
    Since executors are precious, in this fix I've moved the plugin.save()
    operation to a separate thread, and allow the executors to return
    immediately from the callback. This also allows us to bundle up
    multiple update operations into one save, thereby making it work
    significantly better in busy deployments.
    
    In a long term, writing out a single big XML for all the records
    and rewriting them over and over is highly suboptimal. A quick work
    around could be to divide the list up to a chunk of say 1000, and
    write one XML for each chunk. This makes the update a constant time
    operation regardless of the data size.
    
    Another possibility is to use RDBMS. There has long been a conversation
    of implementing the 'database' plugin to provide unified mechanism
    for plugins to use embedded/external RDBMS for data storage. I think
    this plugin would benefit from that, and maybe it's time we tackle
    that problem.
    committed Aug 17, 2011
Commits on Aug 3, 2011
Commits on Nov 14, 2010
  1. Externalized JS stuff into cacheable js files

    fcamblor committed Nov 14, 2010
Commits on Nov 13, 2010
Commits on Nov 2, 2010
  1. internationalized week & day character on charts

    fcamblor committed Nov 2, 2010
Commits on Nov 1, 2010
  1. fixed translation

    fcamblor committed Nov 1, 2010
  2. provided launcherFiltering on build search engine + added new option …

    …for node filtering on master + added new result row : "who launched the build"
    fcamblor committed Nov 1, 2010
  3. provided launcher filtering selection + added radio button option for…

    … node filtering on master node
    fcamblor committed Nov 1, 2010
  4. provided XStream aliases for JobBuildResult.userName & BuildStatConfi…

    …guration.launcherFilter
    fcamblor committed Nov 1, 2010
  5. provided new data migrator for new fields JobBuildResult.userName & B…

    …uildStatConfiguration.launcherFilter
    fcamblor committed Nov 1, 2010
  6. provided new fields : JobBuildResult.userName & BuildSearchCriteria.l…

    …auncherFilter
    fcamblor committed Nov 1, 2010
  7. provided ways to retrieve user who launched the build in JobBuildResu…

    …ltFactory
    fcamblor committed Nov 1, 2010
  8. refactored global build stats data migrator architecture, simplifying…

    … it with AbstractMigrator & DefaultGBSPOJO + merged XStreamReaders into Migrator classes + provided InitialMigrator
    fcamblor committed Nov 1, 2010
Commits on Oct 29, 2010
  1. fixed pom.xml problem

    fcamblor committed Oct 29, 2010
  2. provided tagBase in maven-release-plugin, targetting tags/global-buil…

    …d-stats/ directory
    fcamblor committed Oct 29, 2010
Commits on Oct 15, 2010
  1. provided description for plugin

    fcamblor committed Oct 15, 2010
Commits on Sep 23, 2010
  1. Provided node name filtering in job search screen

    fcamblor committed Sep 23, 2010
  2. refactored BuildStatConfiguration filters and BuildHistorySearchCrite…

    …ria.jobFilter to BuildSearchCriteria, allowing to share job build result eligibility (in job filtering)
    fcamblor committed Sep 23, 2010
  3. Fix typo

    lshatzer committed Sep 23, 2010
Commits on Sep 22, 2010
  1. showing node name in build search result

    fcamblor committed Sep 22, 2010
  2. provided node name search criteria

    fcamblor committed Sep 22, 2010