Skip to content

Graph generation only in regions/systems that have changed #79

Closed

Description

@jteresco

With graph generation taking the largest single chunk of time in the site update process, we could consider ways to generate new graphs only in regions/systems that have had data changes since the last graph generation. TBD is how to tell what's changed and which graphs are affected.

Activity

  1. yakra commented on May 22, 2018

    @yakra
    Contributor
    • Have the shell script copy the existing HighwayData directory to a "HighwayData.old" (or somesuch) backup, before the git pull
    • Run some DIFFs
    • ???
    • Profit

    (Can the os (module, library, what do I call it?) do things of this nature?)

  2. michihdeu commented on May 22, 2018

    @michihdeu
    Contributor

    Bash outputs the changed files when executing git pull

  3. yakra commented on May 22, 2018

    @yakra
    Contributor

    even better!

  4. wjorda commented on May 22, 2018

    @wjorda
    Contributor
  5. jteresco commented on May 23, 2018

    @jteresco
    ContributorAuthor

    A Makefile-like system of dependencies and usage of timestamps seems to be the way we'd go. This is also a pretty low priority at this point but I welcome the discussion and ideas.

  6. yakra commented on Apr 14, 2019

    @yakra
    Contributor

    With the significant speedup of graph generation a little while back, is this still a priority?

  7. jteresco commented on Apr 14, 2019

    @jteresco
    ContributorAuthor

    I don't think it is. Marking with a new label "low priority", since some day we might want to think about it. Automatic generation of graphs on demand from the DB (#89) would be a more useful approach now.

  8. added a commit that references this issue on May 8, 2019
  9. jteresco commented on Dec 31, 2022

    @jteresco
    ContributorAuthor

    Like with #78, I deem this to be less important given a few years of improvements in this process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions