(Note: people, this is just my opinion, possibly overexcited and incorrect. Discuss cordially with me if you think Iâm wrong đ. Iâm on Twitter @SpeedTestDemon or email list at the blog. And by the way, Iâm not affiliated with Mighty App whatsoever. I donât know anybody who works there).
There was this big commotion on Twitter and the news media that Mighty App was just a glorified Desktop-in-the-cloud, and âwhy would anyone in the world pay for $30/month for thisâ. And noticeably Paul Graham on Twitter tweeting many supporting tweets, including a â Thereâs a good chance itâs the new default infrastructure â
For those who donât know Mighty App, itâs a service where a datacenter runs Chrome (Chromium?) and is streamed to the userâs computer. Advertised benefits are multi-day battery life and a better browser experience.
While I personally was not 100% skeptical, I wasnât 100% convinced either.
But then I had this epiphany while testing CDN speeds. I finally realized what could make Mighty App work.
Itâs like getting a VIP pass in Disneyland with short lines. Itâs like a toll road with almost no traffic. Itâs like TSA pre-check line with few people.
What am I talking about?
It seems the main focus of all the Mighty App skeptics is they think Mighty is simply a faster computer hosted in the data center. You know: a faster CPU, more RAM, faster disk (NVMe?). And, the skeptics say, why would you pay $30/month for a faster computer when you could just shell out $1000 for a computer that lasts a few years?
The thing is, Mighty Appâs performance gains are NOT just about âa faster computerâ. If it were really just about âfaster hardwareâ, Iâd agree with the skeptics.
HoweverâŚâŚwhile those things are nice, and certainly help, what everybody is missing is the internet speed in a data center is much faster than you could ever hope to buy at home.
The thing is that you simply cannot buy a âfaster internetâ. The fastest internet you could possibly buy, apparently, is Google Fiber. They advertise âmax speed of 2000 Mbpsâ, but according to â highspeedinternet.comâ, they only have a slightly higher average download speed of 160.5 Mbps, and an average upload speed of 173.6 Mbps. Seems fast, right? And itâs fiber optic too!
Except if you run an internet speed test on a DigitalOcean VM, which I did while speed testing CDNs, itâs a whopping 1740 Mbps! Upload speed was 1420 Mbps.
What the hell! 1740 Mbps? You simply cannot buy that kind of internet unless youâre Tony Stark on a buying binge with no regard for cost. It is simply not commercially available.
Do you guys realize how crazy that 1740 Mbps number is? Itâs 10x faster than the Google Fiber number of 160 Mbps. 10x faster.
Wait a second. Does this mean files will download 10x faster? Really? Let me check.
The Test
I test downloading a file from CloudFrontâŚand the DigitalOcean VM downloaded the file in just 22 milliseconds. Seriously! While my home computer downloaded it usually around 300 milliseconds.
Thatâs right. 300 milliseconds vs 22 milliseconds. More than 10x speedup. Holy cow.
And you can easily reproduce the results yourself. Hereâs a CloudFront URL you can use from your home computer vs DigitalOcean VM: https://d20zaq59cm4c4j.cloudfront.net/wp-content/uploads/2021/05/cf.png and hereâs a tutorial on curl performance testing.
When I saw that 10x speedup show up in the terminal, was the moment I had the epiphany that Mighty App is really on to something.
How did DigitalOcean do that? Turns out itâs not just fiber optic cables. Cloud providers like DigitalOcean can have something called âpeeringâ, which is much faster than usual internet connections. As a very simplified summary: âpeeringâ is like running a cable between your computer and the server, while normal internet connections rely on many intermediate routers. In other words, itâs like getting in the special VIP line at Disneyland. They have a special line so that the data travels faster.
Do you think you can buy that at home? How are you going to get peering connections with the popular CDNs or services like Netflix? It is not simple to replicate that internet access.
So, thatâs what I mean when I say the Mighty App is like a VIP pass to the internet. They literally have special access to the most popular CDNs and data centers.
And thatâs just the beginning. Thereâs so many mind-boggling performance hacks that Mighty App can do.
- Cache common internet pages so every userâs browser simply reads from disk instead of downloading from the internet?
- Buy ASICs (custom hardware) for TLS encryption. This is probably a 10% speedup by itself and is extremely expensive hardware.
- Heck, design a custom ASIC for JS? LOL.
Rebuttals
But SpeedTestDemon, you still have to account for the time it takes to stream a frame over! Answer: the good news is no matter how large the web app is, youâre only streaming that frame, while the web app is speedily downloaded (or cached!).
But SpeedTestDemon, 1 Gbps is going to be more and more available! Answer: I already talked about this. Even if you had Google Fiber, which advertised 2 Gbps max speed, you still only had an average download of 160 Mbps. Even if everybody in the world got Google Fiber, chances are pretty good youâre never going to get the âpeeringâ agreements that data centers have unless youâre Tony Stark and decide to buy your own data center.
But SpeedTestDemon, mightyapp.com tech specs advertise only âover 1 Gbpsâ, not 1740 Mbps! Answer: That may be true for now. My bet is if DigitalOcean could make it work, then so can Mighty.
But SpeedTestDemon, I want to say something you didnât point out here! Fine, drop me an angry comment on this Twitter thread I wrote for this article. I promise to at least read it đ.