pycircuitbreaker
logsuck
pycircuitbreaker | logsuck | |
---|---|---|
1 | 2 | |
8 | 169 | |
- | - | |
0.0 | 7.2 | |
over 1 year ago | 14 days ago | |
Python | Go | |
MIT License | Apache License 2.0 |
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
logsuck
-
Ask HN: Show me your Half Baked project
Interesting! I have it in the backlog that I want to support structured logging via JSON at some point. It's pretty far down the list right now though since I personally haven't used structured logging very much.
I added an issue about it: https://github.com/JackBister/logsuck/issues/7 - if you want to chip in with any comments or even help out with implementing it it'd be much welcomed!
What are some alternatives?
opencv_py
ht - Friendly and fast tool for sending HTTP requests
hof - Framework that joins data models, schemas, code generation, and a task engine. Language and technology agnostic.
UsTaxes - Tax filing web application
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
go-live - 🗂️ go-live is an ultra-light server utility that serves files, HTML or anything else, over HTTP.
dupver - Deduplicating VCS for large binary files in Go
learn-anything.xyz - Organize world's knowledge, explore connections and curate learning paths
pegao - Pegao is a community about lists of links on topics of interest.
hacn - A "monad" or DSL for creating React components using Fable and F# computation expressions
smug - Session manager and task runner for tmux. Start your development environment within one command.