-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extremely slow app update through zappa update --all #1129
Comments
Windows deployment and updates are 5-15x slower on Windows than on Linux and macOS unfortunately. Zappa was developed on a mac and works best on UNIX-based. I tried debugging it when I was on Windows, but it was a problem with a recursive function which goes through the folders of the project and it was not easy to pin-point the problem Before I changed to mac, I was using WSL2 to "bypass" that issue, which I recommend you using too |
I'm on ubuntu, zappa is also running extremely slow on my laptop , and it used to be very fast, it uses 100% CPU
|
Hi @Techget |
Thanks for the reminder, following is the corresponding info zappa_seetings.json:
requirements.txt
|
So, you have only one region deployment or multiple region deployments? |
Deploying to single region and the network speed is okay with ~5 MB/s. It often stucks at a stage for quite while e.g. |
Here is what I would do:-
Let me know what worked for you. I will try to replicate your setup. You can also join our Slack channel using this link |
Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed. |
still have the same issue. |
I've built a small serverless application about ~10mo.
When I use the command zappa update, it takes at least 10 minutes before the beginning of the update.
I use windows and the following settings:
{
"dev": {
"app_function": "app.app",
"aws_region": "eu-west-1",
"profile_name": "user",
"project_name": "nyx",
"runtime": "python3.8",
"s3_bucket": "zappa-nyw",
"memory_size": 2048
}
}
I've tried to add exclusion exceptions to get it faster but nothing has changed.
Thank you for your help.
The text was updated successfully, but these errors were encountered: