Skip to content

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

You may also like