Tagged articles
87 articles
Page 1 of 1
IT Services Circle
IT Services Circle
Mar 11, 2026 · Backend Development

How to Build Scalable Python Back‑End Systems: Architecture, Async, and Ops

This article walks Python developers through designing high‑concurrency back‑end systems, covering architectural planning, modular project layout, async I/O with asyncio and FastAPI, load balancing with Gunicorn, database scaling, Celery task queues, caching, rate limiting, monitoring, and graceful shutdown techniques.

FastAPIPythonasyncio
0 likes · 20 min read
How to Build Scalable Python Back‑End Systems: Architecture, Async, and Ops
Data STUDIO
Data STUDIO
Mar 3, 2026 · Backend Development

How to Build a Never‑Crashing, Scalable Python Backend

This article walks through practical techniques for designing a highly concurrent Python backend that stays stable under load, covering architecture planning, async programming, load balancing, database scaling, distributed tasks, caching, rate limiting, monitoring, and graceful shutdown.

FastAPIPythonScalability
0 likes · 20 min read
How to Build a Never‑Crashing, Scalable Python Backend
Data STUDIO
Data STUDIO
Feb 10, 2026 · Backend Development

Master Python asyncio: Make Your Code Fly with Asynchronous Programming

This article explains why synchronous Python code blocks on I/O, introduces asyncio’s event loop and coroutine model, and walks through creating and managing tasks, using TaskGroup, handling timeouts, avoiding common pitfalls, and applying best‑practice patterns for high‑performance I/O‑bound programs.

Pythonasynchronous programmingasyncio
0 likes · 20 min read
Master Python asyncio: Make Your Code Fly with Asynchronous Programming
Python Programming Learning Circle
Python Programming Learning Circle
Nov 20, 2025 · Fundamentals

10 Practical Python 3.14 Features That Boost Code Efficiency

Python 3.14 introduces a collection of subtle yet useful enhancements—such as TypedDict's NotRequired, improved static analysis, lazy imports, clearer error messages, a new contextlib.chdir manager, refined async task cancellation, better subprocess isolation, richer pattern‑matching errors, and import‑time profiling—that together make scripts run smoother, easier to debug, and more maintainable.

3.14PythonTypedDict
0 likes · 7 min read
10 Practical Python 3.14 Features That Boost Code Efficiency
Tech Freedom Circle
Tech Freedom Circle
Nov 8, 2025 · Interview Experience

What’s the Secret Behind Python’s Multi‑Process, Multi‑Thread & Coroutine Tricks That Top Tech Interviews Demand?

This article breaks down Python’s Global Interpreter Lock, explains when to use multiprocessing, multithreading or asyncio, provides concrete performance benchmarks and a hybrid process‑coroutine pattern, and guides you on choosing the right concurrency model for interview questions.

Pythonasyncioconcurrency
0 likes · 57 min read
What’s the Secret Behind Python’s Multi‑Process, Multi‑Thread & Coroutine Tricks That Top Tech Interviews Demand?
21CTO
21CTO
Oct 30, 2025 · Backend Development

Top Python Web Frameworks in 2024: FastAPI, Django, Flask & More

This article reviews the most popular Python web frameworks of 2024—FastAPI, Django, Flask, Requests, Asyncio, and Django REST Framework—detailing their usage trends, strengths, weaknesses, and ideal use cases, while also highlighting emerging tools and how to choose the right one for your project.

DjangoFastAPIFlask
0 likes · 17 min read
Top Python Web Frameworks in 2024: FastAPI, Django, Flask & More
Open Source Tech Hub
Open Source Tech Hub
Oct 20, 2025 · Backend Development

Boost PHP Performance with AsyncIO: Fiber‑Based Asynchronous I/O Library

This guide introduces the PHP AsyncIO extension built on PHP Fiber and Workerman, explains its high‑performance features, shows how to install and quickly start with code examples for basic, concurrent, timeout‑controlled, and managed tasks, and provides a complete API reference and advanced usage tips.

Backend DevelopmentFiberPHP
0 likes · 9 min read
Boost PHP Performance with AsyncIO: Fiber‑Based Asynchronous I/O Library
Code Mala Tang
Code Mala Tang
Oct 10, 2025 · Fundamentals

