PDZ
PDZ

Reputation: 11

What is the essential difference between event library (libevent/libuv/...) and async I/O (libaio, liburing)?

For high-performance I/O, some techniques are often used:

It seems that all of them can achieve high performance, and libevent/libev/libuv is probabily to be better than poll/select/epoll/kqueue in terms of ease of use and cross-platform. But both libevent/libev/libuv and libaio/libeio/liburing seem to be excellent and seem to be interchangeable.

What is the essential difference between event library and async I/O? Which one is better to use in which situation?

Thanks.

Upvotes: 1

Views: 1424

Answers (1)

Mascarpone
Mascarpone

Reputation: 2556

Check my other answer: io_uring in multithreaded process

io_uring is the only one who can do real async io without a threadpool.

Upvotes: 0

Related Questions