PyCon DE & PyData 2026

Heiner Wolf

Heiner Wolf is a physicist and coder. After completing his Master’s degree in particle physics at CERN, he got a PhD in computer science and is now a passionate full stack developer (C#, TypeScript, Python). Heiner has been CTO for many years, in his own startups and those of others. Alongside all sorts of good stories, he enjoys realistic future scenarios and hard science fiction. And when triggered on physics, he’ll gladly rant about how fusion research should really be done.


Session

04-14
12:25
45min
Beyond Stateless: Why Your Web Service Architecture is Fighting Against Performance
Heiner Wolf

We've been told for years that stateless services are the holy grail of
scalable web architectures. But what if this foundational principle is
actually hurting development speed and runtime performance?

Coding agents follow our example. They do what we would have done, only
10 times more. They also apply the "stateless is good" myth.

This talk challenges the dominant paradigm by demonstrating how
stateful, object-oriented programming can automatically scale to
millions of users without the typical infrastructure complexity.

I'll show how keeping objects with their state in distributed memory
eliminates the need for explicit caching strategies, reduces database
bottlenecks, and dramatically simplifies your code base. You'll see how
a simple Python class can transparently scale across multiple servers,
handling millions of concurrent users without implementing REST
endpoints, message queues, or cache invalidation logic.

So you can guide your agent to do scalability the right way.

PyCon: Programming & Software Engineering & Testing
Titanium [2nd Floor]