You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • @Gordon, I was not talking about pushing data with http to a server... I was talking pushing data to a client. Clients are by definition pullers.

    Agreed, with Espruino, every client can also easily be (made) a server and thus receive data from any other client through that client's push / post - directly or indirectly.

    To use this pattern of every node in a network being client AND simultaneously server requires managed IPs for every node, makes every node more vulnerable, and requires all nodes to be server-type hardened.

    No matter what pattern is applied, there has to be some designated admin node(s), that knows about the topology (of connected) nodes. An upcoming node registers with this admin node(s), and from then on, talking to any other node goes through (one of) the admin node(s) by logical name to target node for simplification of communication. Admin node(s) also enable easily broadcasting to all or some nodes.

About

Avatar for allObjects @allObjects started