Uploaded image for project: 'Gateway'
  1. Gateway
  2. GTWY-4137

Create Process to Populate Geo Code Fields

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Done
    • Icon: Major Major
    • 2.0.60
    • None
    • None
    • None
    • 5

      Problem: We often are asked to report download metrics geographically. This can be done by hand based on IP address in our metrics but is a bit tedious. It would be better if we had an automated solution for determining IP address location.

      User: Admin, metrics stakeholders

      Solution: Use quartz to run ~daily job. Job finds oldest unpopulated IP address and processes it, performing bulk database update Confirm quartz job concurrency.

      Idea: Algorithm to find oldest not geocoded ip, then update all file download records with that ip, repeat. Consider a 24 hour cache for IP address.

      Big steps:
      Quartz trigger
      DB Query for IP address
      Call GeoCode service
      Run DB mass update in Tx

      Idea: Background process to add nslookup of ip, geocode (lat, lon) of ip. Use a caching table to lookup IP (use ehcache?)

      Add: lat, lon, city, state, county, etc.

              bonnland Brian Bonnlander
              ejn Eric Nienhouse
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: