Difference between message-oriented protocols versus stream-oriented protocols [closed]

Message Oriented protocols send data in distinct chunks or groups. The receiver of data can determine where one message ends and another begins. Stream protocols send a continuous flow of data. Here is an example with mobile phones. Text messages would be a message oriented protocol as each text message is distinct from the other … Read more

ZeroMQ + Protocol Buffers

If you are 100% certain that the programs that are going to communicate over ZMQ will at all times be capable of understanding each other’s binary format (eg because they are always distributed together and were all compiled with the same compiler options anyways) I see no benefit to the overhead that’s added by serialization. … Read more

Network Communication Design Patterns [closed]

This is a pretty broad question and its treatment likely requires a fairly dense book. I don’t know of any such resource myself, but lets think this through and consider what would be the dimensions of a network communication pattern space: connection modality: { connection-based, connection-less} interaction modality: { synchronous, asynchronous } conversation complexity: { … Read more

Is SMTP based on TCP or UDP?

In theory SMTP can be handled by either TCP, UDP, or some 3rd party protocol. As defined in RFC 821, RFC 2821, and RFC 5321: SMTP is independent of the particular transmission subsystem and requires only a reliable ordered data stream channel. In addition, the Internet Assigned Numbers Authority has allocated port 25 for both … Read more

tech