Why async/await Doesn’t Give You Concurrency – And How to Make It Work

Although Python’s async/await syntax lets you pause and resume functions, it alone doesn’t run tasks concurrently; you must explicitly schedule coroutines with tools like asyncio.create_task(), gather(), or TaskGroup, and understand when to use sequential versus concurrent execution to avoid common pitfalls.

async/awaitasyncioconcurrency
0 likes · 10 min read
Why async/await Doesn’t Give You Concurrency – And How to Make It Work
Python Programming Learning Circle
Python Programming Learning Circle
Sep 28, 2025 · Fundamentals

Master Python Async: From Generators and Yield to Async/Await and Real‑World Applications

This comprehensive guide walks you through Python's evolution from simple generators using yield, through two‑way communication with yield expressions and generator delegation with yield from, to modern asynchronous programming with asyncio and async/await, including practical examples, performance comparisons, best practices, and common pitfalls.

GeneratorsPythonasync/await
0 likes · 17 min read
Master Python Async: From Generators and Yield to Async/Await and Real‑World Applications
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 25, 2025 · Fundamentals

Mastering Python Async: From Generators to Async/Await and Real-World Use Cases

Explore the evolution of Python asynchronous programming—from basic generators and yield expressions to advanced async/await syntax, including practical examples like network requests, file I/O, producer-consumer patterns, performance comparisons, error handling, and best-practice recommendations for efficient, scalable code.

GeneratorsPythonasync/await
0 likes · 16 min read
Mastering Python Async: From Generators to Async/Await and Real-World Use Cases
Python Programming Learning Circle
Python Programming Learning Circle
Sep 15, 2025 · Backend Development

When to Use Threads, Processes, or Asyncio in Python? A Complete Guide

This article explains the differences between concurrency and parallelism, the impact of Python's Global Interpreter Lock, and provides a detailed comparison of threading, multiprocessing, and asyncio with code examples, performance tests, decision flowcharts, mixed‑usage patterns, common pitfalls, and best‑practice recommendations for choosing the right approach.

GILasynciomultiprocessing
0 likes · 11 min read
When to Use Threads, Processes, or Asyncio in Python? A Complete Guide
Model Perspective
Model Perspective
Aug 31, 2025 · Fundamentals

Advanced Python Tricks: List Comprehensions, Async IO, Decorators & More

This article presents a comprehensive guide to advanced Python techniques, covering sophisticated syntax, powerful data structures, functional programming, concurrency with threading and asyncio, performance optimization using NumPy, Cython, Numba, and practical debugging and visualization tools, illustrated with clear code examples.

Advanced TechniquesData StructuresPerformance Optimization
0 likes · 11 min read
Advanced Python Tricks: List Comprehensions, Async IO, Decorators & More
Code Mala Tang
Code Mala Tang
Jul 14, 2025 · Backend Development

Boost Your Asyncio Apps: 9 Proven Tricks to Reach 3000+ Requests/sec

This article reveals nine advanced, battle‑tested asyncio performance techniques—including uvloop, memory‑aware task patterns, semaphore limits, executor offloading, graceful cancellation, debugging helpers, connection pooling, loop saturation monitoring, and leak‑free background tasks—that can transform a modest 200‑request‑per‑second service into a 3000+‑request‑per‑second production‑grade system.

asyncioperformancetask management
0 likes · 15 min read
Boost Your Asyncio Apps: 9 Proven Tricks to Reach 3000+ Requests/sec
Code Mala Tang
Code Mala Tang
Jun 21, 2025 · Backend Development

When to Choose asyncio, Threads, or Multiprocessing in Python?

This article explains how to decide between asyncio, threading, and multiprocessing for Python programs by examining I/O‑bound versus CPU‑bound workloads, showing real code examples, trade‑offs, and common pitfalls to help you pick the right concurrency tool for your task.

Pythonasynciomultiprocessing
0 likes · 9 min read
When to Choose asyncio, Threads, or Multiprocessing in Python?
php Courses
php Courses
Apr 23, 2025 · Backend Development

Understanding Python Coroutines and Asyncio: Concepts, Framework, and Best Practices

