![]() The below chart shows GitHub Actions VM pools jobs reimage performance between Ephemeral and Non-Ephemeral (in seconds). ![]() – Chad Kimes, Staff Software Engineer, GitHub “We saw our target machine count reduce by 15-20%.” This also helped in reducing the VM pools size. The average end-to-end time was reduced by 50% after replacing “deleting a VM, recreating it and then run custom extension scripts” with “Ephemeral OS disks Reimage”. The reimage would replace the old OS disk with a new OS disk, and optionally resets the Temp disk contents (if this is included as a parameter) and you would retain, Ephemeral OS disks reimage for VM or reimage for VMSS is equivalent to deleting and re-creating a VM of the same config. It is highly efficient and reliable (99.99%). Reimage can be performed on a single instance VM or VMSS using Ephemeral OS disks. When recreating a VM the corresponding OS caches would be deleted, and that impacted the read IOPS. They needed a reliable and efficient solution to get the VMs faster. For a job that runs no more than 5 mins spending more than 2 mins on setup is an expensive affair. It takes ~2 mins to delete a VM, recreate it, and then run custom extension scripts to get the VM ready for use. These jobs would not take more than 5 mins to complete. GitHub has lots of customers doing very short jobs like updating issues, simple Cron jobs and more. To support this at scale as of January 2022, GitHub Actions would have had to delete and recreate more than 7 million VMs per day. GitHub Actions must always provide a clean VM for each job. Users can build, test, and deploy their code right from GitHub. Whether they want to build a container, deploy a web service, or automate welcoming new users to their open-source projects-there’s an action for that. GitHub Actions makes it easy for customers to automate all their software workflows, with world-class CI/CD. Azure Compute > How GitHub Actions handles CI/CD scale on short-running jobs with Ephemeral OS disk Reimage
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |