inflearn logo

Linux System Programming in Practice: Vector I/O readv and writev

Through this lecture, you can systematically learn core concepts such as an overview of readv/writev, understanding struct iovec, utilizing readv, utilizing writev, and performance considerations.

1 learners are taking this course

Level Basic

Course period Unlimited

Linux
Linux
system-programming
system-programming
Linux
Linux
system-programming
system-programming

What you will gain after the course

  • Efficiency and performance optimization of I/O operations

  • Practical implementation skills for the "Scatter-Gather" programming pattern

This course is designed to help you perfectly master Vectorized I/O, the essence of low-level Linux input/output.

First, you will understand the principle of reducing the number of system calls through the basic concepts of readv and writev, and take an in-depth look at the design of the core data structure, struct iovec. Based on this, you will gain practical experience in using readv to read data into multiple buffers and writev to save scattered data all at once.

Beyond simple usage, you can grow into a high-performance systems expert by systematically learning considerations for practical performance optimization, such as reducing memory copy costs and ensuring atomicity.

Recommended for
these people

Who is this course right for?

  • High-performance Network Server and Middleware Developer

  • High-Availability Log System and File Data Processing Engineer

Need to know before starting?

  • Ability to utilize pointers and structures in C language

  • Basic Linux File I/O (Low-level I/O) Concepts

Hello
This is iamjy10050932

I am an office worker with 15 years of experience in embedded Linux system design and development.

Reviews

Not enough reviews.
Please write a valuable review that helps everyone!

iamjy10050932's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!

Limited time deal

$3.30

25%

$4.40