Vasanth Srivatsa
Vasanth Srivatsa
RRailway
Created by Vasanth Srivatsa on 12/6/2023 in #✋|help
How to set minimum RAM & CPU for a single instance?
I'll be running some further test to determine what could be the underlying issue and get back to you by either closing the ticket, with my results posted. Or ask further questions. Thank you 🙂
25 replies
RRailway
Created by Vasanth Srivatsa on 12/6/2023 in #✋|help
How to set minimum RAM & CPU for a single instance?
Interesting 🤔
25 replies
RRailway
Created by Vasanth Srivatsa on 12/6/2023 in #✋|help
How to set minimum RAM & CPU for a single instance?
Yup, we know that could become a problem and we changed it 👍 The command we use right now in both Heroku & Railway is 👇
gunicorn --worker-class gevent --workers 4 --timeout 3600 app:app
gunicorn --worker-class gevent --workers 4 --timeout 3600 app:app
25 replies
RRailway
Created by Vasanth Srivatsa on 12/6/2023 in #✋|help
How to set minimum RAM & CPU for a single instance?
your app is fee to use as little or as much of the plans resources it wants at any given time
Ah! I see. That means my app already has 8GB memory if it wants to use right? Then I wonder how come it's slow on Railway being near to the database and faster in Heroku being farther from the database 😂
25 replies
RRailway
Created by Vasanth Srivatsa on 12/6/2023 in #✋|help
How to set minimum RAM & CPU for a single instance?
Because right now, on Heroku we've got 4GB RAM and our Python based recommendation engine is working fine even after it's really far from database's physical location. In fact, Railway offers the same physical location to our database provider, but still Gunicorn kills the workers threads frequently and the whole performance is really slow.
25 replies
RRailway
Created by Vasanth Srivatsa on 12/6/2023 in #✋|help
How to set minimum RAM & CPU for a single instance?
I totally understand that, what I'm trying to figure out is how Railway determines what is required for my app 😅 Like does it happen by the number of HTTP requests we're getting?
25 replies
RRailway
Created by Vasanth Srivatsa on 12/6/2023 in #✋|help
How to set minimum RAM & CPU for a single instance?
This engine is running too slow in Railway, when we tried to migrate yesterday night (Indian Standard Time)
25 replies
RRailway
Created by Vasanth Srivatsa on 12/6/2023 in #✋|help
How to set minimum RAM & CPU for a single instance?
So, it may look like we're idling from an HTTP requests standpoint, but the server would be performing internal calculations (running a recommendation engine written in Python + SQLAlchemy).
25 replies
RRailway
Created by Vasanth Srivatsa on 12/6/2023 in #✋|help
How to set minimum RAM & CPU for a single instance?
So, our service is a Flask based WhatsApp chatbot that recommends people to each other. So, the CPU & RAM usage doesn't directly co-relate to the number of HTTP requests we'll be getting. As these requests won't be from real people, but rather from WhatsApp webhooks.
25 replies
RRailway
Created by Vasanth Srivatsa on 12/6/2023 in #✋|help
How to set minimum RAM & CPU for a single instance?
So, I'm looking on how to scale it to match the performance of what we already have.
25 replies
RRailway
Created by Vasanth Srivatsa on 12/6/2023 in #✋|help
How to set minimum RAM & CPU for a single instance?
In Railway each Gunicorn worker is getting less resources, compared to earlier is what I'm trying to say...
25 replies
RRailway
Created by Vasanth Srivatsa on 12/6/2023 in #✋|help
How to set minimum RAM & CPU for a single instance?
Two questions here: 1. We are using Heroku at the moment and looking forward to entirely ditching Heroku in favor of Railway, but our services seem to be running at lower memory available (while they're not handling any web requests) than compared to Heroku on a per instance basis. Is there a way we can set minimum memory & CPU below which it doesn't scale down, even if there's not traffic?
25 replies
RRailway
Created by Vasanth Srivatsa on 12/6/2023 in #✋|help
How to set minimum RAM & CPU for a single instance?
da795de3-9cd9-4c8e-88e9-b39a4e8028af
25 replies
RRailway
Created by Vasanth Srivatsa on 9/6/2022 in #✋|help
Radicale server requires persistent storage. But how? 🤔
Doing that right now
9 replies
RRailway
Created by Vasanth Srivatsa on 9/6/2022 in #✋|help
Radicale server requires persistent storage. But how? 🤔
Unfortunately Radicale doesn't support any database storage 🤷‍♂️
9 replies
RRailway
Created by Vasanth Srivatsa on 9/6/2022 in #✋|help
Radicale server requires persistent storage. But how? 🤔
As Radicale is an open-source project maintained by the community. So, at the moment there's no way we can host this on Railway.app? 🤔 PS: I'm really new to the platform so kindly guide me here.
9 replies
RRailway
Created by Vasanth Srivatsa on 9/5/2022 in #✋|help
Help in using a private theme for Ghost blog
Thank you so much 😀
7 replies