R
Railway10mo ago
kugyan

Building & Deploying

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