bmariano
bmariano
Explore posts from servers
RRailway
Created by bmariano on 9/23/2024 in #✋|help
After ~500 requests project timeouts in every request (kinda urgent).
Hi, I have a Strapi-Postgres project. After ~500 requests, to generate individual static pages for each entry with Next.js, I cannot access the project anymore, every request timeouts. It shows both Strapi and Postgres as active deployments, but they don't respond I tried redeploying / restarting https://fda-strapi.up.railway.app
53 replies
RRailway
Created by bmariano on 9/11/2024 in #✋|help
How to organize my projects to optimize costs
Hi, I'd like to know what would be better to optimize costs in Railway since I'm paying around $40 per month, I don't see that as a lot but well, if I can reduce it, better then. I have 15 projects. Each one named with the name of the company, and inside it has a Postgres database and a Strapi CMS connected to it. These receive around 150k requests per month. 2 GB of ram should be enough (I think, lol) to handle that amount of requests (and usage in general), but around 10k requests per month is enough make a single project use 750 MB - 1.25GB of RAM, so I have 15 projects using ~1GB of RAM, which is expensive. I'd like to ask if it'd be cheaper to create a single project, put there a single Postgres Database (using different schemas for each project), and put the 15 Strapi Admins there, connected to it. Is there any catch-ups for this implementation or something I should know? If there isn't a clear response to this, and it's something I should try out, let me know! Thanks!
39 replies
RRailway
Created by bmariano on 5/24/2024 in #✋|help
Is private networking faster than using the normal database url in the same environment/region?
Quick question here, if I'm using the database in the same environment the application is, or in the same region with a different database provider, what's faster in terms of speed/performance, private networking or the normal database url in the same environment/region?
5 replies
RRailway
Created by bmariano on 11/20/2023 in #✋|help
Huge difference between Railway and Neon.tech postgres response times
Hi, I have a question. I have 6 strapi admins deployed to Railway. When I use a Postgres db deployed to railway I'm having, at least, 3x faster response times for each request, than the Neon.tech postgres db, which takes longer. Railway is running in us-west1, and so does Neon.tech, so where does this huge difference come from?
4 replies
RRailway
Created by bmariano on 6/5/2023 in #✋|help
My estimated bill is tripling every two days and falling back to 0 again.
Hi, i need help, i'm not getting answers either from mail or from the message sent from the platform. My estimated bill is jumping from $12, to $40, then it reset and went back to $0 two days after billing, and now $40 again. No usage spikes. On june 1 i paid the last month bill of $12. Since then, for two days i had an estimated bill of $40. Then, the usage reset to $0, it was normal until today, where the estimated bill jumped again to $35. There was no increase in the use of resources.
5 replies
RRailway
Created by bmariano on 5/31/2023 in #✋|help
Estimated bill tripled after monthly payment
Hey, i have a question. Today i paid the last month bill. Suddenly, the estimated bill triplied. No services added. Last month $12, and now $37. Isn't an usage thing because it went up in all projects. What's going on here?
7 replies
RRailway
Created by bmariano on 5/28/2023 in #✋|help
How to redirect www to root domain?
I deployed a nextjs app, it has a root domain pointing to it, i added the record: "example.com ALIAS ...railway.url" To avoid adding multiple domains, i tried to redirect www to the root domain with "www CNAME example.com" The problem is that it seems it is not being redirected, i have an invalid ssl certificate error in the www domain, what record do i have to configure? I even checked the dns propagation of www and it is correct You can check this out with: - https://avanceautomotores.com.ar - https://www.avanceautomotores.com.ar Thanks in advance
7 replies
RRailway
Created by bmariano on 4/30/2023 in #✋|help
Multiple Projects, single database?
Hey, i have like 10 projects that all of them requires a database. Can i use a single mysql database instance for all of them? Can i just change the database at the end of the url of the instance? These projects require a really little usage per month, it'd be a waste to deploy a single instance per project, example: mysql://user:[email protected]:3306/project1 mysql://user:[email protected]:3306/project2
14 replies