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
| ################################################################################ | |
| # /etc/sysctl.d/60-sysctl.conf | |
| # | |
| # Purpose: Balanced kernel tuning for a general-purpose web + database server. | |
| # Target: Modern Linux, kernel 5.x+ (Debian/Ubuntu/RHEL/SUSE derivatives). | |
| # Workload: High-concurrency HTTP/API services AND PostgreSQL/MySQL on one host. | |
| # | |
| # Apply: sysctl --system | |
| # Verify: sysctl --system 2>&1 # must print NO errors | |
| # sysctl net.ipv4.tcp_congestion_control net.core.default_qdisc |
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
| using System; | |
| using System.Configuration; | |
| using System.Web; | |
| using System.Web.Http; | |
| using System.Web.Http.Controllers; | |
| namespace Miscellaneous.Attributes.Controller | |
| { | |
| /// <summary> | |
| /// Filter by IP address (ASP.NET Web API version) |