csdojo-defaang / defaang

A website that will curate recently-asked interview questions from FAANG+. Currently inactive. Check out: https://github.com/ykdojo/OpenStream
MIT License
505 stars 119 forks source link

[DX] Look into Railway as a potential DB & backend solution #316

Open ykdojo opened 1 year ago

ykdojo commented 1 year ago

Description

Related: #243, #300

mamonraab commented 1 year ago

after looking in it pricing , i see it costly https://railway.app/pricing

if only looking for db and management not issue , can use any vps and will cost less

but if management is something you don't have time to do , the options will be less

also , i can help with servers managements

ykdojo commented 1 year ago

I don't understand some of the sentences. Do you mind rephrasing them so they're easier to understand?

mamonraab commented 1 year ago

the cost (cpu and ram ) per $$ is higher than .. getting your own (vps server ) or using firebase

example for usage of 1 CPU , 3 GB RAM .. using postgresql that will cost you about 43$ per month (Railway)

while if use AWS and get your own EC2 ( you have to manage it) the cost of 2 cpu with 4GB RAM with 100GB storage is 26$

while if you going to get VPS from DC you can have a vps with 1cpu and 2GB with about 5$ /month from OVH ( you need to install and mange the server )

if you going to go for firebase , the calculation is very different and can be less based on your design and usage ( but less then Railway )