menu

Flyio

Talk about Fly.io's product Global Application Platform - Support and operational questions should go to [email protected]

Channels
Team

What's happening during the "optimizing image" phase and how can I optimize it?

May 29, 2020 at 3:29am

What's happening during the "optimizing image" phase and how can I optimize it?

May 29, 2020 at 3:29am
This is easily the longest part of my deploy. I'm unsure if there's an inherent wait here or if I should try to figure out if I accidentally did something to make my image too large. Thanks

May 29, 2020 at 3:35am
specifically in "building fs"
  • reply
  • like
Related: what are the units in the following? "deployment-1590724047: digest: sha256:a0325dafbf3d5f3f5e210b907d887b2dc5be7b17b49c04bad5021a9777555579 size: 2850 "
  • reply
  • like
That’s when it’s downloading your image layers and flattening them into the rootfs we launch. It’s slowness is squarely on us, we haven’t optimized the optimizing step yet 😄
  • reply
  • like
the size printed there is the size of the manifest file, not the actual image. That’s not very useful
  • reply
  • like
we should remove it
  • reply
  • like
okay, that's all helpful! FWIW my image layers should be generally pretty common, so this seems optimizable. It's not a giant pain, but I would love to see a speedup here. Would definitely up the magic factor.
  • reply
  • like
thank you
  • reply
  • like
Yeah there’s lots of room to improve.
  • reply
  • like
private
This channel has been archived