Fragly
Explore posts from serversCDCloudflare Developers
•Created by Fragly on 1/14/2024 in #general-help
Cloudflare slows down my website
I'm running a silly little expressjs server on a laptop in South Africa
The website has about 3ms response time from my computer 5 feet away from laptop normally, but when I proxy through cloudflare then I suddenly get 500ms to 900ms delay. From what I can tell it also routes my website through London instead of a server in South Africa, but even then 500-900 ms delay seems unreasonable
Anyone have any clue what's causing this?
14 replies
Explain App Sleeping
I'm super confused on how app sleeping works
from how I understand, your app will be put to sleep if inactive, but how does railway know when to restart it?
I'm assuming if a request is made to the URL then the app is woken up but what about apps that don't use URLs, like discord bots?
26 replies
using multiple ports in Railway service
I have a project that uses both express.js and websockets, I assume they should use different ports, but as I understand- you can only use the port railway gives you. Can I only use one port per service? Meaning I'd have to pick between websockets and REST APIs?
10 replies
Clarification on rules
I have a discord bot, and I want to add voice commands, text to speech and speech to text
I saw someone be banned the other day for having a discord music bot on railway because it uses too much data
would it be fine for the context I'm using it for?
10 replies
db file not carrying over to new deployment
i'm using better-sqlite3
it seems that the db file is just falling back to the last save I had before hosting on railway every time I make a new deployment
but all updates made in the current deployment stays, just resets when I redeploy
14 replies
12 GB Ram Usage [ SOLVED ]
I'm hoping this is just a bug but I just want to make sure..
it's been about 1 hour since I deployed a simple discord bot that just sends images ( through URLs ) from a site
doesn't do much else and my memory usage is just under 12 gb, every time I check back it' increases..
19 replies