pycircuitbreaker
opencv_py
pycircuitbreaker | opencv_py | |
---|---|---|
1 | 2 | |
8 | 7 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 3 years ago | |
Python | Python | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pycircuitbreaker
-
Ask HN: Show me your Half Baked project
https://github.com/etimberg/pycircuitbreaker/
A python implementation of the circuit breaker pattern. Not a new concept, but I did innovate in how the breaker decides to open.
I realized that with a normal breaker, if you set the threshold to 5, but 4/5 requests failed (say due to a backend service being partially down) the breaker would never open. To solve this, you can set the breaker to use the net error count so that the breaker would behave as such:
Req Num | Req Status | Breaker Status
1 | Fail | Closed
2 | Fail | Closed
3 | Fail | Closed
4 | Fail | Closed
5 | Pass | Closed
6 | Fail | Open
opencv_py
-
Ask HN: Show me your Half Baked project
Using this script: https://github.com/ctrager/opencv_py/blob/master/hummingbird...
What are some alternatives?
hof - Framework that joins data models, schemas, code generation, and a task engine. Language and technology agnostic.
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
UsTaxes - Tax filing web application
dupver - Deduplicating VCS for large binary files in Go
ML-auto-baseball-pitching-overlay - ⚾🤖⚾ Automatic baseball pitching overlay in realtime
ht - Friendly and fast tool for sending HTTP requests
godbledger - Accounting Software with GRPC endpoints and SQL Backends
hacn - A "monad" or DSL for creating React components using Fable and F# computation expressions
woof - an ad-hoc single file webserver
pastty - Copy and paste across devices
tinyjam - A radically simple, zero-configuration static site generator in JavaScript