I am writing a p2p program in python, where the nodes will communicate with each other (blockchain). I decided to write on zeroMQ, but smart people told to write on websocket, since it will be easier for the client to communicate with the nodes through the site, plus developers will be easier to write applications for this blockchain. Can you tell?

  • The zeromq is a library (concurrency framework) that provides primitives that allow you to combine components into a [distributed] application over known templates. websocket is a protocol that is built-in [mostly] to browsers, allowing javascript code to communicate with the server. It’s like comparing a DIY set (with complex well-assembled blocks) and a description of a relatively low-level part used for a particular type of connection. - jfs
  • @jfs, thanks for explaining on fingers, now more or less clear. Is it correct for me to choose zeroMQ for communication between computers in a distributed system? - Yegor Lapitsky
  • i have no idea - jfs

0