gobreaker
traefik
gobreaker | traefik | |
---|---|---|
4 | 185 | |
2,762 | 47,984 | |
0.9% | 1.2% | |
4.1 | 9.4 | |
2 days ago | 1 day ago | |
Go | Go | |
MIT License | 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.
gobreaker
-
Choosing dependencies using deps.dev
sony/gobreaker
-
gobreaker VS hystrix-go - a user suggested alternative
2 projects | 4 May 2022
-
how to use a circuit breaker on Kubernetes
As far as I know most circuit breakers are not a stand alone process, but either part of a service mesh like istio https://istio.io/latest/docs/tasks/traffic-management/circuit-breaking/ or part of the service. Spring for example has an abstraction called Spring Cloud Circuit breaker https://spring.io/projects/spring-cloud-circuitbreaker . There are several implementations in Go, e.g. https://github.com/sony/gobreaker or https://github.com/mercari/go-circuitbreaker
-
CircuitBreaker Pattern in Go
GitHub - sony/gobreaker: Circuit Breaker implemented in Go
traefik
-
Release Radar ยท April 2024 Edition: Major updates from the open source community
Pronounced "traffic", Traefik is a modern HTTP reverse proxy and load balancer aimed at making deploying microservices easier. It integrates with your existing infrastructure components such as Docker, Kubernetes, and others, and configures itself automatically and dynamically. The latest version adds lots of new options and enhancements such as adding healthcheck options, support for custom headers, and more. Read the migration guide on how to update to the latest version which is now required due to breaking changes.
- Traefik Proxy v3.0.0 Released
-
How to securely reverse-proxy ASP.NET Core web apps
However, it's very unlikely that .NET developers will directly expose their Kestrel-based web apps to the internet. Typically, we use other popular web servers like Nginx, Traefik, and Caddy to act as a reverse-proxy in front of Kestrel for various reasons:
-
Deploying Web Apps with Caddy: A Beginner's Guide Caddy
Not as good though. Case in point: https://github.com/traefik/traefik/issues/5472#issuecomment-... (that's just from this morning)
I'm speak objectively here. Of course, any built-in auto HTTPS that works (more or less) is better than none. Traefik uses an ACME library that was originally written for Caddy. After the original author left that project, Traefik team started maintaining it. Caddy's users' requirements exceeded what the library was capable of, but unfortunately there was friction in getting it to achieve our requirements. So I ended up writing a new ACME client library in Go and, together with upgrades in CertMagic (Caddy's auto-TLS lib), Caddy has the more flexible, robust, and capable auto-HTTPS functionality.
That is to say, not all auto-HTTPS functionalities are the same.
-
Security Workshop Part 1 - Put up a gate
We'll use Traefik, an open source cloud native gateway that can plug into a Kubernetes cluster. It has the concept of "middleware" that can process API requests before passing them through to a backend. We can configuring a rate limit for all of our API endpoints by matching on the request path:
-
Install plugin in k8s cluster running in Kind
I did the same question here and here
- The Tailscale Universal Docker Mod
-
Set Default Config in traefik.toml and overwrite with specific container config
Sadly there is currently no way of doing so. https://github.com/traefik/traefik/issues/6999
- Istio moved to CNCF Graduation stage
-
Docker Services question
Traefik is another widely used system that has automatic configuration and offers support for more things like swarm/kubernetes/etc.
What are some alternatives?
hystrix-go - Netflix's Hystrix latency and fault tolerance library, for Go
Nginx Proxy Manager - Docker container for managing Nginx proxy hosts with a simple, powerful interface
go-zero - A cloud-native Go microservices framework with cli tool for productivity.
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
examples
ingress-nginx - Ingress-NGINX Controller for Kubernetes
go-circuitbreaker - A context aware circuit breaker library in Go.
Squid - Squid Web Proxy Cache
heimdall - An enhanced HTTP client for Go
envoy - Cloud-native high-performance edge/middle/service proxy
istio - Connect, secure, control, and observe services.
socks5-proxy-server - SOCKS5 proxy server