robust-apricotโข13mo ago
Improving Actor start-up time #DockerImageSize
Hello ๐ there is a few documentation on how to improve the actor startup time one solution is described here https://docs.apify.com/platform/actors/development/performance#:~:text=Use%20standardized%20images%20to%20accelerate,Dockerfile%20need%20to%20be%20pulled. "Use standardized images to accelerate Actor startup times
Using one of Apify's standardized images, can accelerate the Actor startup time. These images are cached on each worker machine, so only the layers you added in your Actor's Dockerfile need to be pulled." . But no concrete example on how to use https://github.com/apify/apify-actor-docker in python actor. Any help or contribution is welcome thanks.
GitHub
GitHub - apify/apify-actor-docker: Base Docker images for Apify act...
Base Docker images for Apify actors. Contribute to apify/apify-actor-docker development by creating an account on GitHub.
Performance | Platform | Apify Documentation
Learn how to get the maximum value out of your Actors, minimize costs, and maximize results.
2 Replies
Post created!
This post has been synced with the Apify community site and will be indexed by search engines
Hi @MImi ,
We highly suggest you to use
apify-cli
for creating initial project structure. Or maybe take a look at https://github.com/apify/actor-templates/tree/master/templates select python based project and check its .actor/Dockerfile
GitHub
actor-templates/templates at master ยท apify/actor-templates
This project is the :house: home of Apify actor template projects to help users quickly get started. - apify/actor-templates