FreeRTOS Part Four: Inter-Process Communication

FreeRTOS Part Four: Inter-Process Communication

We continue Bob’s open-source FreeRTOS series articles. One of the core elements of an RTOS is the rich Inter-Process Communication (IPC) API. In this fourth part, Bob will introduce the IPC available in FreeRTOS and compare it with Linux. One of the concepts that has had the greatest impact on my career as an embedded … Read more

Rust: The Next Generation Programming Language for Industrial Automation System Development

Rust: The Next Generation Programming Language for Industrial Automation System Development

The programming language Rust, known for its exceptional speed, safety, and performance, is gradually attracting more attention. Some companies have begun to leverage Rust to address critical and complex issues in the field of industrial automation. Image source: Rockwell Automation Industrial automation is a unique field with its own complexities and critical systems that maintain … Read more

Exploring the Path of Rust Programming: Learning Notes from Design Philosophy to Memory Safety

Exploring the Path of Rust Programming: Learning Notes from Design Philosophy to Memory Safety

Exploring the Path of Rust Programming: Learning Notes from Design Philosophy to Memory Safety In the programming world, Rust has rapidly risen to prominence as a new favorite for system-level programming due to its features of memory safety, zero-cost abstractions, and high performance. “The Rust Programming Path” is not just a technical book but a … Read more

Using Linux File Locking to Solve Multi-Process Concurrency Issues

Using Linux File Locking to Solve Multi-Process Concurrency Issues

Click on the above“Embedded and Linux Matters” Select“Pin/Star Public Account”Benefits and resources delivered promptly Hello everyone, I am the Information Guy~ As the project gradually comes to a close, I am summarizing some technical points of Linux application development. Since my project is a multi-process system, it involves issues of resource sharing among processes. The … Read more

Can Microcontrollers Truly Execute Multiple Tasks Simultaneously?

Can Microcontrollers Truly Execute Multiple Tasks Simultaneously?

Many students ask me: Why does my LED light blink while the serial port data reception gets stuck? I want to read data from two sensors simultaneously, why is it that one of them always reads incorrectly? Why can’t my program control the motor while sending data? The most classic question is: why can’t I … Read more

Practical Guide to Network Parameter Tuning in High-Concurrency Linux Scenarios

Practical Guide to Network Parameter Tuning in High-Concurrency Linux Scenarios

Practical Guide to Network Parameter Tuning in High-Concurrency Linux Scenarios Table of Contents • Practical Guide to Network Parameter Tuning in High-Concurrency Linux Scenarios • • Introduction • 1. Background: When Concurrent Connections Encounter Performance Bottlenecks • • 1.1 Case Environment • 1.2 Initial Parameter Analysis • 2. In-Depth Diagnosis: Connection Status and Kernel Parameters … Read more

File Locking and File Sharing Mechanisms in C Language

File Locking and File Sharing Mechanisms in C Language

In multi-process or multi-thread programming, file read and write operations may lead to data inconsistency. To avoid this situation, the C language provides a file locking mechanism to control access to the same file. This article will detail the file locking and file sharing mechanisms in C language and demonstrate them through code examples. Basic … Read more

Can the Maximum Number of TCP Connections in Linux Exceed 65535? How Do Servers Handle Millions of Concurrent Connections?

Can the Maximum Number of TCP Connections in Linux Exceed 65535? How Do Servers Handle Millions of Concurrent Connections?

Official ChatGPT 4.0 and Claude Pro available for stable after-sales service Author: Qianlang Langben Langliu Link: https://www.jianshu.com/p/f070212024a1 What is the maximum number of concurrent TCP connections? First, the 65535 connections mentioned in the question refer to the limit on the number of client connections. In TCP applications, the server listens on a fixed port, and … 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 King of Asynchronous HTTP Libraries! In modern web development, asynchronous programming is becoming the key to enhancing performance. Traditional synchronous HTTP requests are like waiting in line to buy breakfast, where everyone has to wait patiently. Httpx … Read more

Rust Programming: A Beginner’s Guide to High-Performance Development

Rust Programming: A Beginner's Guide to High-Performance Development

Rust Programming: A Beginner’s Guide to High-Performance Development Do you want to master a programming language that combines the performance of C++ with modern safety features? Rust is your ideal choice! As a “rising star” in the fields of system programming and high-performance development, Rust is not only adopted by major companies like Firefox and … Read more