You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I faced bandwidth issues between a WG Peer and a WG server. Download bandwidth when downloading from WG Server to WG peer was reduced significantly and upload bandwidth was practically non existent.
I found a few reddit posts that said that we need to choose the right MTU. So I wrote a script to find an optimal MTU.
Ideally I would have liked to have run all possible MTU configurations for both WG Server and WG Peer but for simplicity I choose to fix the WG Server to the original 1420 MTU and tried all MTUs from 1280 to 1500 for the WG Peer.
Testing
On WG server, I started an iperf3 server
On WG peer, I wrote a script that does the following:
Go: timeouts and custom http client #go #http #dns
Server Timeouts
Tip
Use context.WithTimeout when you need to enforce timeouts on internal operations like database queries or HTTP calls, especially when you want to propagate cancellation signals through the call stack to prevent resource leaks or manage goroutines. It's ideal for fine-grained control within a handler. In contrast, use http.TimeoutHandler when you want a simple way to enforce a timeout on the entire HTTP handler response, particularly when you don’t control the handler logic or don’t need to cancel ongoing work—it only cuts off the response after the timeout but doesn’t stop the underlying processing.
Warning
Be careful when using http.TimeoutHander. If automatically applied to all handlers (as part of a middleware pipeline) then it will not work when it comes to a streaming endpoint (see the relevant Cloudflare article linked in the NOTE below).
Uma lista com os servidores e serviços de e-mail tudo-em-um que encontrei e parecem ser promissores para uso em ambientes reais e em produção.
Porque esta lista existe?
Esta lista vem da necessidade de compilar os serviços que podem ou poderiam ser utilizados de forma viável em um cenário real, seja para hospedar suas próprias caixas de e-mail de forma não centralizada e a baixo custo ou seja para fornecer elas como serviço, agregando em provedores de hospedagem entre outros.
Ela também vem de encontro com minha busca por boas ferramentas para gerir um servidor de e-mail além das tradicionais e monoliticas soluções como Zimbra ou cPanel por exemplo, pois estou cansado de depender de provedores tradicionais e suas limitações e também a serviços que dependam de anos de conhecimento e experiência como SysAdmin para poder gerir.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
High Traffic Server Settings on RHEL / AlmaLinux / Rocky / EuroLinux / CentOS 8
High Traffic Server Settings on RHEL / AlmaLinux / Rocky / EuroLinux / CentOS 8
I recently did some work to optimize the network configuration of an AlmaLinux 8 based web server that receives a lot of traffic.
Of course these settings also apply to RHEL / Rocky / EuroLinux / CentOS 8 (hereafter referred to as Linux 8.) I think these should also work on RHEL / AlmaLinux / Rocky / EuroLinux 9 as well but I have not yet tested them.
There is a lot of information on the web for this and it distills down to a minimum recommended configuration, and a recommended configuration.
The minimum recommended configuration should be sufficient for servers with less than 10Gb, and the recommended configuration should be sufficient for servers with 10Gb or more.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters