Phones are amazingly powerful. Why not "self host" apps on phones?
Phones are amazingly powerful. Why not "self host" apps on phones?
- Battery life. One of the main reasons your phone lasts as long as it does is because it severely restricts the ability to run always-on things. A phone of course can run an email server, but the battery life will immediately tank to the point where the device becomes largely unusable for its original purpose.
- Phones make extremely poor servers because connectivity is intermittent. This is fine for software that's 100% local, but a lot of the most useful software needs to talk to the internet - or more importantly, has to allow the internet to talk to it. Imagine losing an email because you walked into the subway and your phone was unreachable the moment an SMTP server tried to connect to it.
> Imagine losing an email because you walked into the subway and your phone was unreachable the moment an SMTP server tried to connect to it.
Dont SMTP servers already retry a few times before giving up? Plus it is not like you're using the phone to host content for the whole of the internet. It would be just for your close circle usually.
I am not saying phones make the perfect servers for all kind of applications but for certain kind of workflows... I think Phones are pretty good. Our network infrastructure (NAT, firewalls etc... limited data plans etc..) is the main headache for most of these use cases. But the network infrastructure is a problem even for our laptops, home computers etc..
At that point, you're better off going with some N100 mini-PC or such. But that's not a phone.
And I'll remind folks that we've been talking about the power of people owning their own servers in their homes for decades, and yet the vast vast vast vast majority of users aren't doing it.
Where it gets complicated is there's a (totally understandable) expectation these days that your data is synced across multiple devices, and you can collaborate with other users, who may also have multiple devices themselves. In practice, that necessitates some kind of always-on server that maintains state for everyone. A phone can technically do that, but you'd probably kill your battery in the process.