TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Is anyone using ArchLinux for server production environments?

13 点作者 _xrjp超过 4 年前

6 条评论

rakoo超过 4 年前
FWIW I&#x27;m running my personal VPS with Arch, with services that only I use. As many people know the good thing with Arch is that what you gey is the bare minimum to have a shell running, so anything that is not necessary for the system to be up is something I installed; I <i>know</i> what is on the system.<p>I do upgrade my packages from time to time. It&#x27;s almost always happened smoothly. The few times problems happened were due to 2 reasons:<p>- the software itself has a buggy upgrade procedure. I probably would have had the same issue with any other distribution, assuming they would contain the latest version<p>- it&#x27;s an Arch-specific upgrade issue, but I have so few packets that this happens at most twice a year and it&#x27;s always documented on the front page of the arch wiki<p>I have to admit that since it&#x27;s only my own server, there is no pressure for services to stay up. In practice in the years I&#x27;ve used this setup I&#x27;ve never had an issue because a package was too recent and buggy; it was always a misconfiguration from my part.<p>I very much like the process of steadily keeping up to date bit by bit, instead of stagnating on a stable base and doing a big bang update every few years. I also like the fact that I don&#x27;t need to know which version of which release am I going to get, it&#x27;s always the latest one and it&#x27;s the one that upstream released.
评论 #25372281 未加载
评论 #25371909 未加载
bierjunge超过 4 年前
I really like Arch, but I wouldn&#x27;t use it in production. Yes, the packages are up to date and there are not many problems with them. But did you try to rollback to previous version of a package? I had the problem on my personal laptop last year. There was no possibility to get a different version than the newest, which was broken (upstream&#x27;s fault in this case). Luckily I had the previous version in my pacman cache and was able to install it. The package maintainers did a good job and the issue was resolved in something like 24-48 hours (from patching upstream to pacman). So nothing tragic for personal use. In a productive environment? A very big no. One to two full days are simply not acceptable in any kind and&#x2F;or size of business. Yes, you would (and should) test the update before rolling it out to production and be able to mitigate the problem, but you can&#x27;t be sure, because you can&#x27;t pin the version you want to install. Ok, you could build your own repo and package everything you need yourself. But it takes time and costs a lot of money.<p>Also automated deployment of Arch is a little bit of a headache.
ryanmjacobs超过 4 年前
All FPGA synthesis runs for <a href="https:&#x2F;&#x2F;webfpga.com" rel="nofollow">https:&#x2F;&#x2F;webfpga.com</a> are on Arch Linux based containers. There isn&#x27;t a lot of traffic. We get around 5-10 synthesis runs per day from .edu accounts. It&#x27;s been reliable, lightweight, and stable.<p>When developing the platform, we tried Ubuntu&#x2F;Debian&#x2F;CentOS, and at the time (about 1.5 years ago), Arch Linux was the most reliable OS for getting the 32-bit deps to work with existing commercial chains, and new toolchain compiles (IceStorm, NextPnr, etc). I think this is because Arch typically includes the development headers by default.<p>As long as the regression tests continue to pass, we will likely continue to roll with Arch Linux. We only tend to rebuild images once a month or so, since our backend is fairly feature complete already.<p>--<p>I think the trick is:<p>* Use containers, e.g. dockerhub&#x27;s archlinux<p>* Assume that you will never be able to run pacman on a live system. Instead, rebuild a new image with a Dockerfile with your new packages -- then deploy that.
minimaul超过 4 年前
I&#x27;m a fan of Arch on the desktop, and I wouldn&#x27;t recommend this.<p>The strength of Arch on the desktop for me is that it is a rolling update distro - that you are always up to date with the newest driver updates, mesa, etc.<p>This is exactly why I wouldn&#x27;t use it on a server. Every time you install or update, you run the risk of getting a major software update that could break your app or server config.<p>For servers I want predictability - the same software versions over an extended period with just bugfixes &amp; security fixes, and for <i>me</i> to decide when I want to change major versions. Arch doesn&#x27;t make this predictability an option.
joseluisq超过 4 年前
Here some relevant links:<p>- <a href="https:&#x2F;&#x2F;serverfault.com&#x2F;questions&#x2F;173286&#x2F;is-arch-linux-suitable-for-server-environment" rel="nofollow">https:&#x2F;&#x2F;serverfault.com&#x2F;questions&#x2F;173286&#x2F;is-arch-linux-suita...</a><p>- <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ytfohob38vM" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ytfohob38vM</a><p>- <a href="https:&#x2F;&#x2F;bbs.archlinux.org&#x2F;viewtopic.php?id=246164" rel="nofollow">https:&#x2F;&#x2F;bbs.archlinux.org&#x2F;viewtopic.php?id=246164</a>
speedgoose超过 4 年前
Please don&#x27;t use ArchLinux for your production environments. Unless you want to risk being murdered by future employees of your company of course.
评论 #25372173 未加载