Hobby plan so slow with simple django app, is it normal ?
yamatongh
HOBBYOP

2 years ago

Hello I'm new to railway and I got my project running, but damm, it is so so so slow, at least 30 seconds at least to render a page… on a 8Go Ram ?
More than 2mn on trying to add a user on django admin….
Is there something wrong in my config ?
Is that normal time ?
How to improve ?
Thanks

Solved

8 Replies

yamatongh
HOBBYOP

2 years ago

31 sec for css style not found
34 sec for an image not found

when I inspect chrome debugguer…


2 years ago

This is certainly not normal, does it load fine when you run it locally?


yamatongh
HOBBYOP

2 years ago

yes


yamatongh
HOBBYOP

2 years ago

admin/

waiting for server answer : 32sec


yamatongh
HOBBYOP

2 years ago

just for information, I played with some css and checked if there were added to git… and now response time seems ok, excepted for the admin side, will continue investigations


2 years ago

yeah this is an issue with your app / your config, make sure you are running your app with gunicorn, and don't have any heavy middleware loaded


yamatongh
HOBBYOP

2 years ago

I got a lot of problems today, was running then not, etc
I finally removed the djangobrowserreload package from my app after I observed the page trying always to refresh…
and it seems ok now !


Status changed to Solved Railway about 2 years ago


2 years ago

heavy middleware loaded

yep django_browser_reload would do it


Loading...