What are some good alternatives to Whisper for blockchain messaging?












2















I have been experimenting with Ethereum and I achieved good results with Whisper in a private network. The main problem though is that it is pretty slow even when nodes are running in the same computer because messages take between 300-800ms to be received. What are some faster alternatives? My requirements are to be able to send small JSON messages as fast as possible.










share|improve this question



























    2















    I have been experimenting with Ethereum and I achieved good results with Whisper in a private network. The main problem though is that it is pretty slow even when nodes are running in the same computer because messages take between 300-800ms to be received. What are some faster alternatives? My requirements are to be able to send small JSON messages as fast as possible.










    share|improve this question

























      2












      2








      2








      I have been experimenting with Ethereum and I achieved good results with Whisper in a private network. The main problem though is that it is pretty slow even when nodes are running in the same computer because messages take between 300-800ms to be received. What are some faster alternatives? My requirements are to be able to send small JSON messages as fast as possible.










      share|improve this question














      I have been experimenting with Ethereum and I achieved good results with Whisper in a private network. The main problem though is that it is pretty slow even when nodes are running in the same computer because messages take between 300-800ms to be received. What are some faster alternatives? My requirements are to be able to send small JSON messages as fast as possible.







      go-ethereum whisper message






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 4 hours ago









      DavidDavid

      1116




      1116






















          2 Answers
          2






          active

          oldest

          votes


















          2














          Whisper



          First of all, Whisper is kind of a database to spread announcements to the Ethereum network - or more precisely, to all geth nodes who have enabled Whisper. By default, Whisper is hidden behind a flag.



          Whisper can be used to send messages. Sending messages will have the following properties:




          • Receiver anonymity: no one knows who the actual receiver is


          • No sender anonymity: a global passive adversary (e. g. your network service provider) can see the origin of the message


          • Uncertainty whether a message reached its destination. You can increase the probability by using a higher TTL value but this comes with the drawback that you need to equip the message with a significantly more difficult proof of work.


          The problem of Whisper is that each message is flooded through the network until its TTL is reached - even if it has reached the desired destination. And to prevent people from spamming the the network, Whisper nodes only accept messages with a certain proof-of-work which is closely related to the TTL value.



          In private networks, this is not a problem. But the bigger the network becomes, the worse it gets.



          Anonymous / Privacy preserving communication



          There's the anonymity trilemma which states that you can achieve only two out of the following properties:




          • Strong anonymity

          • Low latency

          • High throughput


          So when, you want to send "messages as fast as possible" you need to live without strong anonymity.



          Alternatives



          At the moment, there something like a Whisper 2.0 for point-to-point messaging under development. The project is called hopr. Its goal is to have:




          • provable anonymity / privacy preserving communication as it uses the SPHINX packet format

          • incentivations for the parties / nodes that relay messages

          • adaptable anonymity - the user can choose to some extend the degree of privacy / anonymity by sacrificing


            • latency or

            • low relay fees or

            • privacy guarantees




          A working group has been formed, including Status.im, Validity Labs and Web3 Foundation.






          share|improve this answer

































            0














            PSS (Postal Service over Swarm) has no benchmarks, but it sends a message only to a registered node, so I assume it to be faster.



            Disclaimer: I work with the Swarm team.






            share|improve this answer








            New contributor




            Adam Schmideg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.




















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "642"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fethereum.stackexchange.com%2fquestions%2f67464%2fwhat-are-some-good-alternatives-to-whisper-for-blockchain-messaging%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2














              Whisper



              First of all, Whisper is kind of a database to spread announcements to the Ethereum network - or more precisely, to all geth nodes who have enabled Whisper. By default, Whisper is hidden behind a flag.



              Whisper can be used to send messages. Sending messages will have the following properties:




              • Receiver anonymity: no one knows who the actual receiver is


              • No sender anonymity: a global passive adversary (e. g. your network service provider) can see the origin of the message


              • Uncertainty whether a message reached its destination. You can increase the probability by using a higher TTL value but this comes with the drawback that you need to equip the message with a significantly more difficult proof of work.


              The problem of Whisper is that each message is flooded through the network until its TTL is reached - even if it has reached the desired destination. And to prevent people from spamming the the network, Whisper nodes only accept messages with a certain proof-of-work which is closely related to the TTL value.



              In private networks, this is not a problem. But the bigger the network becomes, the worse it gets.



              Anonymous / Privacy preserving communication



              There's the anonymity trilemma which states that you can achieve only two out of the following properties:




              • Strong anonymity

              • Low latency

              • High throughput


              So when, you want to send "messages as fast as possible" you need to live without strong anonymity.



              Alternatives



              At the moment, there something like a Whisper 2.0 for point-to-point messaging under development. The project is called hopr. Its goal is to have:




              • provable anonymity / privacy preserving communication as it uses the SPHINX packet format

              • incentivations for the parties / nodes that relay messages

              • adaptable anonymity - the user can choose to some extend the degree of privacy / anonymity by sacrificing


                • latency or

                • low relay fees or

                • privacy guarantees




              A working group has been formed, including Status.im, Validity Labs and Web3 Foundation.






              share|improve this answer






























                2














                Whisper



                First of all, Whisper is kind of a database to spread announcements to the Ethereum network - or more precisely, to all geth nodes who have enabled Whisper. By default, Whisper is hidden behind a flag.



                Whisper can be used to send messages. Sending messages will have the following properties:




                • Receiver anonymity: no one knows who the actual receiver is


                • No sender anonymity: a global passive adversary (e. g. your network service provider) can see the origin of the message


                • Uncertainty whether a message reached its destination. You can increase the probability by using a higher TTL value but this comes with the drawback that you need to equip the message with a significantly more difficult proof of work.


                The problem of Whisper is that each message is flooded through the network until its TTL is reached - even if it has reached the desired destination. And to prevent people from spamming the the network, Whisper nodes only accept messages with a certain proof-of-work which is closely related to the TTL value.



                In private networks, this is not a problem. But the bigger the network becomes, the worse it gets.



                Anonymous / Privacy preserving communication



                There's the anonymity trilemma which states that you can achieve only two out of the following properties:




                • Strong anonymity

                • Low latency

                • High throughput


                So when, you want to send "messages as fast as possible" you need to live without strong anonymity.



                Alternatives



                At the moment, there something like a Whisper 2.0 for point-to-point messaging under development. The project is called hopr. Its goal is to have:




                • provable anonymity / privacy preserving communication as it uses the SPHINX packet format

                • incentivations for the parties / nodes that relay messages

                • adaptable anonymity - the user can choose to some extend the degree of privacy / anonymity by sacrificing


                  • latency or

                  • low relay fees or

                  • privacy guarantees




                A working group has been formed, including Status.im, Validity Labs and Web3 Foundation.






                share|improve this answer




























                  2












                  2








                  2







                  Whisper



                  First of all, Whisper is kind of a database to spread announcements to the Ethereum network - or more precisely, to all geth nodes who have enabled Whisper. By default, Whisper is hidden behind a flag.



                  Whisper can be used to send messages. Sending messages will have the following properties:




                  • Receiver anonymity: no one knows who the actual receiver is


                  • No sender anonymity: a global passive adversary (e. g. your network service provider) can see the origin of the message


                  • Uncertainty whether a message reached its destination. You can increase the probability by using a higher TTL value but this comes with the drawback that you need to equip the message with a significantly more difficult proof of work.


                  The problem of Whisper is that each message is flooded through the network until its TTL is reached - even if it has reached the desired destination. And to prevent people from spamming the the network, Whisper nodes only accept messages with a certain proof-of-work which is closely related to the TTL value.



                  In private networks, this is not a problem. But the bigger the network becomes, the worse it gets.



                  Anonymous / Privacy preserving communication



                  There's the anonymity trilemma which states that you can achieve only two out of the following properties:




                  • Strong anonymity

                  • Low latency

                  • High throughput


                  So when, you want to send "messages as fast as possible" you need to live without strong anonymity.



                  Alternatives



                  At the moment, there something like a Whisper 2.0 for point-to-point messaging under development. The project is called hopr. Its goal is to have:




                  • provable anonymity / privacy preserving communication as it uses the SPHINX packet format

                  • incentivations for the parties / nodes that relay messages

                  • adaptable anonymity - the user can choose to some extend the degree of privacy / anonymity by sacrificing


                    • latency or

                    • low relay fees or

                    • privacy guarantees




                  A working group has been formed, including Status.im, Validity Labs and Web3 Foundation.






                  share|improve this answer















                  Whisper



                  First of all, Whisper is kind of a database to spread announcements to the Ethereum network - or more precisely, to all geth nodes who have enabled Whisper. By default, Whisper is hidden behind a flag.



                  Whisper can be used to send messages. Sending messages will have the following properties:




                  • Receiver anonymity: no one knows who the actual receiver is


                  • No sender anonymity: a global passive adversary (e. g. your network service provider) can see the origin of the message


                  • Uncertainty whether a message reached its destination. You can increase the probability by using a higher TTL value but this comes with the drawback that you need to equip the message with a significantly more difficult proof of work.


                  The problem of Whisper is that each message is flooded through the network until its TTL is reached - even if it has reached the desired destination. And to prevent people from spamming the the network, Whisper nodes only accept messages with a certain proof-of-work which is closely related to the TTL value.



                  In private networks, this is not a problem. But the bigger the network becomes, the worse it gets.



                  Anonymous / Privacy preserving communication



                  There's the anonymity trilemma which states that you can achieve only two out of the following properties:




                  • Strong anonymity

                  • Low latency

                  • High throughput


                  So when, you want to send "messages as fast as possible" you need to live without strong anonymity.



                  Alternatives



                  At the moment, there something like a Whisper 2.0 for point-to-point messaging under development. The project is called hopr. Its goal is to have:




                  • provable anonymity / privacy preserving communication as it uses the SPHINX packet format

                  • incentivations for the parties / nodes that relay messages

                  • adaptable anonymity - the user can choose to some extend the degree of privacy / anonymity by sacrificing


                    • latency or

                    • low relay fees or

                    • privacy guarantees




                  A working group has been formed, including Status.im, Validity Labs and Web3 Foundation.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 18 mins ago

























                  answered 1 hour ago









                  Robert KielRobert Kiel

                  862




                  862























                      0














                      PSS (Postal Service over Swarm) has no benchmarks, but it sends a message only to a registered node, so I assume it to be faster.



                      Disclaimer: I work with the Swarm team.






                      share|improve this answer








                      New contributor




                      Adam Schmideg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.

























                        0














                        PSS (Postal Service over Swarm) has no benchmarks, but it sends a message only to a registered node, so I assume it to be faster.



                        Disclaimer: I work with the Swarm team.






                        share|improve this answer








                        New contributor




                        Adam Schmideg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.























                          0












                          0








                          0







                          PSS (Postal Service over Swarm) has no benchmarks, but it sends a message only to a registered node, so I assume it to be faster.



                          Disclaimer: I work with the Swarm team.






                          share|improve this answer








                          New contributor




                          Adam Schmideg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.










                          PSS (Postal Service over Swarm) has no benchmarks, but it sends a message only to a registered node, so I assume it to be faster.



                          Disclaimer: I work with the Swarm team.







                          share|improve this answer








                          New contributor




                          Adam Schmideg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          share|improve this answer



                          share|improve this answer






                          New contributor




                          Adam Schmideg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 1 hour ago









                          Adam SchmidegAdam Schmideg

                          101




                          101




                          New contributor




                          Adam Schmideg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          Adam Schmideg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          Adam Schmideg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ethereum Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fethereum.stackexchange.com%2fquestions%2f67464%2fwhat-are-some-good-alternatives-to-whisper-for-blockchain-messaging%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              what is the purpose of having a “thru cal” on RF PCB?

                              What does Gandalf whisper to the Moth on the Orthanc in Isengard?

                              magento2 creating a lot of catalogrule_product_temp tables