by nine_k · 3y ago · 0 comments
Completely not cool, that is, pretty hot. And short-lived.
Mobile devices are only practical because they don't work 80-90% of time. Being awake for longer requires larger batteries. Being suddenly popular and thus withstanding much more load would just physically kill a node, by depleting its battery quickly and suddenly.
The luxury of peer to peer networks requires either a large power supply, or a limited availability of each node. If you introduce super-nodes with good power and constant connectivity, where weaker nodes can post their data to be cached and replicated, you just invent servers again.
What if you remove the battery altogether and use the phone as an alternative to a Raspberry Pi, instead of creating more e-waste?
If Android (or any other mobile OS) wasn't so locked down, we'd definitely be able to take more advantage of devices like that and not just for hosting stuff - they already have mobile data support, Wi-Fi, Bluetooth, a microphone, camera, GPS, accelerometer and so on.
In regards to load, my blog did fine with one of the articles on the front page of HN way back, and it was served from a container that has about 1 CPU core given to it and under 1 GB of RAM (albeit it's still a rented VPS otherwise).
My homelab server CPUs have a TDP of 35W and I use those for CI as well with no issues. My netbook has a CPU with a TDP that's around 15W and it can serve web apps with no issues, alongside Visual Studio Code and a desktop environment.
A phone is almost certainly good enough for simple workloads as well, like serving static files or interacting with a SQLite database, assuming that your content wouldn't get too popular.
But having it be a server while in your pocket is probably too niche of a use case, rather than having it on a shelf somewhere, connected to a power cable.
There must be some scheme of symbolic addressing. DNS, of all things, is reasonably decentralized, it only requires SOA records for top-level domains to be propagated in concert. (It has other shortcomings though.)
I pick on DNS because it's an easy example of another thing you have to manage hosting your own content. Also, domain names are a hot mess and people mostly prefer to have identities ala Facebook, which could easily built into a decentralized protocol.
https://news.ycombinator.com/item?id=31841051
"I replaced Google Analytics with a web server running on my phone [2020]", 0 comments
https://news.ycombinator.com/item?id=28306681
No real point on my part here. There's just a lot of colorful discussion here and in sibling threads. I found these to be fascinating reads and they feel relevant. I believe the author was running the server from second link on their daily driver.
Author writes about using Termux as a webserver. Do note Termux's having to target older API versions if anyone is really contemplating the feasibility today.
(Sorry, mobile)
No you don’t. Not if the super nodes are almost automatic. The problem with servers is having to manually admin them.
FidoNet worked pretty well, as long as you did not mind your message to reach a destination within 3-4 hops by tomorrow. Maybe it's the right pace of communication in certain cases. Not tweet-style, but blog-style.
Super-nodes with around-the-clock connectivity also existed, advertised themselves as such, and were a great help.