Sep 25th 2024 Meetup Sponsored by New Relic
Details
Event Agenda:
There will be a main talk between 30 minutes to 1 hour followed by optional lighting talks. Pizza will be provided by New Relic.
Main Talk by Rey Abolofia:
AWS Lambda functions with large dependencies can suffer from significant cold start times due to the time it takes to import these dependencies. In this talk, we'll explore a simple yet effective way to reduce Python cold start times without changing a line of code by precompiling dependencies into bytecode. We'll cover the following topics:
- Understanding Python bytecode and `*.pyc` files
- Precompiling dependencies to reduce init duration
- Using Python optimization levels for further improvements
- Reducing memory overhead with `PYTHONNODEBUGRANGES=1`
Lightning Talks:
Lightning talks are talks up to 5 minutes in length on any topic that might interest other Python people. See PyCon’s Lightning Talks description for more details.
Related topics
Events in Portland, OR
Python
