A comprehensive choice of stability, security, and performance. If you think that the most important indicator of a server is not just speed, then FreeBSD will definitely surprise you. The FBI's server uses FreeBSD. The following is the stress test of FreeBSD12? All other unexplained information means the same. The software is installed using package management. Source code is not used for installation, and no system tuning is done. Three virtual servers are opened at the same time, and each server is tested twice, whichever is the best result. (Test result order: FreeBSD, Ubuntu, Win2019). Note: The nginx server version is not unified, which will slightly affect the fairness of the results, but it is within a reasonable range.
Ab important indicators: Requests per second (the bigger, the better), Time per request (the smaller, the better), Transfer rate (the bigger, the better, throughput under large traffic)
Conclusion: FreeBSD's performance under heavy pressure is slightly better than that of Ubuntu, and its stability, security, and robustness are also better than Linux. Of course, if it is used for deep learning instead of the web, I might choose Linux.
In addition, security is relative. Although *BSD is more secure than Linux by default, it does not mean that it is secure if you maintain it. Account passwords, ssh security, permissions, and web program security will all be affected. System security (websites still recommend using the latest version of wordpress, and the security plug-in: WP Cerber Security, which is slightly better than All In One WP Security, but even if you are just getting started, you are more assured than windows that are often patched. Only FreeBSD debugs wordpress. It is necessary to improve more skills. It is not just a simple pkg?install. You need to have enough mastery of nginx, php, and mysql. These may seem complicated, but you will find them endless fun after knowing them, and they will definitely cultivate traditional hackers. Spirit and realize the power of simplicity