Skip to main content

EMWIN Latency Comparison.

Project description

Compare Files provides a way to compare latency and count products, between two systems with incoming data. In this case, we are comparing the ingested products on the ESB between legacy and enterprise. A file from the legacy system is is downloaded via GoogleDrive and the enterprise file is created from querying the edpdb database. Both files are CSV.

Typical usage often looks like this:

python database_query.py
python compare_files.py

Input

  • Dates for querying the database in the format MM-DD-YYYY

  • Name of datafile from legacy system

Prerequisites

Output

  1. Latency.csv

  2. LegacyProductsNotInEnterprise.csv

Troubleshooting

KeyError or ValueError (Product Comparison): There is likely an error in the legacy data file. Sometimes this is something as simple as the inclusion/exclusion of AM or PM in the timestamp or a leading comma in a column.

Missing Products (order of 500+): The database is missing data for a date due to an outage, restart, etc. The AWDS table file is not up to date. The date range is incorrect.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

emwinCompareFiles-0.2.11.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

emwinCompareFiles-0.2.11-py2-none-any.whl (7.3 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page