Explore strategies for implementing asynchronous network requests in web applications during this EuroPython 2016 conference talk. Delve into the challenges of composing responses from multiple services in a Service-Oriented Architecture (SOA) paradigm and learn various solutions to parallelize network calls. Examine the integration of asynchronous techniques with different WSGI web server parallelization models, including running Twisted event loops, using coroutines, and leveraging Asyncio. Gain insights into optimizing performance for Django, Flask, or Pyramid applications running on servers like Gunicorn or uWSGI. Compare synchronous and asynchronous approaches, understanding their impact on scalability and response times in complex web services.
Overview
Syllabus
Introduction
Yelp
Agenda
SOA
Thread Pool Executor
Web Apps
Fork
Parallelization
Python
Thread model
DNS resolution
Lazy apps
Libraries
Summary
Questions
Taught by
EuroPython Conference