by anderspitman · 3y ago · 0 comments
Also, if you're looking for similar tools to pinggy, I maintain a list here[1].
Q: "How will it handle scaling to millions of users?"
A: "By crashing. But it will handle 100s or maybe even 1000s, and you currently have 3, so chill."
If your 3 users cannot read your blog then good luck getting to 10 users.
Imagine a distributed social network where updates come via email. Updates are identified by the email client (or other) and automatically sent to whatever program needs to process them. You end up with a local copy of everyones stuff that is kept for a period of time.
At that point I'm not sure if it's functionally different to syncing markdown files to something like S3 or GitHub pages.
In practice this works only for trivial apps, that have no dynamic content, don't serve large files, don't see a lot of traffic, doesn't come from all over the world (each PoP has a separate cache), etc. CDN caching is opportunistic, most services assume server-grade hardware at the origin that can take some "warmup" load on its own.
Also if you're introducing a third-party CDN/cache, you're already throwing away a whole bunch of reasons for self-hosting in the first place.
So something exactly like a blog then.
Make websites not apps.
I think I'll pass.
As an alternative to paying a subscription fee for some service, you could instead just have your hardware do enough compute/storage to offset your usage.
What if you lose connectivity? What if you run out of battery? What if your phone breaks for some reason?
For a blog I really don't see the advantage compared to a free static host.