Httpx: The Rising Star of Asynchronous HTTP!

Httpx: The Rising Star of Asynchronous HTTP!

▼ Click the card below to follow me ▲ Click the card above to follow me Httpx: The Rising Star of Asynchronous HTTP! In modern application development, network requests are almost indispensable. The traditional requests library, while convenient, shows its limitations in performance when handling a large number of requests. Thus, Httpx emerged as the … Read more

Comparison of HTTP Asynchronous Calls: httpx vs aiohttp

Comparison of HTTP Asynchronous Calls: httpx vs aiohttp

Core Features httpx Modern API Design: Inspired by the synchronous libraryrequests, the API is intuitive and easy to use. HTTP/2 Support: Natively supports HTTP/2, which can enhance communication efficiency with compatible servers. Sync and Async Compatibility: Supports both synchronous (httpx.Client) and asynchronous (httpx.AsyncClient) interfaces, suitable for mixed scenarios. aiohttp High Performance: Designed to be lightweight, … Read more

Comprehensive Guide to Python WebSocket: Master Real-Time Bidirectional Communication with Ease

Comprehensive Guide to Python WebSocket: Master Real-Time Bidirectional Communication with Ease

When developing chat applications, stock market updates, or game servers, real-time performance is a crucial requirement. Traditional HTTP requests are one request and one response, which cannot meet the needs of real-time bidirectional communication. At this point, WebSocket shines. WebSocket is a TCP-based network protocol that allows for persistent connections between clients and servers, enabling … Read more

Top 10 Pitfalls to Avoid with C# HttpClient: From Socket Leaks to Performance Optimization

Top 10 Pitfalls to Avoid with C# HttpClient: From Socket Leaks to Performance Optimization

As a C#.NET developer, I have witnessed memory leaks, performance degradation, and even security vulnerabilities caused by improper use of HttpClient. I have made these typical mistakes early in my development career, and after years of practice, I have summarized the following ten common issues and their solutions. 🚨 1. Not Reusing HttpClient Instances (Leading … Read more

C#.NET HttpClient Usage Tutorial

C#.NET HttpClient Usage Tutorial

Introduction <span><span>HttpClient</span></span> is a modern <span><span>API</span></span> in <span><span>.NET</span></span> used for sending <span><span>HTTP</span></span> requests and receiving <span><span>HTTP</span></span> responses, replacing the outdated <span><span>WebClient</span></span> and <span><span>HttpWebRequest</span></span> classes. <span><span>HttpClient</span></span> is provided in <span><span>.NET Framework 4.5</span></span> + and <span><span>.NET Core/.NET 5+</span></span>, based on a message handling pipeline (<span><span>message handler pipeline</span></span>), and is a modern <span><span>HTTP</span></span> client library. Compared to earlier … Read more

The Evolution of Rust Web Frameworks: From Niche to Mainstream

The Evolution of Rust Web Frameworks: From Niche to Mainstream

Introduction As of 2025, Rust has become an undeniable force in the field of web development. But did you know that just a few years ago, Rust was merely a “niche player” in this domain? A developer named Loïc Labeye, who has been using Rust since 2020, recently shared his observations and thoughts on the … Read more

Httpx: The Future Star of Asynchronous HTTP!

Httpx: The Future Star of Asynchronous HTTP!

▼ Click the card below to follow me ▲ Click the card above to follow me Httpx: The Future Star of Asynchronous HTTP! In modern web applications, HTTP requests are ubiquitous. Whether fetching web content, calling APIs, or performing data scraping, HTTP is at the core. Traditional HTTP libraries, such as requests, while simple and … Read more

Embassy: A Next-Generation Framework for Embedded Applications Built with Rust for Efficient and Safe Asynchronous Applications

Embassy: A Next-Generation Framework for Embedded Applications Built with Rust for Efficient and Safe Asynchronous Applications

Embassy is a next-generation framework for embedded applications that leverages the Rust programming language and its powerful asynchronous features to help developers build safer, more efficient, and energy-saving embedded software. The Advantages of Rust The Rust language is renowned for its high performance, memory safety, and extremely low runtime overhead. It has no runtime, garbage … Read more

Drogon: A Powerful C++ Library

Drogon: A Powerful C++ Library

Drogon is an HTTP application framework based on C++17/20 that helps developers easily build various types of web application server programs. The name Drogon is derived from a dragon in the popular TV series “Game of Thrones.” It is a cross-platform framework that supports Linux, macOS, FreeBSD, OpenBSD, HaikuOS, and Windows. High-Performance Network I/O Drogon … Read more

Is the Learning Curve of Rust Steep? A Deep Dive into the Productivity Dilemma of the Borrow Checker

Is the Learning Curve of Rust Steep? A Deep Dive into the Productivity Dilemma of the Borrow Checker

Introduction As one of the most talked-about system programming languages in recent years, Rust has attracted many developers with its promise of “memory safety without garbage collection.” However, in practical engineering, especially when building modern web services, APIs, and cloud-native systems, the complexity tax of Rust has become a real issue that many teams must … Read more