Building & Deploying
Is there a way to make builds & deployments faster (Discord Bot with Sharding)?
31 Replies
Project ID:
d6849aa9-bf53-4fdc-be6a-7dcdc5297543
install less stuff? how long are we talking?
I will tell you when it stops-
But like around 5 minutes to just build
it's at 4 minutes and it's deploying, it's done building
Oh.
how big in the image? check the build logs
Well idk what that means, I just know it takes like 7 to start deploying the shards-
The time?
49.22s
to build
that's good, but how big is the image that's built?
I have no idea, is it in logs?
yes it would be printed in the build logs, with all the progress bars
Is this it?
transferring context: 350.16kB 0.0s done
OH
Reloaded the page
It's 1.24GB
Finished at 9:24 then status changed to ACTIVE
1.24GB was the biggest number you saw?
It said
Pushing [======================================> ] 945.5MB/1.243GB a1cdf979c7e0
My bad, forgot the 3
.243yeah something is going on, I just did a deployment that built a 6mb image and took 14 seconds to build, but took 6 minutes from push to active
Alright, thank you.
Also-
Was there an issue with y'all at day 11?
(I don't work for railway)
Oh-
Sorry.
there nothing reported at least, what time does your schedule run at?
Midnight
00:00
Also, about the deploying shards thing, you think It would be a good idea if I used replicas with a cluster of shards in each?
that would be quite the popular time to use, maybe try 1am or 11pm if this isn't time sensitive?
I just changed to 3, do you think that's good?
yes, I'm not saying that it's for sure scheduler overload, but it has been suggested by the team on similar occasions
:salute: Thank you.
as for the slow deploys, has that always been the case?
Well kinda.
Not so slow like now
It took almost 10 mins
But normally takes like 5 till shards start spawning
Is that normal?
definitely not
So uh, what should I do?
i dont quite know