What is the difference between a pipe and message queue?
Queue is for fixed length communication where as pipes are varaible lenght. Queue is for fixed length communication where as pipes are varaible lenght.
SHM:it's an area of storage that can be read and written by more than one process. MSGQ:A message queue is like a pipe,by using more comprehensive mechanism we can read message from both end. SHM:It provides no inherent synchronization MSGQ:It provides inherent synchronization,So the writer can never fail after writing only a partial message, and the reader will either retrieve a complete message or nothing at all. SHM:possiblity of occuring race condition. MSGQ: No race…
The difference between Carbon Steel Pipe and Seamless Pipe is Carbon Steel Pipe is made up of Carbon Steel i.e an Iron-Carbon Alloy having Carbon Content ranging from 0.12 to 2%. On the other hand, a Seamless pipe is a pipe that is having no joins in it's full length and the full length is made up of a single cast.