Page History
...
- Hard-Coded Initial Values - The hard-coded initial values are known to be correct at some point in time, and is taken as the reference to judge whether newer values are sensible.
- Settings File - A new snapshot of all settings is written any time there is a settings change (which includes reference rate changes). The most recent settings file is read at startup. Failure to apply the settings file aborts Reflector.
- Web Server : Reflector's web server allows for the updating of reference rates. Failure to apply exchange rates from a web request is silently ignored.
Internal Mechanism
The Reflector run-time works parses the JSON, and the update function is given a set of currencies to update, along with a numeric value per entry to be updated. The following "fat finger" validation is performed:
...
If the above validation checks all pass, then exchange rates are updated and rate-dependent cached values are recomputed.
External Mechanism
A worker process supports the use of custom market data feeds. This process also interprets, sanity-checks, and filters these feeds for consumption by the Reflector run-time.
...
Overview
Content Tools