This article explains the fundamentals of Python coroutines and the asyncio library, covering basic concepts, key components, practical examples, advanced techniques such as mixing with threads, cancellation handling, performance optimizations, and common troubleshooting tips for asynchronous programming.

Pythonasynchronous programmingasyncio
0 likes · 9 min read
Understanding Python Coroutines and Asyncio: Concepts, Framework, and Best Practices
Python Programming Learning Circle
Python Programming Learning Circle
Mar 25, 2025 · Backend Development

Comprehensive Python Guide to Download Files from the Web, S3, and Other Sources

This tutorial walks through multiple Python techniques for downloading regular files, web pages, Amazon S3 objects, and other resources, covering basic requests, wget, handling redirects, chunked large‑file downloads, parallel downloads, progress bars, urllib, urllib3, proxy usage, boto3 for S3, and asynchronous downloads with asyncio.

Boto3File DownloadPython
0 likes · 8 min read
Comprehensive Python Guide to Download Files from the Web, S3, and Other Sources
Python Programming Learning Circle
Python Programming Learning Circle
Mar 1, 2025 · Fundamentals

Three Essential Tools for Debugging Asynchronous Python Code

This article introduces three core tools—Python's built‑in debugger (pdb), the real‑time event‑loop monitor aiomonitor, and the testing library asynctest—to help developers track, debug, and prevent bugs in asynchronous Python programs, complete with practical code examples and usage instructions.

DebuggingPdbaiomonitor
0 likes · 8 min read
Three Essential Tools for Debugging Asynchronous Python Code
Python Programming Learning Circle
Python Programming Learning Circle
Feb 26, 2025 · Artificial Intelligence

Key Python 3.13 Features Boosting Machine Learning and AI Performance

Python 3.13 introduces experimental free‑threading, a JIT compiler, enhanced type‑system utilities, asyncio improvements, and standard‑library updates that together aim to reduce the Global Interpreter Lock bottleneck, accelerate compute‑intensive workloads, and simplify deployment of AI and ML applications across diverse platforms.

AIJITML
0 likes · 25 min read
Key Python 3.13 Features Boosting Machine Learning and AI Performance
Code Mala Tang
Code Mala Tang
Jan 26, 2025 · Fundamentals

Master Python Async: Boost Performance with asyncio, async/await, and Tasks

This guide explains Python asynchronous programming using the asyncio library, covering async functions, coroutine objects, the event loop, await syntax, task creation, and concurrent execution with asyncio.run, create_task, and gather to improve I/O‑bound performance.

Pythonasync/awaitasynchronous programming
0 likes · 7 min read
Master Python Async: Boost Performance with asyncio, async/await, and Tasks
Test Development Learning Exchange
Test Development Learning Exchange
Dec 28, 2024 · Backend Development

Using asyncio call_soon, call_at, call_later, and call_soon_threadsafe in Python

This article explains how Python's asyncio library schedules callbacks with call_soon, call_at, call_later, and call_soon_threadsafe, providing detailed usage descriptions and multiple example code snippets that demonstrate immediate, absolute‑time, relative‑time, and thread‑safe task scheduling within an event loop.

asynciocallback-schedulingevent loop
0 likes · 6 min read
Using asyncio call_soon, call_at, call_later, and call_soon_threadsafe in Python
Test Development Learning Exchange
Test Development Learning Exchange
Oct 27, 2024 · Fundamentals

Fundamental and Advanced Exception Handling in Python

This article presents a comprehensive guide to Python exception handling, covering basic try‑except usage, multiple exception capture, else/finally clauses, custom exceptions, exception chaining, logging, context managers, assertions, traceback, concurrent and asynchronous error handling, and testing techniques.

asyncioconcurrencyexception-handling
0 likes · 8 min read
Fundamental and Advanced Exception Handling in Python
Test Development Learning Exchange
Test Development Learning Exchange
Oct 14, 2024 · Fundamentals

Understanding async and await in Python with Practical Examples

This article introduces Python's async and await keywords, explains how they enable coroutine programming, and provides multiple practical examples including simple coroutine definitions, awaiting tasks, concurrent execution with asyncio.gather, HTTP requests using aiohttp, and resource management with custom coroutine-based managers.

