birm / dbThrottle

Python Class to Run with consideration to DB load. [suspended]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dbThrottle

PyPI version Build Status

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

About

Python Class to Run with consideration to DB load. [suspended]

License:GNU General Public License v3.0


Languages

Language:Python 100.0%