R
Railway13mo ago
vek

Railway Usage

I’m currently on the free plan and I seem to be burning through the usage and my site isn’t even at peak usage. I was planning on buying pro but I am still concerned about that fact thst I will burn through my usage rate too quickly. Do you guys have any advice on how to lessen my usage right or make it go down slower without affecting performance (I am using cloudflsre csn and the primary things that are being used are CPU and Egress
28 Replies
Percy
Percy13mo ago
Project ID: N/A
Brody
Brody13mo ago
what kind of app are you running?
vek
vekOP13mo ago
i am running a nodejs and ejs site (project id is: c99e278b-59e9-493e-9bf7-377402ff11f1 and url is https://colorhub.art)
Brody
Brody13mo ago
whats your current memeory usage look like?
vek
vekOP13mo ago
i think i have not used any of my memory
Brody
Brody13mo ago
everything uses memory
vek
vekOP13mo ago
actually very little
Brody
Brody13mo ago
where are your costs coming from then?
vek
vekOP13mo ago
like over 3 times less then the cpu and agress cpu and egress
Brody
Brody13mo ago
whats your avg cpu usage?
vek
vekOP13mo ago
CPU 901.02 minutely vCPU $0.000463 / vCPU / Minute $0.4171 Egress 3.15 total GB $0.10 / GB $0.3148
Brody
Brody13mo ago
how long have you been running this site for?
vek
vekOP13mo ago
only like 3 days but its very low usage as i shut it down for a bit so this is not a reliable estimate
Brody
Brody13mo ago
when did you sign up on the trial plan?
vek
vekOP13mo ago
i believe november 7th (i created my acc then) and i hosted it on railway as soon as i joined
Brody
Brody13mo ago
and how much credit do you have left?
vek
vekOP13mo ago
4.16 dollars at this current rate i believe the pro plan may be suitable but as the site gets more traffic i dont believe it will be enough and i dont want to spend more money if possible
Brody
Brody13mo ago
thats less than a dollar for 3 days, for a node app, i dont see any issues with that do you have a client base?
vek
vekOP13mo ago
but wont my usage rates go up a ton as i get more traffic as my traffic right now is extremely minimal no im 14 lol i jus run it off my own money
Brody
Brody13mo ago
of course, but unless you have written extremely inefficient code, i would not say that your usage would "go up a ton" just get the hobby plan, you dont need the pro plan
vek
vekOP13mo ago
isnt usage rate determined by the amount of hours spent on the site or smthing or the features used so logically wouldnt the usage rates increase proportionelty the more ppl use the site?
Brody
Brody13mo ago
railway charges for resource usage, not visitors or anything like that, but still resource usage would of course increase with more users, generally i wouldn’t say its proportal by any means
vek
vekOP13mo ago
do you have any advice on things that could decrease my egress and cpu usage? like in general
Brody
Brody13mo ago
do you have any advice on things that could decrease cpu usage?
it may seem like a lame answer, write efficient code
do you have any advice on things that could decrease my egress usage?
theres not a whole lot you can do about egress, but to eliminate egress costs on your database service, make sure you connect to it using the private url (if you even are using a database)
vek
vekOP13mo ago
alr - for cpu what r things i should avoid doing though
Brody
Brody13mo ago
ive outlined some things for you to look into, but unfortunately theres not much more i can help you with, these threads are more for help with railway but this thread is starting to get a bit off topic
vek
vekOP13mo ago
alr ty for ur help
Brody
Brody13mo ago
have a nice day / night
Want results from more Discord servers?
Add your server