MalikHou commented on PR #3168:
URL: https://github.com/apache/brpc/pull/3168#issuecomment-3637177013

   > I believe you're trying to create a run-to-complete model. In a bRPC 
scenario, the easiest ways to implement this model seem to be:
   > 
   > 1. Using RDMA's polling mode
   > 2. Modifying TCP's epoll_wait to implement polling.
   >    Other methods, as I understand them, are event-triggered; io_uring can 
also achieve event triggering.
   > 
   > The network uses an event-triggered approach, while the storage uses a 
polling approach, which seems to mismatch the models.
   
   I disagree with the notion that asynchronous requests in storage during 
iouring require a one-loop (thread)-per-core concept. Because bthreads lack 
scheduler pause points, we can only simulate async operations across other 
threads, leading to greater overhead. essentially, we are trying to make 
bthread worker CPU resource utilization more efficient under async io


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to