go-reuseport
reuse tcp/udp ports in golang (by libp2p)
tableflip
Graceful process restarts in Go (by cloudflare)
Our great sponsors
go-reuseport | tableflip | |
---|---|---|
1 | 2 | |
733 | 2,736 | |
2.6% | 1.9% | |
5.0 | 0.0 | |
about 1 month ago | 12 months ago | |
Go | Go | |
ISC License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
go-reuseport
Posts with mentions or reviews of go-reuseport.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-22.
-
The Simplicity of Single-File Golang Deployments
Can't help with how to implement this, but just to be sure: You should be able to use the same port in multiple instances if you bind those with SO_REUSEPORT. A quick search points to https://github.com/libp2p/go-reuseport for an implementation. Now you just need a mechanism to drain the old process.
tableflip
Posts with mentions or reviews of tableflip.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-20.
- Any way to graceful restart the gin http and https servers like nginx for production?
-
The Simplicity of Single-File Golang Deployments
> Some of this is probably going to have to be done in your application...
FWICT tableflip does exactly this: https://github.com/cloudflare/tableflip
What are some alternatives?
When comparing go-reuseport and tableflip you can also consider the following projects:
debug - Fork of pkg/debug that adds some additional functionality.
bearclaw - tiny static site generator w/ rss