Previous | Next --- Slide 19 of 60
Back to Lecture Thumbnails
ananyak

It seems like in most cases we would want to use a blocking async send/recv. It's safe enough that we can modify the buffer after calling send/recv, but efficient in that it doesn't wait for an acknowledgement response.

Are there any specific examples where we'd want to use sync or non-blocking async send/recv?

Sync send/recv: I think this might be useful if we are in a large compute cluster where reliability is an issue, so we might need to resend data. Is this right?

Non-blocking async: I guess this is slightly faster than a blocking async, and might be useful if we are sending a buffer we won't modify.