Skip to main content

Python Class to run code with consideration to DB load.

Project description

# dbThrottle Python Class to run code with consideration to DB load.

## Why Throttling code to work under the constraints of a server makes sense in certain situations, especially when replica lag comes into play. This project hopes to simplify acting on this consideration.

## What A, still early, python module, which introduces a functional type to complete a task or continiously run an operation, taking database load and similar metrics into account. The code will work with any metric you want to define, but we’ve included replia lag an open threads/connections as default metrics for mssql, mysql, postgresql, and oracle.

## Who Ryan Birmingham, under GPL3

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

dbThrottle-0.0.3.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file dbThrottle-0.0.3.tar.gz.

File metadata

  • Download URL: dbThrottle-0.0.3.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dbThrottle-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1e29965e625c353f33be53811b796ecf9b140ac46f63c6810c462ad1835ad44b
MD5 bff4c33f2b77cd8f03cb9cbc1f97b7dc
BLAKE2b-256 027210170611dea948257a458f3ada649c78d36fdee32b6c819cfeafc1d266ec

See more details on using hashes here.

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