Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This is a pretty broad question and its treatment likely requires a fairly dense book. </p> <p>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:</p> <p>connection modality: { connection-based, connection-less}</p> <p>interaction modality: { synchronous, asynchronous }</p> <p>conversation complexity: { command-response, dialog}</p> <p>message form: { freeform-stream, semi-structured block, fully-structured block } ..?</p> <p>A good place to start is to take the TCP/IP family of protocols, map them to the above space, and take a look at the implementation(s) of one or more specimens that occupy a unique position in the above protocol-characteristics pattern space. Source code of your favorite *nix os would be a good place to look.</p> <p>Parser implementations would probably fall into two broad categories: {command-switched processing, finite-state-machine}. </p> <p>The former is (obviously) the simpler of the two and likely the initial implementation (unless you've done this sort of thing before). </p> <p>The latter is (likely) more robust, efficient (in terms of loc), and would allow for adopting changes to a protocol (if it is still subject to design change).</p> <p>(The underlying (virtual) OS networking facilities (of course) also greatly influence the implementation. Take JVM, for example: NIO selection based channel processing would work quite nicely with a FSM.) </p> <p>Hope that helps.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload