12 ms·
My Second Phone Is in the Cloud
- jborichevskiy 7y agoCached copy by Google: https://webcache.googleusercontent.com/search?q=cache:lIMDg7RKZRwJ:https://lucassimpson.com/blog/2020-01-23/my-second-phone-is-in-the-cloud/+&cd=1&hl=en&ct=clnk&gl=us&client=firefox-b-1-d https://webcache.googleusercontent.com/search?q=cache:lIMDg7...
- aj7 7y agoThank you!
- tyingq 7y agowayback equivalent, in case Google cache isn't right: https://web.archive.org/web/20200201040019/https://lucassimpson.com/blog/2020-01-23/my-second-phone-is-in-the-cloud/ https://web.archive.org/web/20200201040019/https://lucassimp...
- vasco 7y agoYou can type "cache:" before any URLs in the browser, works in Firefox and Chrome.
- funfunfunction 7y agoHugged to death. “If you were using federated Kuberenetes with node auto-scaling and the latest cloud-native AI-enabled service discovery OSS tools for geographically aware traffic distribution your static site wouldn’t have gone down.”
- wbl 7y agoWhat's the total traffic our hug brings?
- SmooL 7y agoYeah my bad; my site is mostly just for my personal use and I didn't really optimize for views lol. I'm seeing about 200 views/minute.
- crooked-v 7y agoYou may want to look at sticking it behind Cloudflare, since their basic CDN service is free.
- rovr138 7y agoJust exporting it to static HTML would work or some some of cache. Maybe varnish or even a reverse proxy with caching.
- scarface74 7y agoIf he exported to static html, he could just put the static contents on S3 and configure the bucket to be accessible via https.
- ldoughty 7y agoOr CloudFront. He's on AWS, and it's nearly free (<.05 cents for most personal websites)
- aj7 7y agoIndeed can’t read. Getting 500 Server error.
- ibudiallo 7y agoI wrote an article here, and the traffic I got was 1.3 million web requests. All I did was use memcache, and have all my static assets served with nginx. Just like the article implies, if it requires any tweaking and configuration, most people won't/can't do it.
- numpad0 7y agoLet’s call that LaForge engineering(or Spock if you’re TOS person)
- Aperocky 7y agoI wonder how a personal website can’t be made to handle HN traffic? Is there are some kind of excessive back end that cause stuff like this?
- macNchz 7y agoI think the most prototypical "hugged to death" personal website is a stock wordpress setup on shared hosting or a low spec vm, without any caching plugins, and perhaps with some popular plugins that happen to be database heavy. It's easy to click a few buttons, install some plugins and themes, and wind up running 100+ sql queries on every page load. The various caching plugins work very well, but it's not necessarily something everyone thinks of turning on in advance of getting a lot of traffic all at once. Can't say if that's what happened here, but it's super common when personal sites linked here go down.
- Aperocky 7y agoAh thanks. This make sense now. I had mine entirely frontend and even had a decent sized js game on it but never had any trouble posting. Likely because I never needed to deal with sql, (or low traffic)
- tomschlick 7y agoPeople don't take advantage of caching headers. Put cloudflare in front of your blog with 10 minute caching headers and that isnt going down for almost anything.
- tyingq 7y agoThey don't even need Cloudflare. Just a typical cache plugin would allow a WordPress/Django/Rails/whatever site to survive HN. Every page request being 90 database calls to satisfy "related posts", "wordclouds", "previous", "next", "related" and whatnot just doesn't scale :) Yey abstraction.
- istjohn 7y agoYou can read about his tech stack here[1]. Curiously, his "About" page loads fine. He is using a Django REST API with DynamoDB and the "whole site is hosted serverlessly on AWS Lambda." 1. lucassimpson.com/about/
- tudorw 7y agoOr if you'd just posted it on Usenet, oh wait
- ikurei 7y agoWeb Archive has it: https://web.archive.org/web/20200201105504/https://lucassimpson.com/blog/2020-01-23/my-second-phone-is-in-the-cloud/ https://web.archive.org/web/20200201105504/https://lucassimp...
- notyourday 7y ago> Hugged to death. It's a static site FFS! Erols and ServInt were serving 3k requests per second on a Pentium in the nineties using Apache and SCSI disks with no acceleration, no http cache, no memcache because that 2KB page fits into OS disk cache!
- heavenlyblue 7y agoEverything fits into OS disk cache as long as there’s enough free RAM.
- ernsheong 7y agoCan't resist: He turned off his second phone ;)
- bla3 7y agoSounds like a similar idea as the (failed) sandstorm.io.
- lostmsu 7y agoI'd argue they did not exactly fail as much as ClouFlare(?) decided not to develop it further. They did acquire it, so it probably was a good exit for the original devs. And to become ready for public consumption some investment in UX was clearly needed, including a better store and some basic apps.
- kentonv 7y agoNo, that's not correct. Sandstorm the company most definitely failed -- we ran out of money, couldn't raise more, and had negligible revenue, hence could no longer pay employees. We looked for an acquisition, but while we received multiple offers to hire the people, we received no offers to acquire the company along with them. (Well, some companies offered to buy Sandstorm for $0 and wind it down for us.) Most of the team ended up taking offers from Cloudflare, but Cloudflare did not acquire Sandstorm. Sandstorm technically still exists as a company, but with no paid employees -- it's basically just me keeping things operating in my spare time. But the vast majority of my coding energy has gone into Cloudflare Workers. OTOH in the last couple months a bunch of people in the community have started more actively contributing to Sandstorm as an open source project. So that's cool!
- lostmsu 7y agoThanks for that story, it was like reading "2 years as solo developer" in a minute. Especially curious, as making something along the lines of sandstorm would actually be what I'd be doing, if it was not for chasing the AI hype. Though I thought of it more as something, that you could "install" into your free tier cloud account with typical mobile apps (like Calendar, Contacts, Mail, Music and Drive) coming by default. Also, Cap’n Proto is just marvelous!
- OJFord 7y agoFailed? Website looks open for business, and latest commit 6d ago: https://github.com/sandstorm-io/sandstorm https://github.com/sandstorm-io/sandstorm Agree that it sounds exactly like what OP is imagining, website even has the copy 'installing apps is as easy as on your phone'. I also think Urbit is similar, but frankly I've always been too confused by the space analogies that project uses to be sure.
- gdsdfe 7y agohis website is not apparently
- latentpot 7y agoSo, a virtual desktop in the cloud? That's new
- cerberusss 7y agoCheck the Hacker News Guidelines, particularly "please don't post shallow dismissals". I definitely think the blog author is onto something. This is not just a virtual desktop, this is a VPS but "administered" like any regular smartphone. Such a thing doesn't exist yet, while all the parts are there.
- 627467 7y agoIsn't this (pcc) urbit.org?
- josemando 7y agoIsn’t https://solidproject.org https://solidproject.org going in that direction?
- wmf 7y agoSolid worries me because the apps don't run on your server. That means Solid apps can do all kinds of bad things and your only recourse is to stop using it (if you even know about the badness). For the same reason, Solid's privacy expectations aren't really enforceable; apps could mine your data and you'd have no way of knowing and they could cache your data even after you withdraw permission.
- josemando 7y agoThat’s indeed a worst case scenario, but you know (an grant permission to) which data the apps have access to
- anthonyhodlbot 7y agoIf apps on personal servers can’t collect data, then they will need to charge money in order to have an economic incentive to support the app, ship updates, upgrade UI, etc. If there is a competing “free” option then from a centralized monolith, then it’s going to be very difficult for the PCC app to deal with. Paid apps are also inherently less viral and can’t tap into network effects as well due to the friction resulting from payments. In order to overcome this, PCC apps need to develop a viable revenue model without putting a paywall. I see the PCC model work for applications where neither the consumer and the business want to store sensitive data because the security overhead is too high. E.g. trading bot that doesn’t want to store user’s API keys. In fact, running private servers is something that is pretty common in that world.
- wmf 7y agoThere's always the App.net business model where some of your hosting fee gets passed on to the apps that you run but the resulting revenue would probably be small.
- teleclimber 7y agoI'm not sure it's so limited. First this is a great space for open source apps. Second I think people in general are becoming more aware that free online stuff usually comes with a hidden cost to privacy. Third there is a whole swath of online services that can't thrive in current situation: services that are too uninteresting (from a data harvesting pov or no tie-in to larger offering) to run for free, and not valuable enough for the user to pay $7/month for, and not worth running as a SaaS at a lower price. Yet if a user had a cloud OS with metered resources, they could run such an app for a few bucks a year (plus a few bucks donation/paid to the app dev). And they'd never have to worry about it shutting down because the dev wants to do something else with their lives.
- matlin 7y ago> I see the PCC model work for applications where neither the consumer and the business want to store sensitive data because the security overhead is too high. I agree. I think apps that have both a basic and premium version can really thrive on a platform like this where useful apps are not competing with VC-fueled or ad-driven apps and the utility to the user is very clear. Data mining has really gotten out of hand and caused the value-add to the user to become extremely distorted. User attention has been the only metric that free apps are fighting for which is a zero-sum game and not good for anyone. I'm most excited by the idea of applications being able to be more closely connected and even create new types of apps that just layer on top or extend existing app data.
- iamdamian 7y agoI like the sentiment (and run my own Synology NAS to sort of achieve this), but I'm trying to understand the difference between saying "my second phone is in the cloud" and "I want my phone to be a thin client for a server that I run using open standards". Is there any meaningful difference? I feel like the second idea has been around for a while. Incidentally, because I've read so many articles recently bemoaning the state of the iPad, I think if Apple really embraced the "thin client" model for the iPad, they would have a much better shot at product market fit. For example, if the iPad could seamlessly view and edit files from, say, any SMB server as easily as it can from iCloud, I think that would get people excited. It would be decoupling the interface from the underlying standard, but also make sure that they work well together. Who knows, it also might lead to having a standard file format where we're missing them today, e.g., for handwritten notes?
- deleted 7y ago[deleted]
- Terretta 7y ago> if iPad could view and edit files from, say, SMB server.... Try ‘add server’ in iPad’s “Files” app? http://osxdaily.com/2019/11/04/how-connect-smb-share-iphone-ipad-files-app/ http://osxdaily.com/2019/11/04/how-connect-smb-share-iphone-...
- iamdamian 7y agoThis is a great point, and I should clarify: I do this and it works. However, it feels like a second class feature, and there are many rough edges. For example, some apps don’t seem to be aware of this possibility and throw errors if you try to open a file on this way. You also can’t add directories as favorites like you can for other sources. It’s just annoying enough in some cases that it feels like Apple doesn’t really want you to do it.
- sjy 7y ago> For example, if the iPad could seamlessly view and edit files from, say, any SMB server as easily as it can from iCloud, I think that would get people excited. This is actually an advertised feature of iOS 13, and I did get very excited about it when it was released last year. Unfortunately, it’s completely unusable; browsing a directory with more than 100 children or copying more than a few megabytes of data is likely to freeze or crash Files, and I’ve even managed to get the app into a broken state that can’t be fixed with an iOS reboot. The same applies to the USB drive “support.” Don’t trust anyone who tells you the iPad Pro is a viable laptop replacement if you need a working filesystem.
- snorrah 7y agowelp ddos’d by apparent popularity!
- aj7 7y agoDemand for this article is outstripping server.
- rsync 7y agoI was hoping this as someone else who, like me, has ported their primary phone number to twilio and runs their own personal telco, in the cloud. That is not what this article was about.
- JadoJodo 7y agoI'd love to see a write up on this
- notduncansmith 7y agoI’ve been considering a similar move and would also love to hear more about anyone who has made such a transition.
- saarons 7y agoI'm sure everyone's setup is different but I did this for about 8 years and had to stop recently due to a variety of problems. The first being the lack of support for group messaging. I couldn't send group messages at all but what was even worse was that when I was part of group messages I would receive the messages individually as if the person was texting me directly. My system could mark them as being group messages but I couldn't see the other recipients so there was no way of knowing who else was in a thread until other people started texting and then could piece together the group from context. Also some services straight up refuse to send SMS to cloud phone providers meaning you can't sign up for certain services that needed a verified phone number (unless they had an option to receive a call with the verification code which worked like 25% of the time). Dialing was another huge issue, you can somewhat intercept outbound calls on Android but the system is buggy so I had to find other methods. Since I had integrated my SMS/MMS messaging with Slack (one slack channel per phone number) I created a /dial command that would call my phone and then when I answered it would transfer me to the person I wanted to call. Happy to answer more questions about it but I highly recommend people think about all the consequences before moving their main number over.
- ss3000 7y ago> Also some services straight up refuse to send SMS to cloud phone providers meaning you can't sign up for certain services that needed a verified phone number (unless they had an option to receive a call with the verification code which worked like 25% of the time). I've ran into the same issue with this on Google Voice. Though sometimes I wonder if I could have gotten the best of both worlds by just porting a number from a traditional carrier to Google Voice/Twilio. Are these kinds of checks only against the number itself? Or is there some kind of dynamic registry?
- aneutron 7y agoVery cool idea. I do however have some comments: - The "appstore"-like experience already exists in the ecosystem, in a sense. You have package managers with post-install and configuration scripts (Installing slapd for example yields a perfectly functioning instance within 2 minutes), or maybe Ansible playbooks that run the instance with a simple file configuration and one command. For package managers, it all depends on the packaging. - Again the ecosystem somewhat already exists in a way if you consider Docker for example. All the dependencies are neatly packaged, and if you think kubernetes, then you you have helm as the appstore. It even solves the possible problems with ports and schenanigans that the user mentions. (But again, post-install triggers in debconf for ufw on ubuntu for example already do this. It all depends on the packaging.) But as the author points out, not everyone is keen on hitting the terminal, but that has been a problem (or rather a business opportunity) for long enough that there are solid, uncomplicated and perhaps way more convenient (and eco-friendly) ways to achieve what the author is thinking of accomplishing. One thing that comes to mind is the amazing Synology products. In fact, they implement the exact vision of the author: Run your software on your NAS, and have a dynamic DNS graciously provided by synology to access it. E-mail server, file sharing, photos app, even photo recognition, and a plethora of other stuff. You can even run VMs or Docker on it ! And all within the synology appstore (with some magic nat traversal I presume because it does not need any port forwarding) And that is just one example of something I've seen and witnessed to work very well and reliably too. I guess what I'm saying is, the author's vision is shared amongst a lot of people and there may even be commercial solutions out there that implement it. But I would for sure love to see an open-source attempt. In fact, I think there's already one that I'm just not aware of.
- ibudiallo 7y agoThis is a really cool idea. In fact, I was thinking about it but in the form of a PC [1]. Most desktop computers today are a magnitude more powerful then the small VMs we rent on the cloud. While you go on with your day, your desktop computer can be put to work in Your service. [1]: https://idiallo.com/blog/bringing-back-the-pc https://idiallo.com/blog/bringing-back-the-pc
- matlin 7y agoI'm trying to create EXACTLY this with my latest project (https://www.aspen.cloud https://www.aspen.cloud) and it is challenging to find the right balance between ease of use and decentralization. The path we're taking is a service that you can pay for and we provide everything you need or you host it yourself. Because sometimes letting experts manage your system is more reliable and you can avoid getting the hug of death like this site! The idea of owning your personal computer in the cloud with instant, always updating apps completely in your control seems inevitable but making something easy for anyone to use will take time. That's why we're focusing on the developer experience to make it simple and cheap to make apps in this new paradigm while shaping the experience for the end user so it does ultimately feel as simple as using the App Store.
- Iolaum 7y agoWould you consider open sourcing it in the future? If not the hosted option not only competes with products such as GSuite but it 'll be hard to get adoption from the self hosted crowd.
- matlin 7y agoThat's the plan! We are building it in a way that you also means you don't have to decide to do just self-host or pay for the service. You could use both and have one as the failover. I.e. primarily use the hosted version but if you're internet goes out you are now working on your LAN to a computer you have in the other room.
- jonplackett 7y agoThis is a neat idea. Am I right in the inking that even if a big tech company did this it could still be good. Because they are just providing the ‘device’ like Apple do now. I guess they would still have power over what you could / could not install though.
- llarsson 7y agoI get wanting to be serverless, but hosting the static parts using S3 and doing clever database things using Lambda and DynamoDB also achieves that goal, while surviving the hug of death.
- ldoughty 7y agoDynamo DB does not survive the hug of death unless configured to do so and can be very expensive if you don't design the data access pattern will. The author is trying to stick to free tier, so if it's set to the max (5 records/sec), and no caching, it probably can only handle 1 visitor every 2 seconds after the bucket of 1500 read tokens is used up. If it's doing scans at all, the DB will be shot in seconds. Really need CloudFront in front of something like this to survive and lighten the DB access
- Iolaum 7y agoI 've been using nextcloudpi on an rpi for 3 years to achieve most of what the author describes. It's been awesome and I d suggest people give it a try.
- rakoo 7y agoThere are already multiple implementations of this: - nextcloud (https://nextcloud.com/ https://nextcloud.com/), more like a "dropbox-like" with added applications - sandstorm (https://sandstorm.io/ https://sandstorm.io/), with a high focus on security - yunohost (https://yunohost.org/#/ https://yunohost.org/#/), a full-on debian distribution with all the scaffolding to one-click install known applications (mail server, file storage, IM server and client, ...). All linux software can be used as an "app". The process to make it into an app is the same as creating a package for a distribution, except specifically for this one. The good thing is that installation is way easier than using a package manager and configuring the database for the user, etc... It seems to be the most in line with the author's vision.
- jvalleroy 7y agoThere's also FreedomBox (https://freedombox.org/ https://freedombox.org/), which is part of / released with Debian.
- indigodaddy 7y agoA little bit more roll-your-own, but there's also Turnkey LXC: https://www.turnkeylinux.org/lxc https://www.turnkeylinux.org/lxc
- nebulon 7y agoThis is great to see and is pretty much the same reason why we have initially started with Cloudron [1]. There are not many technical reasons why running your own apps on the server has to be harder than using a phone. There are tons of great apps already out there and from my perspective the biggest issue, as mentioned in the blog post, is the onboarding and ease of installation/maintenance of those apps including the server itself. The building blocks are all available but as a complete solution hard to use, unless one is a kind of a sysamdmin. This makes it just very exclusive. If you ever tried to setup your own email server there is so much crud work to be done and things to be learned. Learning about this is as such a great opportunity to understand the underlying technology and how things work together, but it is also a huge barrier. 1. https://cloudron.io https://cloudron.io
- zufallsheld 7y agoI tried cloudron recently and the experience was pretty smooth. However the 30$/month price tag put me off. Yunohost offers the same (please correct me, if cloudron has features yunohost doesn't have) for free, and it's hard to compete with free.
- anderspitman 7y agoAgreed the price is steep but it's probably good they're focusing on profitablity. IMO what killed sandstorm.io is the lack of resources to keep apps integrated and updated. It's awesome tech but just didn't hit critical mass.
- dsr_ 7y agoThe problem is in the details. When openssl has a bug, who notices, decides, installs the new package and restarts all the dependent services? That person or group has the actual control over your personal cloud server. And it's more efficient, and thus cheaper, if they are a large scale organization. Once again it will be more attractive to most people to centralize.
- purplezooey 7y agoWouldn't my server have to run on ARM in this case.
- 2038AD 7y agoThis seems more like the Urbit "personal server" idea than the cloud replacement for a phone I expected tbh
- tjoff 7y agoThought this was going to be more literally. A phone-virtual-machine, for stuff like your robot vacuum cleaner to keep it from infesting your real phone and spy on you.
- herf 7y agoBut is there an alternative to iCloud backup or to photostream/photos? Even Dropbox does not backup my photos unless I run it and wait.
- dboreham 7y agoI've been thinking about and working on the same problem for a while. My conclusion is that this has to be done with a physical device of some kind over which the user has physical control. Otherwise whoever provides the personal cloud servers ends up being the centralized lock-in element in the system.
- elagost 7y agoSo... VDI, but for Phones? VPI? Seems like a cool idea worth some effort to streamline. These days, it's fairly inexpensive to get a home server, set up a VPN server, and run stuff like a web browser through RDP. Guacamole (https://guacamole.apache.org/ https://guacamole.apache.org/) makes desktop apps through a web browser even simpler. Again, setting all this up is more than trivial, but I believe it's something that could be a "one-click app" for a VPS. See https://marketplace.digitalocean.com/ https://marketplace.digitalocean.com/
- barry27 7y ago"Phones today are phenomenal, but are necessarily handicapped by virtue of 1) intermittent connectivity and 2) being a slave to low power consumption. A PCC is always up and holds no such power requirements." and can always be accessed by my phone which is somehow magically not bedevilled by intermittent connectivity in this scenario.