AsyncPythonasyncio
0 likes · 6 min read
Understanding async and await in Python with Practical Examples
dbaplus Community
dbaplus Community
Jul 7, 2024 · Operations

How Instagram Scales to 2.5B Users: Architecture, Consistency & Performance

Instagram grew from a simple photo‑sharing app to over 2.5 billion users, prompting engineers to adopt horizontal scaling, replace Python code with Cython, use region‑specific Cassandra clusters, employ the Akkio data‑placement service, and optimize PostgreSQL and Memcache handling to improve resource utilization, data consistency, and latency.

PostgreSQLasynciocassandra
0 likes · 11 min read
How Instagram Scales to 2.5B Users: Architecture, Consistency & Performance
JavaEdge
JavaEdge
Jul 3, 2024 · Backend Development

Build a Telegram Bot with Python Telebot: A Step‑by‑Step Guide

This guide walks through creating a Telegram bot with Python's telebot library, covering data architecture, obtaining a BotFather token, configuring bot details, installing the package, writing message handlers, linking to a local LLM server, handling audio responses, and running the bot.

Telegram botasynciotelebot
0 likes · 5 min read
Build a Telegram Bot with Python Telebot: A Step‑by‑Step Guide
MaGe Linux Operations
MaGe Linux Operations
May 2, 2024 · Fundamentals

Unlock Python’s Power: Master Multiprocessing for Faster, Scalable Code

This comprehensive guide explains Python’s multiprocessing module, covering process creation, inter‑process communication, pools, synchronization primitives, error handling, and real‑world examples such as web crawlers, data analysis, and game servers, helping developers harness multiple CPU cores to boost performance and avoid GIL limitations.

Code ExamplesParallelismPython
0 likes · 32 min read
Unlock Python’s Power: Master Multiprocessing for Faster, Scalable Code
Test Development Learning Exchange
Test Development Learning Exchange
Apr 13, 2024 · Fundamentals

Advanced Python Techniques: 10 In-Depth Code Examples

This article presents ten advanced Python techniques—including list comprehensions, lambda functions, decorators, context managers, generators, metaclasses, asyncio coroutines, enums, slicing, and exception handling—each illustrated with detailed code examples to help readers deepen their mastery of Python programming.

AdvancedDecoratorLambda
0 likes · 6 min read
Advanced Python Techniques: 10 In-Depth Code Examples
Python Programming Learning Circle
Python Programming Learning Circle
Apr 11, 2024 · Backend Development

Comprehensive Guide to Downloading Files with Python Using requests, wget, urllib, urllib3, Boto3, asyncio and More

This tutorial explains how to download regular files, web pages, Amazon S3 objects, and other resources in Python by covering multiple modules such as requests, wget, urllib, urllib3, Boto3, and asyncio, and demonstrates handling redirects, large files, parallel downloads, progress bars, proxies, and asynchronous execution.

Boto3File Downloadasyncio
0 likes · 8 min read
Comprehensive Guide to Downloading Files with Python Using requests, wget, urllib, urllib3, Boto3, asyncio and More
Test Development Learning Exchange
Test Development Learning Exchange
Jan 14, 2024 · Fundamentals

Python Concurrency Techniques: Threads, Processes, Async, and Pools

This article introduces Python concurrency programming, explaining how to use multithreading, multiprocessing, thread and process pools, async/await, coroutines, and producer‑consumer models with code examples, helping developers improve performance and responsiveness for time‑consuming tasks and concurrent network requests.

asyncioconcurrencymultiprocessing
0 likes · 5 min read
Python Concurrency Techniques: Threads, Processes, Async, and Pools
DataFunSummit
DataFunSummit
Mar 29, 2023 · Backend Development

Analysis of the Redis‑py Bug that Caused a ChatGPT Data Leak

A recent Redis‑py library vulnerability caused ChatGPT to expose personal data of about 1.2% of Plus users, prompting an OpenAI apology, a detailed post‑mortem, and a series of backend and security fixes to prevent similar incidents.

