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


      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 Feb 22 at 8:12









      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
























            • That's interesting. Is there any fee to use PSS?

              – David
              Feb 22 at 14:49











            • Not at the moment. We're working on introducing an incentivisation model.

              – Adam Schmideg
              Feb 22 at 15:10











            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 Feb 22 at 12:13

























                answered Feb 22 at 10:34









                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
























                    • That's interesting. Is there any fee to use PSS?

                      – David
                      Feb 22 at 14:49











                    • Not at the moment. We're working on introducing an incentivisation model.

                      – Adam Schmideg
                      Feb 22 at 15:10
















                    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
























                    • That's interesting. Is there any fee to use PSS?

                      – David
                      Feb 22 at 14:49











                    • Not at the moment. We're working on introducing an incentivisation model.

                      – Adam Schmideg
                      Feb 22 at 15:10














                    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













                    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












                    share|improve this answer



                    share|improve this answer










                    answered Feb 22 at 10:36









                    Adam SchmidegAdam Schmideg

                    101




                    101













                    • That's interesting. Is there any fee to use PSS?

                      – David
                      Feb 22 at 14:49











                    • Not at the moment. We're working on introducing an incentivisation model.

                      – Adam Schmideg
                      Feb 22 at 15:10



















                    • That's interesting. Is there any fee to use PSS?

                      – David
                      Feb 22 at 14:49











                    • Not at the moment. We're working on introducing an incentivisation model.

                      – Adam Schmideg
                      Feb 22 at 15:10

















                    That's interesting. Is there any fee to use PSS?

                    – David
                    Feb 22 at 14:49





                    That's interesting. Is there any fee to use PSS?

                    – David
                    Feb 22 at 14:49













                    Not at the moment. We're working on introducing an incentivisation model.

                    – Adam Schmideg
                    Feb 22 at 15:10





                    Not at the moment. We're working on introducing an incentivisation model.

                    – Adam Schmideg
                    Feb 22 at 15:10


















                    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

                    Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                    ComboBox Display Member on multiple fields

                    Is it possible to collect Nectar points via Trainline?