irrationalfab edited this page Apr 17, 2012 · 2 revisions
Clone this wiki locally

Performance Notes

  • Computing the creation date requires to execute a git call for every pod.
    • The pod command caches this information.
    • This app should cache this information itself but, to keep things simple, it simply leverages the existing infrastructure.
  • GitHub stats require a network roundtrip for every pod.
    • The pod command caches this information for 3 days, as the watcher and the followers change slowly.
    • This app to avoid 30 network requests during the feed generation simply offers a snapshot of the stats at the publication of the pod in the feed.
      • i.e. the cache_duration in Pod::Specification::Statistics is set to a huge time.