You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example proxy program and echo servers some people posted are great but I think some people might not find their io_uring usage semantic to be directly applicable as we need to do some processing of data we received and send processed data back, instead of forwarding raw data around.
Obviously we would want to work on CQE buffers directly as we receive them (parsing data as we receive new CQE) and minimize copying temporary data if at all, but I was curious how people were coping with existing protocols etc.
Does anybody know of any good example that demonstrates multishot idioms? Something that demonstrates how to design state machines that deal with nondeterministic nature of how CQE buffers will arrive (in terms of numbers and how they will partition data).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The example proxy program and echo servers some people posted are great but I think some people might not find their io_uring usage semantic to be directly applicable as we need to do some processing of data we received and send processed data back, instead of forwarding raw data around.
Obviously we would want to work on CQE buffers directly as we receive them (parsing data as we receive new CQE) and minimize copying temporary data if at all, but I was curious how people were coping with existing protocols etc.
Does anybody know of any good example that demonstrates multishot idioms? Something that demonstrates how to design state machines that deal with nondeterministic nature of how CQE buffers will arrive (in terms of numbers and how they will partition data).
Beta Was this translation helpful? Give feedback.
All reactions