Difference between revisions of "Melissa Releases:Best Practices"

From Melissa Data Wiki
Jump to navigation Jump to search
(Created page with "{{ MelissaReleasesNav |IntroductionCollapse= }} {{CustomTOC}} ==Polling for Updates== The first concern is whether or not an update is necessary. Melissa releases updates for our products on a regular basis that varies from product to product. So, checking the current version against your own is an important step in minimizing unnecessary resource usage and downtime associated with updates. By polling the server at regular intervals, you can automatically monitor for a...")
 
 
Line 2: Line 2:
|IntroductionCollapse=
|IntroductionCollapse=
}}
}}
{{CustomTOC}}
{{CustomTOC}}



Latest revision as of 00:50, 15 March 2023

← Melissa Releases

Melissa Releases Navigation
Introduction
CLI Application
Best Practices
Service URLs
Input/Output
Request Parameters and Endpoints
  ↳  Request Parameters
  ↳  Retrieve Available Releases
  ↳  Direct Download
  ↳  Retrieve Metadata
  ↳  Using Hashes



Polling for Updates

The first concern is whether or not an update is necessary. Melissa releases updates for our products on a regular basis that varies from product to product.

So, checking the current version against your own is an important step in minimizing unnecessary resource usage and downtime associated with updates. By polling the server at regular intervals, you can automatically monitor for and download updates as they become available.

There are a couple options:

  1. Compare the version number of the latest available release to the latest one that was downloaded. See the releases endpoints.
    1. This requires keeping track of the release number when downloading new releases; consider environment variables or a version tracking file.
  2. Compare the hash values of the latest available release file(s) to the hash values of the existing files. See the hash value endpoints.
    1. The hash values of local files should be compared to the hash values returned by the Hash Type endpoints to ensure the integrity of each download.
    2. By storing or calculating this hash value again, you can compare it to the hash values of the latest release for each file.