R
Railway4mo ago
kugyan

Building & Deploying

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