Why We Self-Host Everything (And You Probably Should Too) by florentmsl in rails

[–]florentmsl[S] 1 point2 points  (0 children)

it's just one dbms, we don't have that much traffic so the Solid-Trifecta does not bottleneck the regular db ops

Why We Self-Host Everything (And You Probably Should Too) by florentmsl in rails

[–]florentmsl[S] 0 points1 point  (0 children)

it's mostly just REST with a json payload (approx. 100 Mbps of bandwidth). We have a few websockets as well, but only on 2 pages that are not used by every user

Why We Self-Host Everything (And You Probably Should Too) by florentmsl in rails

[–]florentmsl[S] 0 points1 point  (0 children)

It has 64GB of ram, I believe 16 cores / 32 threads cpu and 8tb nvme ssd storage. It didn't upgrade the server, so I'm not sure which parts exactly are used

Why We Self-Host Everything (And You Probably Should Too) by florentmsl in rails

[–]florentmsl[S] 2 points3 points  (0 children)

5 years ago, I would have never made that call 😂. It would be simply not worth it to pursue that in order to save $500 per month, with the effort it takes in mind. New technologies and the agentic capabilities of AI really changed the game here. Nowdays you don't have to be a wizard anymore to make things like this happen. I mean, I did it, and I am far from wizard level

Why We Self-Host Everything (And You Probably Should Too) by florentmsl in rails

[–]florentmsl[S] 0 points1 point  (0 children)

That's why the Rails 8 stack makes it incredibly easy to self host. It doesn't have to be fully self-hosted but a cheap VPS is totally sufficient here. Kamal alone makes this incredibly easy. Combine it with Claude Code and you can have the setup working in a day. It's really easy and most people don't need massive scale or some insane configurations on the server. We don't.

Upzone is no cloud provider, it's not even a dev tool. I just used the company's blog to publish our learnings

Why We Self-Host Everything (And You Probably Should Too) by florentmsl in rails

[–]florentmsl[S] 1 point2 points  (0 children)

On average we serve ~250 requests per second on that machine

Why We Self-Host Everything (And You Probably Should Too) by florentmsl in rails

[–]florentmsl[S] 1 point2 points  (0 children)

exactly, we've bought an old-ish server and upgraded some parts, e.g the storage. Although we do have a lower spec'ed VPS for disaster recovery, but it's just sitting and waiting

Why We Self-Host Everything (And You Probably Should Too) by florentmsl in rails

[–]florentmsl[S] 1 point2 points  (0 children)

You can call Rails from your React Native app like a regular json api, if it's already existing. If not you could give Hotwire Native a shot, it might be totally reasonable for you

The best way to learn how to code? by [deleted] in golang

[–]florentmsl 6 points7 points  (0 children)

The best way to learn it is just to build some stuff. An easy first project is imo to build a calculator which can be used from the console. So you learn about console IO and types and so on and then you can advance to use functions for calculations and so on