Re:Ask HN: Successful one-person online businesses?
by anyfactor on Monday March 27, 2023 @10:32PM
(#35335105)
Thank you very much. The only thing I can think of while reading your comment was, "wow this is elegant."
Have you consideres productize/templatize this stack and selling some kind license/supporting deal? Although a more marketable solution will be a redis + node based stack.
Re:Ask HN: Successful one-person online businesses?
by jarebear6expepj on Monday March 27, 2023 @10:52PM
(#35335271)
> "wow this is elegant."
> Have you consideres productize/templatize this stack and selling some kind
> license/supporting deal
uhhh it's really just a basic install of freebsd and a bunch of shell scripts! As far as I'm concerned anyone with a bit of time could google fu themselves in to production.
I am always happy to, and have, contracted to build similar setups for other people for CDN delivery, etc, but that was just another day in the life of a sysadmin basically.
Email in profile if you have any other questions.
Re:Ask HN: Successful one-person online businesses?
by anyfactor on Wednesday March 29, 2023 @12:07AM
(#35352374)
Thank you very much for the inspiration. I appreciate your insights.
Re:Ask HN: Successful one-person online businesses?
by batmaniam on Monday March 27, 2023 @11:55PM
(#35335716)
Did you use a dedicated database from the start of your project? Or did you use a simpler one like sqlite and then scaled up to your current architecture when you got more users/load to your site?
Re:Ask HN: Successful one-person online businesses?
by jarebear6expepj on Tuesday March 28, 2023 @03:02PM
(#35346165)
I started with MySQL from the beginning because it is the DB engine I knew.
Over the years I have played with sqlite and postgress. I keep coming back to Mariadb for my web apps.
I don't know... from what I've used of Python it is pretty memory heavy and doesn't do well left alone unsupervised. I could be wrong but that was my experience trying various Py web frameworks.
My app servers were all $5 VPS with only nginx, PHP/php-fpm, and Memcached. PHP was cached, nginx assets were cached, and data was cached in RAM with Memcached which was updated from remote DB server on cache expire.
I would then stack as many of those behind a load balancer as needed (nginx as reverse proxy basically) and scaled up to serving 100's of terabytes of data monthly and billions of page views.
So while it was "$5 VPS" it was really a small cloud of them behind another $5 vps as a load balancer with a $25 database server supporting the data. Still cheaper than Amazon for equivalent loads.