R
Railway9mo ago
kugyan

Building & Deploying

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