BackendChatGPTDataLeak
0 likes · 5 min read
Analysis of the Redis‑py Bug that Caused a ChatGPT Data Leak
dbaplus Community
dbaplus Community
Mar 28, 2023 · Information Security

How a Redis Client Bug Exposed ChatGPT User Data and What OpenAI Fixed

A recent bug in the open‑source redis‑py library caused ChatGPT to leak personal data of about 1.2 % of Plus users, allowing some users to see others' names, emails, and partial credit‑card details; OpenAI issued an apology, published a post‑mortem, and deployed a patch to fix the Redis Cluster async client issue.

ChatGPTOpenAIasyncio
0 likes · 6 min read
How a Redis Client Bug Exposed ChatGPT User Data and What OpenAI Fixed
Python Programming Learning Circle
Python Programming Learning Circle
Mar 13, 2023 · Fundamentals

Downloading Files in Python Using requests, wget, urllib, boto3, and asyncio

This tutorial demonstrates multiple Python techniques for downloading files—including simple requests.get calls, wget and urllib modules, handling redirects and large files with chunked streaming, parallel batch downloads, progress bars, proxy support, S3 retrieval via boto3, and asynchronous downloads with asyncio—providing a comprehensive guide for developers.

Boto3File Downloadasyncio
0 likes · 8 min read
Downloading Files in Python Using requests, wget, urllib, boto3, and asyncio
Python Programming Learning Circle
Python Programming Learning Circle
Oct 12, 2022 · Backend Development

Comprehensive Guide to Downloading Files in Python Using Requests, wget, urllib, urllib3, Boto3, and asyncio

This tutorial walks through multiple Python approaches for downloading files—including simple requests.get calls, the wget module, handling redirects, chunked large‑file downloads, parallel batch downloads, proxy usage with urllib, S3 retrieval via Boto3, and asynchronous fetching with asyncio—providing code examples and best‑practice tips.

BackendBoto3File Download
0 likes · 8 min read
Comprehensive Guide to Downloading Files in Python Using Requests, wget, urllib, urllib3, Boto3, and asyncio
Architecture Digest
Architecture Digest
Sep 7, 2021 · Backend Development

Design and Implementation of a High‑Performance Python Microservice Framework Based on Sanic

This article introduces a high‑performance Python microservice framework built on Sanic, detailing its architecture, asynchronous design principles, integration of uvloop, asyncpg, aiohttp, Peewee ORM, OpenTracing, Swagger API documentation, middleware, testing, and deployment considerations for scalable backend services.

BackendMicroservicesPython
0 likes · 15 min read
Design and Implementation of a High‑Performance Python Microservice Framework Based on Sanic
MaGe Linux Operations
MaGe Linux Operations
Jul 12, 2021 · Backend Development

Boost Python API Testing Speed with Async httpx: A Practical Guide

This article explains what coroutines are, compares them with threads, outlines when to use them, introduces the async‑capable httpx library, shows installation and sample code, and demonstrates a performance test where asynchronous requests cut execution time by about 73% compared to synchronous requests.

BackendPythonasyncio
0 likes · 7 min read
Boost Python API Testing Speed with Async httpx: A Practical Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jun 5, 2021 · Backend Development

Understanding Python Coroutines: From IO Multiplexing to Generators and Async/Await

This article explains how Python implements coroutines for high‑performance network and web programming by combining OS‑level IO multiplexing, generator‑based control flow, callback elimination, stack‑driven call‑chain traversal, Future objects, and the evolution toward async/await syntax.

GeneratorsIO Multiplexingasync/await
0 likes · 18 min read
Understanding Python Coroutines: From IO Multiplexing to Generators and Async/Await
Python Programming Learning Circle
Python Programming Learning Circle
Mar 23, 2021 · Fundamentals

Coroutines and Asynchronous Programming in Python

This article explains Python coroutines, their advantages over threads, demonstrates producer‑consumer patterns, introduces the asyncio event loop, shows how to use async/await syntax, and provides examples of asynchronous network requests and a simple aiohttp server for high‑concurrency I/O.

Pythonaiohttpasync/await
0 likes · 13 min read
Coroutines and Asynchronous Programming in Python
MaGe Linux Operations
MaGe Linux Operations
Mar 22, 2021 · Backend Development

