This is the website for an older EuroPython. Looking for the latest EuroPython? Click here!
Skip to main content

GraphQL Subscriptions: Real-time Data with WebSockets* and Strawberry ๐Ÿ“

south hall 2a
30 minutes


Bring your GraphQL APIs to life with real-time data using Strawberry! ๐ŸŒŸ In this talk, we'll dive into GraphQL Subscriptions and explore how to leverage WebSockets for interactive, real-time updates. Say goodbye to constant polling and hello to efficient, seamless communication!

Key insights:

  • Understanding GraphQL Subscriptions and their role in real-time data delivery.
  • Setting up WebSocket connections and integrating them with your GraphQL server using Strawberry.
  • Designing subscription schemas and handling server-side events for seamless updates.
  • Enhancing client-side experiences with real-time data and updates.


GraphQL Subscriptions offer a powerful solution to deliver real-time data efficiently, without the need for constant polling. In this talk, we'll explore the power of GraphQL Subscriptions using WebSockets and Strawberry, empowering you to build dynamic, real-time applications with ease.

During this session, we'll cover:

  1. An introduction to GraphQL Subscriptions: We'll discuss the concept of GraphQL Subscriptions, their role in real-time data delivery, and how they differ from traditional polling techniques. You'll gain a deep understanding of their importance in creating modern, responsive applications.

  2. Setting up WebSockets with GraphQL and Strawberry: We'll guide you through the process of integrating WebSocket connections with your GraphQL server using the Strawberry library. Learn how to establish and manage secure, real-time communication channels between your server and clients.

  3. Designing and implementing subscription schemas: We'll walk you through the process of designing and implementing subscription schemas using Strawberry, allowing you to define the structure and behavior of real-time updates. Learn how to handle server-side events and ensure seamless updates for clients.

  4. Enhancing client-side experiences: Discover how to leverage real-time data and updates in your client-side applications to create engaging and interactive experiences for users. We'll share best practices for handling GraphQL Subscriptions on the client-side, enabling you to build dynamic, real-time applications that delight your users.

By the end of this talk, you'll be well-equipped to harness the power of GraphQL Subscriptions using WebSockets and Strawberry, enabling you to create responsive, real-time applications!

The speaker

Patrick Arminio

Patrick Arminio

Patrick Arminio, is Senior developer advocate at Apollo GraphQL. He's super passionate about Python and GraphQL! ๐ŸŽ‰ He loves building cool web apps, contributing to open-source projects, and sharing his know-how with fellow developers. When he's not coding he's probably at some conference or running ๐Ÿ˜Š

He's an organizer for PyCon Italia and EuroPython ๐Ÿ‡ช๐Ÿ‡บ

โ† Back to schedule