Enabling HTTP/3 on Caddy Server: How to Make Your Website Lightning Fast?

Enabling HTTP/3 on Caddy Server: How to Make Your Website Lightning Fast? In today’s rapidly evolving internet technology landscape, HTTP/3 is revolutionizing traditional web transmission models. As the first HTTP standard based on the QUIC protocol, it not only significantly enhances website loading speeds but also effectively addresses network fluctuations and weak network environments on … Read more

Httpx: The Future Star of Asynchronous HTTP!

▼ Click the card below to follow me ▲ Click the card above to follow me HTTP requests are like the circulatory system for modern software development, connecting different systems and services. Traditional HTTP libraries have served us well for many years, but as application complexity increases, we urgently need a more powerful and efficient … Read more

How to Use HTTP Requests in Locust

Using HTTP requests in Locust is very straightforward, as Locust is primarily designed for load testing and performance testing, with built-in support for HTTP requests. With Locust’s HttpUser class, you can easily send GET, POST, and other types of HTTP requests, and leverage Locust’s powerful features to simulate the behavior of a large number of … Read more

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 today’s ocean of web programming, asynchronous network requests are like a speedboat gliding effortlessly. Httpx is undoubtedly the coolest presence in this domain. Imagine traditional HTTP libraries as waiting in line … Read more

ETag and HTTP Caching

A practical scenario for the HTTP ETag header is for client HTTP caching of GET requests. Additionally, the caching workflow also requires handling other conditional HTTP headers, such as If-Match or If-None-Match. However, the interaction of these headers can sometimes seem a bit complex. Whenever I need to deal with this issue, I always spend … Read more

Connecting Modicon M262 to Alibaba Cloud via MQTT

The Modicon M262 is the first PLC launched by Schneider Electric aimed at the Industrial Internet of Things (IIoT), capable of connecting directly to cloud platforms via protocols such as MQTT and HTTP, with TLS network security encryption. The left side of the image below shows the traditional method of connecting PLCs to the cloud, … Read more

Open Source Communication Debugging Tool Supporting Modbus and MQTT

Introduction A communication debugging tool developed based on WPF, featuring a user-friendly interface and easy operation. It supports both Modbus and MQTT protocols, enabling debugging of various communication methods. Whether in industrial automation, smart home, or IoT fields, this tool can meet your needs. Additionally, the code is open source and modular, making it highly … Read more

Understanding MQTT Clients and Brokers

In the previous issue, we introduced the publish and subscribe framework of MQTT: MQTT Publish and Subscribe Architecture The two most important roles are MQTT clients and MQTT brokers (intermediaries). Let’s quickly review these two core components: The publish/subscribe model decouples the client responsible for sending messages (the publisher) from the client responsible for receiving … Read more

An In-Depth Explanation of TCP/IP!

(Add a star to BoLe Online to see classic articles) Source: Ruheng Link: https://juejin.im/post/6844903490595061767 1. TCP/IP Model The TCP/IP protocol model (Transmission Control Protocol/Internet Protocol) consists of a series of network protocols that form the foundation of the Internet and is the core protocol of the Internet.The reference model based on TCP/IP divides the protocols … Read more

Embedded Development – Porting EtherCAT on LAN9253

1. Overview of the Porting Process ‌Hardware Platform Setup‌ Selection of the main control chip: It is recommended to use the STM32F4 series (such as STM32F407) or Microchip SAMD5x series, which must support SPI/SQI or HBI interfaces to communicate with LAN9253. Hardware connection: LAN9253 connects to the main control via the SPI interface, requiring configuration … Read more