Master Python File Downloads: Requests, Wget, Asyncio, S3, and More

This tutorial teaches you how to download files in Python using various modules—including requests, wget, urllib, urllib3, boto3, and asyncio—covering simple downloads, handling redirects, chunked large-file downloads, multithreaded batch downloads, progress bars, proxy usage, and Amazon S3 retrieval.

Boto3File DownloadPython
0 likes · 9 min read
Master Python File Downloads: Requests, Wget, Asyncio, S3, and More
360 Quality & Efficiency
360 Quality & Efficiency
Mar 5, 2021 · Databases

Asynchronous MySQL Operations with aiomysql and SQLAlchemy in Python

This tutorial explains how to perform asynchronous MySQL operations in Python using aiomysql, covering basic connections, CRUD actions, safe parameter handling to prevent SQL injection, connection pooling, transaction management, integration with SQLAlchemy for ORM queries, and a custom reconnection wrapper for resilient database access.

Connection PoolingPythonSQLAlchemy
0 likes · 38 min read
Asynchronous MySQL Operations with aiomysql and SQLAlchemy in Python
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 25, 2020 · Backend Development

Mastering Python Rate Limiting: From ratelimiter to SlowAPI

This article explains how to control request frequency in Python using the ratelimiter library for synchronous and asynchronous code, and introduces SlowAPI as a flexible solution for FastAPI and Flask, helping backend developers reduce server load and protect APIs from abuse.

Backend DevelopmentFastAPIPython
0 likes · 6 min read
Mastering Python Rate Limiting: From ratelimiter to SlowAPI
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Nov 26, 2020 · Backend Development

How to Crawl Real-Time Data with Python WebSocket: A Step‑by‑Step Guide

This article explains how crawler engineers can fetch real‑time data such as sports scores, stock quotes, or cryptocurrency prices by comparing polling and WebSocket approaches, introducing the aiowebsocket library, and providing complete Python code to perform handshake, subscription, and continuous data streaming.

PythonWeb ScrapingWebSocket
0 likes · 10 min read
How to Crawl Real-Time Data with Python WebSocket: A Step‑by‑Step Guide
MaGe Linux Operations
MaGe Linux Operations
Oct 11, 2020 · Backend Development

Master Python File Downloads: Requests, Wget, urllib, Boto3 & Asyncio

This tutorial walks you through using various Python modules—including requests, wget, urllib, urllib3, boto3, and asyncio—to download regular files, web pages, Amazon S3 objects, handle redirects, large files, parallel downloads, proxies, and progress bars, all with clear code examples.

Boto3File Downloadasyncio
0 likes · 8 min read
Master Python File Downloads: Requests, Wget, urllib, Boto3 & Asyncio
360 Quality & Efficiency
360 Quality & Efficiency
Oct 1, 2020 · Backend Development

Advanced Python Logging: StreamHandler, FileHandler, HTTPHandler and Asynchronous Remote Logging with aiohttp and Thread Pools

This article demonstrates how to configure Python's logging module for console and file output, extend it with HTTPHandler for remote logging, and improve performance by using custom handlers, threading, thread pools, and asynchronous aiohttp calls to avoid blocking the main program.

HttpHandlerPythonaiohttp
0 likes · 16 min read
Advanced Python Logging: StreamHandler, FileHandler, HTTPHandler and Asynchronous Remote Logging with aiohttp and Thread Pools
Python Programming Learning Circle
Python Programming Learning Circle
Jun 8, 2020 · Backend Development

Understanding Synchronous vs Asynchronous Programming in Python with asyncio and aiohttp

This article explains the limitations of Python's GIL, compares synchronous and asynchronous execution models, introduces asyncio and aiohttp, provides concrete code examples for single and multiple concurrent HTTP requests, and offers solutions for common concurrency errors such as too many file descriptors.

AsynchronousBackendPython
0 likes · 8 min read
Understanding Synchronous vs Asynchronous Programming in Python with asyncio and aiohttp
21CTO
21CTO
Apr 21, 2020 · Fundamentals

Master Python File Downloads: Requests, Wget, urllib, Async & More

