High-Performance HTTP Client with asyncio and aiohttp: Implementing Asynchronous Requests

High-Performance HTTP Client with asyncio and aiohttp: Implementing Asynchronous Requests

▼ Click the card below to follow me ▲ Click the card above to follow me High-Performance HTTP Client with asyncio and aiohttp: Implementing Asynchronous Requests Recently, I’ve been enjoying asynchronous programming, and today I want to share something interesting – using asyncio and aiohttp to implement asynchronous HTTP requests. In simple terms, it allows … Read more

HTTP Client Pooling in Go: Connection Reuse Technology and TCP Keep-Alive Mechanism

HTTP Client Pooling in Go: Connection Reuse Technology and TCP Keep-Alive Mechanism

Click the “blue text” above to follow us Have you ever encountered a situation where, during peak service hours, a large influx of users causes the system response speed to slow down to a crawl? The code logic seems fine, so why does it struggle under high concurrency? It’s likely that the issue lies not … Read more

urllib3: A Powerful HTTP Client for Easy Network Requests in Python!

urllib3: A Powerful HTTP Client for Easy Network Requests in Python!

📖 A New Choice for Network Requests In today’s internet era, network requests have become an indispensable part of application development. Whether it’s scraping web data, calling REST APIs, or interacting with remote servers, a reliable HTTP client is essential. However, many developers often feel confused when handling network requests: How to manage connection pools, … Read more

Axios HTTP Library Pushes Broken Update, Causing Thousands of Websites to Crash

Axios HTTP Library Pushes Broken Update, Causing Thousands of Websites to Crash

↓Recommended to follow↓ Source: OSC Open Source Community (ID: oschina2013) Axios is a Promise-based HTTP client for browsers and Node.js. It is very lightweight and provides a simple-to-use library with an easily extensible interface.Recently, the update of version 1.1.0 released by Axios caused thousands of websites to crash due to a broken push to users.According … Read more

Super Simple: Implementing an NIO HTTP Client in Java with 100 Lines of Code and No Third-Party Dependencies

Super Simple: Implementing an NIO HTTP Client in Java with 100 Lines of Code and No Third-Party Dependencies

This article was published on Ruzhila (WeChat Official Account: ruzhila). Everyone can visit Ruzhila to learn more about practical programming. 🎉 Implement an NIO HTTP client in Java with just 100 lines of code. The code is simple and clear, helping you understand the working principle of NIO and the completely asynchronous HTTP protocol parsing … Read more

OpenFeign: The HTTP Client Bard!

OpenFeign: The HTTP Client Bard!

OpenFeign: The HTTP Client Bard! Introduction Friends, Niu Ge recently took on a project that requires front-end and back-end separation, using HTTP for communication between microservices. At first glance, there seems to be no problem: we just need to write an HttpClient and add some RestTemplate, right? But once I dived in, I found that … Read more

Httpx: The Future Star of Asynchronous HTTP Requests

Httpx: The Future Star of Asynchronous HTTP Requests

Hello everyone, I am Cat Brother! Today I want to introduce you to a particularly powerful HTTP client library – httpx. It is not only fully compatible with the requests API but also supports asynchronous requests, making it an upgraded version of requests! As a Python developer, mastering this library will definitely enhance your ability … Read more

OkHttp: A Messenger for Java Network Requests!

OkHttp: A Messenger for Java Network Requests!

Niu’s Java Kitchen: OkHttp, A Messenger for Java Network Requests! Introduction: From Kitchen to Code, We Need a Reliable Assistant! Today, let’s talk about OkHttp. What is it? If we compare our code to kitchen operations, OkHttp is like the super reliable “delivery person” in the kitchen— the messenger for network requests! It is responsible … Read more

An Elegant and Lightweight HTTP Client Supporting WebSocket and Stomp

An Elegant and Lightweight HTTP Client Supporting WebSocket and Stomp

A lightweight yet powerful HTTP client The description “A lightweight yet powerful HTTP client” can apply to various libraries in different programming languages. Here are some popular HTTP clients that fit this description: Python – `requests`: This is a very popular Python HTTP library that is user-friendly and powerful. – `httpx`: Similar to `requests`, but … Read more