pydelhi / talks

Talks at Python Delhi User Group!
https://pydelhi.org/talks/
68 stars 52 forks source link

Sanic's event loop: Under the hood #237

Closed akshitadixit closed 1 year ago

akshitadixit commented 1 year ago

Title

Sanic's event loop: Under the hood

Describe your Talk

Sanic is a popular Python web framework that uses asynchronous programming to achieve high performance. Underneath the hood, Sanic relies on an event loop to manage asynchronous tasks efficiently. Understanding how Sanic's event loop works is critical for developers who want to build high-performance web applications using Sanic.

In this presentation, we will explore the inner workings of Sanic's event loop. We will begin by discussing the basics of asynchronous programming and how it differs from traditional synchronous programming. We will then delve into the details of Sanic's event loop, examining its architecture and how it manages tasks.

We will also cover how Sanic's event loop handles common scenarios, such as long-running tasks, blocking I/O, and CPU-bound tasks. We will discuss how to optimize performance by tuning the event loop's parameters and other strategies for improving performance.

By the end of this presentation, attendees will have a thorough understanding of how Sanic's event loop works and how to optimize their web applications for maximum performance.

Pre-requisites & reading material

Time required for the talk

40 mins

Link to slides/demos

No response

About you

I'm working with Tata 1mg as a Backend Developer and we extensively use Sanic to power our microservices architecture that receives massive traffic each day. I am also working with Major League Hacking (MLH) as a Technical Program Associate in their Fellowship team where I facilitate the program for MLH Fellows. I am in my final year of engineering from IIIT Kalyani and have previously spoken at various places, list of which you'd find here: https://akshitadixit.github.io/#sessions

Availability

20/05/2023 - 20/08/2023

Any comments

This duration would be the most probable duration of me being in and around Delhi NCR

Animesh-Ghosh commented 1 year ago

Hey @akshitadixit, would you be available in Delhi on the 20th May, 2023?

akshitadixit commented 1 year ago

Hey @Animesh-Ghosh yes I will be.

akshitadixit commented 1 year ago

Hi @Animesh-Ghosh can we have more communication on the event so I can book my tickets accordingly?

Animesh-Ghosh commented 1 year ago

@akshitadixit just to be clear, this will be for a local meetup in Delhi. Also, you can share your Telegram username so that we could add you to the Telegram group. We can have the conversation there since it's closer to real time.

akshitadixit commented 1 year ago

@Animesh-Ghosh Here is my telegram: @plastic96