This tutorial walks through multiple Python approaches for downloading files—including simple requests and wget calls, handling redirects, large and multi‑file downloads, proxy usage, urllib/urllib3 methods, and asynchronous techniques—providing complete code snippets and practical tips for each scenario.

Pythonasynciofile-download
0 likes · 11 min read
Master Python File Downloads: Requests, Wget, urllib, Async & More
Python Programming Learning Circle
Python Programming Learning Circle
Sep 9, 2019 · Fundamentals

Master Python Coroutines: From Generators to async/await

This article walks through the evolution of Python's coroutine support—from early generator‑based yield/send patterns, through the introduction of @asyncio.coroutine and yield from, to the modern async and await syntax—explaining concepts, execution flow, and providing clear code examples.

PythonYieldasync/await
0 likes · 10 min read
Master Python Coroutines: From Generators to async/await
360 Quality & Efficiency
360 Quality & Efficiency
Jan 18, 2019 · Backend Development

Understanding Asynchronous Programming in Python with Tornado and asyncio

This article explains the fundamentals of asynchronous programming, contrasting blocking, non‑blocking, synchronous and asynchronous execution, and demonstrates how to implement async behavior in Python using Tornado, asyncio, and aiohttp, including coroutine definitions, yield usage, and practical code examples.

AsynchronousPythonaiohttp
0 likes · 12 min read
Understanding Asynchronous Programming in Python with Tornado and asyncio
MaGe Linux Operations
MaGe Linux Operations
Dec 2, 2018 · Backend Development

Master Python asyncio: From Coroutines to Event Loops Explained

This article introduces Python's asyncio library, explains how coroutines are defined and run, demonstrates event‑loop management with run_until_complete and run_forever, covers callbacks, gathering multiple coroutines, and best practices for closing loops, all illustrated with clear code screenshots.

asynchronous programmingasyncioconcurrency
0 likes · 7 min read
Master Python asyncio: From Coroutines to Event Loops Explained
MaGe Linux Operations
MaGe Linux Operations
Feb 27, 2018 · Backend Development

Building a High‑Performance HTTP Keep‑Alive Benchmark with Python asyncio

This article explains the concept of asynchronous I/O, introduces Python’s provisional asyncio module, and walks through a complete example that creates an HTTP keep‑alive benchmark tool, including code, test environment, performance results, and key asyncio concepts such as event loops, futures, coroutines, and generators.

BenchmarkHTTPPython
0 likes · 10 min read
Building a High‑Performance HTTP Keep‑Alive Benchmark with Python asyncio
MaGe Linux Operations
MaGe Linux Operations
Apr 11, 2017 · Fundamentals

Master Python asyncio: From Coroutines to Event Loops Explained

Learn how Python's asyncio library enables asynchronous I/O by defining coroutines with async/await, managing event loops, handling futures, using gather and wait, and properly closing loops, with clear code examples illustrating each concept and practical tips for concurrent programming.

asynchronous-ioasynciocoroutine
0 likes · 6 min read
Master Python asyncio: From Coroutines to Event Loops Explained
360 Quality & Efficiency
360 Quality & Efficiency
Oct 14, 2016 · Backend Development

Comparative Performance Evaluation of JMeter, Locust, asyncio (Python) and Go for Server Load Testing

This article compares JMeter, LoadRunner, Locust, asyncio (Python) and Go-based load testing tools by measuring CPU, memory, Nginx response and TPS under varying concurrency levels, concluding that Go delivers the highest throughput while Python coroutines offer significant improvements over older Python versions.

JMeterLoad TestingLocust
0 likes · 10 min read
Comparative Performance Evaluation of JMeter, Locust, asyncio (Python) and Go for Server Load Testing
MaGe Linux Operations
MaGe Linux Operations
Sep 18, 2016 · Backend Development

Building a Minimal Async Python Web Framework from Scratch

This article walks through the design and implementation of a lightweight asynchronous Python web framework, covering its core components such as HTTPServer, HTTPConnection, request parsing, routing, timeout handling, and the App class, while explaining design choices, limitations, and testing strategies.

BackendHTTPPython
0 likes · 17 min read
Building a Minimal Async Python Web Framework from Scratch