Uploaded May 2026 | Updated September 2026, 2 hours ago
pretalx.northbaypython.org/nbpy-2026/talk/ERUJ9T
Python powers Netflix's recommendation engine, processes petabytes at Spotify, and handles financial calculations worth trillions of dollars. Yet, developers constantly debate whether Python is "too slow." This paradox reveals a fundamental misunderstanding about Python's true superpower: orchestration over computation. The real question isn't "Is Python fast enough?" It's "What should Python be doing?"
Many developers want to use Python when building high-performance systems, but often lack clear guidance on where Python is the right choice and where it may become a bottleneck. Without a decision framework, developers either prematurely rewrite working Python code in C++/Rust (adding complexity without proportional benefit) or keep everything in Python and hit performance walls, leading to systems that are neither fast nor maintainable. This talk cuts through the performance mythology to reveal where Python excels and when it struggles.
By the end of this session, attendees will leave with a clear decision framework and practical architectural patterns they can immediately apply to their own projects. Whether you're evaluating an existing "slow" Python service or designing a new system from scratch, you'll have concrete tools to determine where Python belongs and where computation should move to compiled languages. You'll know how to structure these boundaries effectively and avoid the common pitfalls that add complexity without delivering real performance gains.
Key Takeaways:
1. Decision framework for orchestration vs. computation: Four-question evaluation to determine what belongs in Python versus compiled languages
2. Three architectural patterns for integrating Python with high-performance code: When and how to use each pattern effectively (with code examples)
3. Anti-pattern recognition: Build intuition for justified complexity versus technical debt
pretalx.northbaypython.org/nbpy-2026/talk/ERUJ9T
Python powers Netflix's recommendation engine, processes petabytes at Spotify, and handles financial calculations worth trillions of dollars. Yet, developers constantly debate whether Python is "too slow." This paradox reveals a fundamental misunderstanding about Python's true superpower: orchestration over computation. The real question isn't "Is Python fast enough?" It's "What should Python be doing?"
Many developers want to use Python when building high-performance systems, but often lack clear guidance on where Python is the right choice and where it may become a bottleneck. Without a decision framework, developers either prematurely rewrite working Python code in C++/Rust (adding complexity without proportional benefit) or keep everything in Python and hit performance walls, leading to systems that are neither fast nor maintainable. This talk cuts through the performance mythology to reveal where Python excels and when it struggles.
By the end of this session, attendees will leave with a clear decision framework and practical architectural patterns they can immediately apply to their own projects. Whether you're evaluating an existing "slow" Python service or designing a new system from scratch, you'll have concrete tools to determine where Python belongs and where computation should move to compiled languages. You'll know how to structure these boundaries effectively and avoid the common pitfalls that add complexity without delivering real performance gains.
Key Takeaways:
1. Decision framework for orchestration vs. computation: Four-question evaluation to determine what belongs in Python versus compiled languages
2. Three architectural patterns for integrating Python with high-performance code: When and how to use each pattern effectively (with code examples)
3. Anti-pattern recognition: Build intuition for justified complexity versus technical debt










 (pronounced magical), a framework for defining GraphQL APIs, including [generating from SQLAlchemy](https://magql-sqlalchemy.autoinvent.dev) models and [integrating with Flask](https://flask-magql.autoinvent.dev). Magql is extensible, looks familiar to developers who are used to Flask, and provides convenience on top of the official Python GraphQL library. Ill discuss why I decided to write this library, and how I went about it, including some of the technical challenges presented by GraphQLs complexity. GraphQLs nested schema and query language allows for some unique and weird possiblities compared to traiditional HTTP/REST APIs, and Ill show off some clever examples that demonstrate its potential. But that complexity can also lead to difficulties. Ultimately, the decision between GraphQL and REST is not clear cut, and this talk will also discuss some of our findings after using Magql and GraphQL in production, and where we want to go next.
Produced by NDV: https://youtube.com/channel/UCQ7dFBzZGlBvtU2hCecsBBg?sub_confirmation=1
Sun Jun 30 14:25:00 2024 at Reis River Ranch Magical (or not) GraphQL - David Lord (Nbpy2024)](https://i.ytimg.com/vi/Gw5P3q2pqa0/mqdefault.jpg)