Stories from the Web Crawling trenches in non-blocking code

Async IO in Python: Trio vs. Asyncio

Author: Mohan Ganesan

Date: Mar 25, 2024

Python developers have two main options for asynchronous I/O concurrency - asyncio and Trio. Both allow you to write non-blocking, concurrent code in Python. But which one is better for your use case?

Asyncio event loop

Author: Mohan Ganesan

Date: Mar 25, 2024

The asyncio module is a powerful tool for writing concurrent and asynchronous code. The event loop manages tasks and callbacks, allowing for efficient handling of thousands of concurrent requests.

What is alternate to asyncio in Python?

Author: Mohan Ganesan

Date: Mar 17, 2024

Asyncio is Python's built-in asynchronous programming framework, but alternatives like Twisted and Trio are worth exploring.

Simplifying Asynchronous Code in Python with async and await

Author: Mohan Ganesan

Date: Mar 17, 2024

Async programming in Python using async/await simplifies writing non-blocking code that runs concurrently, making it ideal for high throughput and scalability in network apps.

Why Async Python Improves Application Performance

Author: Mohan Ganesan

Date: Mar 17, 2024

Async Python allows developers to write non-blocking, event-driven code to improve application performance.

Tired of getting blocked while scraping the web?

ProxiesAPI handles headless browsers and rotates proxies for you.
Get access to 1,000 free API credits, no credit card required!