Zhanhui Li created ROCKETMQ-317:
-----------------------------------
Summary: Make full use of Linux native libaio
Key: ROCKETMQ-317
URL: https://issues.apache.org/jira/browse/ROCKETMQ-317
Project: Apache RocketMQ
Issue Type: Improvement
Reporter: Zhanhui Li
Assignee: vongosling
libaio is a library, developed as part of the Linux kernel project. With
libaio, writes are submitted to the operating system where they are processed
asynchronously. When the writes have been processed, the operating system calls
the code back.
When messages being pulled were reclaimed out of main memory, making use of
Linux native AIO system calls still allows zero-copy without blocking netty IO
threads.
https://activemq.apache.org/artemis/docs/latest/libaio.html
https://www.ibm.com/developerworks/library/l-async/
https://access.redhat.com/documentation/en-us/jboss_enterprise_application_platform/5/html/hornetq_user_guide/libaio
https://stackoverflow.com/questions/8768083/difference-between-posix-aio-and-libaio-on-linux
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)