每天服务 330 人。每年的电费仅为 42 美元。这不是舍入误差,也不是噱头。这是在意大利运行的一个真实生产堆栈的实际运营成本,硬件包括一台 Raspberry Pi 4B 和两块 Orange Pi 板卡,从单个墙壁插座消耗的功率不足 30 瓦。

对于大多数团队来说,基础设施支出几乎是一种“信仰”。你配置一个托管实例,添加数据库服务,叠加监控层,然后眼睁睁看着账单不断增长。这种配置提出了一个更尖锐的问题:如果你的整个在线业务消耗的电量比一只昏暗的白炽灯还少,会怎样?

功耗预算

整个“能源核算部门”就是一个价值 20 美元的智能插座。它能显示实时功耗,目前数值保持在 30 瓦以下。按照这个恒定速率,每年的电费为 42 美元,这主要是因为意大利的电价较高。同样的负载在美国每年大约只需 18 美元。

为了让你有个直观的概念,30 瓦是许多笔记本电脑充电器在待机时的功耗。它甚至比一盏紧凑型荧光灯泡消耗的电量还要少。然而,在这里它支撑着一整套数字化运营:Web 服务、数据存储、电子邮件、加密流量路由、分析、备份以及周边服务。没有数据中心的冷却费用,没有冗余电源的开销,也没有服务商的加价。只有 ARM 芯片“啜饮”电子的纯粹物理过程。

这里实际运行着什么

负载并不轻微。在这三块 ARM 板卡的 Docker 容器中,该堆栈包括:

  • Nginx 和 MariaDB,用于 Web 服务和关系型数据
  • Postfix 和 Dovecot,处理完整的邮件堆栈
  • HAProxy 和 SSL termination,管理并保障入站流量的安全
  • 自托管分析服务,取代第三方追踪脚本
  • DNS 故障转移监控,保持可用性检查的独立性
  • IoT MQTT broker,接入设备遥测数据
  • 备份服务器,保存了 283 个用于数据恢复的快照
  • 许可证服务器,用于软件分发
  • 小型比特币矿机,与其他服务一同运行
  • 为 4G 热点供电的手机充电器,作为上行链路

这不是一个静态落地页,而是一个多租户边缘环境。Raspberry Pi 4B 和两块 Orange Pi 板卡并不是负载均衡的云实例,而是消费级 ARM 单板计算机。所有内容都以容器化方式运行,这意味着操作者可以在板卡之间迁移服务,而无需从头开始重建环境。这种架构有力地证明了容器密度至关重要。当你的计算预算是以瓦特而非核心数来衡量时,每一个容器镜像和数据库查询都会变成一个深思熟虑的设计选择。

隐藏的负载

这里有一个在整洁的架构图中看不到的现代 Web 事实:这套配置每天要应对 7,400 次 AI 爬虫的访问。GPTBot 和 ClaudeBot 在不断访问。大约每 1 个人类访客就会对应 22 个机器人请求。

在标准的云实例上,这种比例只是背景噪音。你察觉不到它,账单也不会因此波动,因为无论服务的是人类还是爬虫,你支付的都是预留的容量。在一个 30 瓦的 ARM 集群上,每一次 HTTP 连接都会消耗掉那块极小“饼”中可感知的份额。系统在这种不对称的轰炸下仍能保持响应,这说明了软件堆栈的高效性。如果你的基础设施能在树莓派上吸收数千个自动化爬虫,那么当真实的流量高峰到来时,它几乎肯定也能应对自如。

真实的数学计算

电费只是故事的一部分。硬件本身——一台 Raspberry Pi 4B 和两块 Orange Pi 板卡——需要前期投入。按五年折旧计算,这部分资本支出每年增加约 60 美元。年度总成本:102 美元。

相比之下,操作者估计,使用类似 t3.medium 实例配合 RDS 的标准云配置,每年运行成本约为 960 美元。这几乎是这个自托管堆栈总拥有成本的十倍。

The comparison is not entirely apples-to-apples, and it is not meant to be a universal indictment of cloud providers. Managed services buy you redundancy, geographic distribution, enterprise support, and hands-off maintenance. Those features matter if you need them. The point is that many projects default to that tier of spending without interrogating whether the application actually requires it. A $20 smart plug and a few ARM boards can challenge that default. When your monitoring stack costs less than a pizza and your annual infrastructure bill fits inside a modest birthday gift budget, the economics of small-scale software begin to look very different.

Why Throttled 4G Changes Everything

Perhaps the most aggressive constraint here is not the ARM chips or the 30-watt ceiling. It is the network. The uplink is throttled 4G, relayed through a phone charger tethering a hotspot.

Throttled cellular data is flaky. Latency jumps. Bandwidth caps loom. Packet loss is not theoretical; it is Tuesday afternoon. Running production traffic over that kind of pipe is a stress test that no load-testing framework can fully replicate. If a database replication job or a web asset pipeline can perform under those conditions, it will almost certainly survive a fiber uplink.

The operator maintains this setup explicitly as a test. Constraints, they argue, are not limits. They are diagnostic tools. Software that works under genuine resource scarcity works anywhere. Bloat becomes impossible to ignore when a slow query or an unoptimized image translates directly to a measurable wattage spike or a timeout on a narrow pipe. Performance stops being a ticket in next month’s sprint and becomes an immediate physical reality.

Show Your Work

There is no need to take anyone’s word for it. Live data lives at stats.lake8.dev/geo.html, where visitors can watch real-time wattage and cost projections tick upward. There are no multi-page PDF sustainability reports. No green certification logos. Just