Stories from the Web Crawling trenches in non-blocking

Understanding Asyncio Coroutines and Tasks in Python

Author: Mohan Ganesan

Date: Mar 17, 2024

Asynchronous programming in Python using coroutines and tasks. Coroutines define asynchronous behavior, while tasks actually run the coroutines and enable concurrency.

Connecting to MQTT with Python's asyncio

Author: Mohan Ganesan

Date: Mar 25, 2024

MQTT is a lightweight messaging protocol used in IoT and mobile applications. Python's asyncio module makes it easy to handle MQTT subscriptions and publications asynchronously without blocking the main thread.

Concurrency in Python: Understanding Asyncio vs Synchronous Code

Author: Mohan Ganesan

Date: Mar 17, 2024

Python is often used for building complex applications that handle multiple tasks concurrently. Understanding the difference between asyncio and synchronous code is key to writing efficient, scalable Python programs.

Making Asynchronous HTTP Requests with request.post() in Node.js

Author: Mohan Ganesan

Date: Feb 3, 2024

The request.post() method in Node.js can be made asynchronous and non-blocking by using callbacks, promises, or the async library.

Beyond Asyncio: Exploring Asynchronous Programming Options in Python

Author: Mohan Ganesan

Date: Mar 25, 2024

Asyncio is Python's built-in asynchronous programming framework, but there are alternative options like Twisted, Trio, and Curio for non-blocking applications.

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!